LoginViewController.xib 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16096" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16086"/>
  7. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  8. </dependencies>
  9. <objects>
  10. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="LoginViewController">
  11. <connections>
  12. <outlet property="phoneBtn" destination="Rbt-vH-rh6" id="NJM-Rx-Raa"/>
  13. <outlet property="qqBtn" destination="ops-ab-UBh" id="kXA-91-KdH"/>
  14. <outlet property="view" destination="aLf-6Z-KJc" id="Od5-Xa-gEy"/>
  15. <outlet property="vistorLoginBtn" destination="spN-g9-sbB" id="xEk-Pk-0aW"/>
  16. <outlet property="wechatBtn" destination="DiQ-Fi-fYb" id="vXa-ET-ckO"/>
  17. <outlet property="weiboBtn" destination="K2t-xr-DfG" id="gZ0-Gd-WC8"/>
  18. </connections>
  19. </placeholder>
  20. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  21. <view contentMode="scaleToFill" id="aLf-6Z-KJc">
  22. <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  23. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  24. <subviews>
  25. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="lg_bg" translatesAutoresizingMaskIntoConstraints="NO" id="DeW-4j-itx">
  26. <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  27. </imageView>
  28. <label hidden="YES" opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="登录即代表你同意" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2xz-va-zbu">
  29. <rect key="frame" x="106" y="632" width="99" height="15"/>
  30. <constraints>
  31. <constraint firstAttribute="height" constant="15" id="426-rT-8H1"/>
  32. </constraints>
  33. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  34. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  35. <nil key="highlightedColor"/>
  36. </label>
  37. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Rbt-vH-rh6">
  38. <rect key="frame" x="40" y="379" width="295" height="41"/>
  39. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  40. <inset key="imageEdgeInsets" minX="-10" minY="0.0" maxX="0.0" maxY="0.0"/>
  41. <state key="normal" title="手机登录" image="lg_btn_phone" backgroundImage="lg_btn_back"/>
  42. <connections>
  43. <action selector="phoneLoginBtnAction:" destination="-1" eventType="touchUpInside" id="sYd-fY-xBe"/>
  44. </connections>
  45. </button>
  46. <button hidden="YES" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ops-ab-UBh">
  47. <rect key="frame" x="196" y="508" width="18" height="22"/>
  48. <state key="normal" image="lg_btn_qq"/>
  49. <connections>
  50. <action selector="qqLoginBtnAction:" destination="-1" eventType="touchUpInside" id="KBJ-Qo-JAc"/>
  51. </connections>
  52. </button>
  53. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="vGa-so-0Og">
  54. <rect key="frame" x="203" y="626" width="99" height="27"/>
  55. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  56. <state key="normal" title="《用户隐私政策》">
  57. <color key="titleColor" red="0.9940226674079895" green="0.76274317502975464" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  58. </state>
  59. </button>
  60. <button hidden="YES" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="spN-g9-sbB">
  61. <rect key="frame" x="160.5" y="574" width="54" height="28"/>
  62. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  63. <state key="normal" title="游客登录">
  64. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  65. </state>
  66. <connections>
  67. <action selector="visitorLoginBtnAction:" destination="-1" eventType="touchUpInside" id="uEW-Mh-4uw"/>
  68. <action selector="vistorLoginBtnAction:" destination="-1" eventType="touchUpInside" id="kna-Ed-z7y"/>
  69. </connections>
  70. </button>
  71. <label hidden="YES" opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="其他方式" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Wz1-ll-Ueo">
  72. <rect key="frame" x="126" y="511" width="54" height="16"/>
  73. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  74. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  75. <nil key="highlightedColor"/>
  76. </label>
  77. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="DiQ-Fi-fYb">
  78. <rect key="frame" x="40" y="440" width="295" height="41"/>
  79. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  80. <inset key="imageEdgeInsets" minX="-10" minY="0.0" maxX="0.0" maxY="0.0"/>
  81. <state key="normal" title="微信登录" image="lg_btn_wechat" backgroundImage="lg_btn_white_back">
  82. <color key="titleColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  83. </state>
  84. <connections>
  85. <action selector="wechatLoginBtnAction:" destination="-1" eventType="touchUpInside" id="d9g-hv-tYu"/>
  86. </connections>
  87. </button>
  88. <button hidden="YES" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="cby-vb-7HU">
  89. <rect key="frame" x="203" y="626" width="99" height="27"/>
  90. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  91. <state key="normal" title="《用户隐私政策》">
  92. <color key="titleColor" red="0.9940226674079895" green="0.76274317502975464" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  93. </state>
  94. <connections>
  95. <action selector="agreementBtnAction:" destination="-1" eventType="touchUpInside" id="TGn-CF-5Yd"/>
  96. </connections>
  97. </button>
  98. <button hidden="YES" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="K2t-xr-DfG">
  99. <rect key="frame" x="236" y="508" width="21" height="22"/>
  100. <state key="normal" image="lg_btn_weibo"/>
  101. <connections>
  102. <action selector="weiboLoginBtnAction:" destination="-1" eventType="touchUpInside" id="BEA-u7-l1S"/>
  103. </connections>
  104. </button>
  105. </subviews>
  106. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  107. <constraints>
  108. <constraint firstItem="K2t-xr-DfG" firstAttribute="centerY" secondItem="ops-ab-UBh" secondAttribute="centerY" id="7US-Sf-qcF"/>
  109. <constraint firstItem="cby-vb-7HU" firstAttribute="bottom" secondItem="vGa-so-0Og" secondAttribute="bottom" id="9WX-Xn-dlb"/>
  110. <constraint firstItem="ops-ab-UBh" firstAttribute="leading" secondItem="Wz1-ll-Ueo" secondAttribute="trailing" constant="16" id="9t1-cV-9L6"/>
  111. <constraint firstItem="cby-vb-7HU" firstAttribute="centerY" secondItem="2xz-va-zbu" secondAttribute="centerY" id="CSK-Xk-wOj"/>
  112. <constraint firstItem="Wz1-ll-Ueo" firstAttribute="top" secondItem="DiQ-Fi-fYb" secondAttribute="bottom" constant="30" id="DXN-rA-R40"/>
  113. <constraint firstAttribute="trailing" secondItem="Rbt-vH-rh6" secondAttribute="trailing" constant="40" id="GW2-VE-2Mt"/>
  114. <constraint firstItem="2xz-va-zbu" firstAttribute="baseline" secondItem="cby-vb-7HU" secondAttribute="baseline" id="LtN-j7-mlj"/>
  115. <constraint firstItem="cby-vb-7HU" firstAttribute="top" secondItem="vGa-so-0Og" secondAttribute="top" id="M3x-BC-weP"/>
  116. <constraint firstItem="2xz-va-zbu" firstAttribute="baseline" secondItem="cby-vb-7HU" secondAttribute="firstBaseline" id="MZe-mu-6bL"/>
  117. <constraint firstItem="DeW-4j-itx" firstAttribute="top" secondItem="aLf-6Z-KJc" secondAttribute="top" id="Nqe-6M-WxA"/>
  118. <constraint firstAttribute="trailing" secondItem="DeW-4j-itx" secondAttribute="trailing" id="PSx-jO-zL4"/>
  119. <constraint firstItem="cby-vb-7HU" firstAttribute="baseline" secondItem="vGa-so-0Og" secondAttribute="firstBaseline" id="Pfg-FR-gTW"/>
  120. <constraint firstItem="cby-vb-7HU" firstAttribute="leading" secondItem="2xz-va-zbu" secondAttribute="trailing" constant="-2" id="Qbn-bl-w6v"/>
  121. <constraint firstItem="2xz-va-zbu" firstAttribute="leading" secondItem="aLf-6Z-KJc" secondAttribute="leadingMargin" constant="90" id="W7W-i0-v02"/>
  122. <constraint firstItem="Rbt-vH-rh6" firstAttribute="leading" secondItem="aLf-6Z-KJc" secondAttribute="leading" constant="40" id="YuA-Gk-EIl"/>
  123. <constraint firstItem="Rbt-vH-rh6" firstAttribute="centerX" secondItem="aLf-6Z-KJc" secondAttribute="centerX" id="ZPA-aO-dYl"/>
  124. <constraint firstItem="DeW-4j-itx" firstAttribute="leading" secondItem="Wz1-ll-Ueo" secondAttribute="trailing" constant="-180" id="Zcr-tg-S39"/>
  125. <constraint firstItem="DiQ-Fi-fYb" firstAttribute="leading" secondItem="aLf-6Z-KJc" secondAttribute="leading" constant="40" id="aAa-KE-ecI"/>
  126. <constraint firstAttribute="bottom" secondItem="DeW-4j-itx" secondAttribute="bottom" id="dtr-w0-Bb7"/>
  127. <constraint firstItem="K2t-xr-DfG" firstAttribute="leading" secondItem="ops-ab-UBh" secondAttribute="trailing" constant="22" id="eDG-40-ELp"/>
  128. <constraint firstItem="cby-vb-7HU" firstAttribute="leading" secondItem="vGa-so-0Og" secondAttribute="leading" id="f0E-2O-Lk4"/>
  129. <constraint firstAttribute="trailing" secondItem="DiQ-Fi-fYb" secondAttribute="trailing" constant="40" id="hoZ-dq-Tj2"/>
  130. <constraint firstItem="ops-ab-UBh" firstAttribute="centerY" secondItem="Wz1-ll-Ueo" secondAttribute="centerY" id="kgI-g4-Yky"/>
  131. <constraint firstItem="spN-g9-sbB" firstAttribute="centerX" secondItem="aLf-6Z-KJc" secondAttribute="centerX" id="lMH-HP-8wd"/>
  132. <constraint firstItem="cby-vb-7HU" firstAttribute="baseline" secondItem="vGa-so-0Og" secondAttribute="baseline" id="p8T-2h-W2i"/>
  133. <constraint firstItem="DeW-4j-itx" firstAttribute="leading" secondItem="aLf-6Z-KJc" secondAttribute="leading" id="qEO-fZ-k2a"/>
  134. <constraint firstItem="spN-g9-sbB" firstAttribute="top" secondItem="ops-ab-UBh" secondAttribute="bottom" constant="44" id="qKG-lv-N7Z"/>
  135. <constraint firstItem="DiQ-Fi-fYb" firstAttribute="top" secondItem="Rbt-vH-rh6" secondAttribute="bottom" constant="20" id="sxC-GM-2B5"/>
  136. <constraint firstItem="2xz-va-zbu" firstAttribute="bottom" secondItem="DeW-4j-itx" secondAttribute="bottom" constant="-20" id="tUg-HW-HH3"/>
  137. <constraint firstItem="2xz-va-zbu" firstAttribute="top" secondItem="spN-g9-sbB" secondAttribute="bottom" constant="30" id="usM-47-6YR"/>
  138. </constraints>
  139. <point key="canvasLocation" x="-166" y="97"/>
  140. </view>
  141. </objects>
  142. <resources>
  143. <image name="lg_bg" width="375" height="667"/>
  144. <image name="lg_btn_back" width="320" height="41"/>
  145. <image name="lg_btn_phone" width="14" height="22"/>
  146. <image name="lg_btn_qq" width="18" height="20"/>
  147. <image name="lg_btn_wechat" width="21" height="18"/>
  148. <image name="lg_btn_weibo" width="21.5" height="18.5"/>
  149. <image name="lg_btn_white_back" width="320" height="41"/>
  150. </resources>
  151. </document>