IHLoginView.xib 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina6_1" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/>
  7. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  8. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  9. </dependencies>
  10. <customFonts key="customFonts">
  11. <array key="Alibaba-PuHuiTi-Heavy.otf">
  12. <string>AlibabaPuHuiTiH</string>
  13. </array>
  14. <array key="Alibaba-PuHuiTi-Medium.otf">
  15. <string>AlibabaPuHuiTiM</string>
  16. </array>
  17. <array key="Alibaba-PuHuiTi-Regular.otf">
  18. <string>AlibabaPuHuiTiR</string>
  19. </array>
  20. </customFonts>
  21. <objects>
  22. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  23. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  24. <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="IHLoginView" customModule="智能照明" customModuleProvider="target">
  25. <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
  26. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  27. <subviews>
  28. <imageView hidden="YES" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="logo1" translatesAutoresizingMaskIntoConstraints="NO" id="2ro-WH-QJR">
  29. <rect key="frame" x="30" y="122" width="129" height="15"/>
  30. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  31. <constraints>
  32. <constraint firstAttribute="height" constant="15" id="b19-Cn-aSW"/>
  33. <constraint firstAttribute="width" constant="129" id="uZM-tA-ouK"/>
  34. </constraints>
  35. </imageView>
  36. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="欢迎登陆" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2Y1-nb-YgO">
  37. <rect key="frame" x="30" y="215" width="119" height="41.5"/>
  38. <fontDescription key="fontDescription" name="AlibabaPuHuiTiH" family="Alibaba PuHuiTi" pointSize="30"/>
  39. <nil key="textColor"/>
  40. <nil key="highlightedColor"/>
  41. </label>
  42. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="祝您今日也拥有美好的一天!" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="adL-4T-aGV">
  43. <rect key="frame" x="30" y="261.5" width="207" height="23.5"/>
  44. <fontDescription key="fontDescription" name="AlibabaPuHuiTiM" family="Alibaba PuHuiTi" pointSize="17"/>
  45. <nil key="textColor"/>
  46. <nil key="highlightedColor"/>
  47. </label>
  48. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="B75-Of-3NB">
  49. <rect key="frame" x="20" y="353" width="374" height="60"/>
  50. <subviews>
  51. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="用户名" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ltt-uT-6FH">
  52. <rect key="frame" x="15" y="10" width="36" height="17"/>
  53. <fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="12"/>
  54. <color key="textColor" red="0.396078431372549" green="0.4392156862745098" blue="0.52156862745098043" alpha="1" colorSpace="calibratedRGB"/>
  55. <nil key="highlightedColor"/>
  56. </label>
  57. <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="请输入您的用户名" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="Ji8-dq-72I">
  58. <rect key="frame" x="15" y="32" width="344" height="23"/>
  59. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  60. <textInputTraits key="textInputTraits"/>
  61. </textField>
  62. </subviews>
  63. <color key="backgroundColor" red="0.96470588235294119" green="0.97254901960784312" blue="0.96862745098039216" alpha="1" colorSpace="calibratedRGB"/>
  64. <constraints>
  65. <constraint firstItem="Ji8-dq-72I" firstAttribute="leading" secondItem="B75-Of-3NB" secondAttribute="leading" constant="15" id="Mgp-Mz-CLo"/>
  66. <constraint firstAttribute="height" constant="60" id="Rpa-u8-lPC"/>
  67. <constraint firstAttribute="bottom" secondItem="Ji8-dq-72I" secondAttribute="bottom" constant="5" id="YkT-qL-5y0"/>
  68. <constraint firstAttribute="trailing" secondItem="Ji8-dq-72I" secondAttribute="trailing" constant="15" id="enx-3a-yy5"/>
  69. <constraint firstItem="ltt-uT-6FH" firstAttribute="top" secondItem="B75-Of-3NB" secondAttribute="top" constant="10" id="kFI-nU-JIT"/>
  70. <constraint firstItem="Ji8-dq-72I" firstAttribute="top" secondItem="ltt-uT-6FH" secondAttribute="bottom" constant="5" id="n1p-t5-Nz9"/>
  71. <constraint firstItem="ltt-uT-6FH" firstAttribute="leading" secondItem="B75-Of-3NB" secondAttribute="leading" constant="15" id="z4G-W4-DGL"/>
  72. </constraints>
  73. <userDefinedRuntimeAttributes>
  74. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  75. <real key="value" value="5"/>
  76. </userDefinedRuntimeAttribute>
  77. </userDefinedRuntimeAttributes>
  78. </view>
  79. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="qCC-fI-y8w">
  80. <rect key="frame" x="20" y="438" width="374" height="60"/>
  81. <subviews>
  82. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="密码" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="LnZ-uh-xyg">
  83. <rect key="frame" x="15" y="10" width="24" height="17"/>
  84. <fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="12"/>
  85. <color key="textColor" red="0.396078431372549" green="0.4392156862745098" blue="0.52156862745098043" alpha="1" colorSpace="calibratedRGB"/>
  86. <nil key="highlightedColor"/>
  87. </label>
  88. <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="请输入正确的密码" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="6N5-Mq-EfP">
  89. <rect key="frame" x="15" y="32" width="344" height="23"/>
  90. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  91. <textInputTraits key="textInputTraits" secureTextEntry="YES"/>
  92. </textField>
  93. </subviews>
  94. <color key="backgroundColor" red="0.96470588235294119" green="0.97254901960784312" blue="0.96862745098039216" alpha="1" colorSpace="calibratedRGB"/>
  95. <constraints>
  96. <constraint firstItem="LnZ-uh-xyg" firstAttribute="top" secondItem="qCC-fI-y8w" secondAttribute="top" constant="10" id="AAn-hp-chj"/>
  97. <constraint firstItem="6N5-Mq-EfP" firstAttribute="leading" secondItem="qCC-fI-y8w" secondAttribute="leading" constant="15" id="aga-ad-Ifa"/>
  98. <constraint firstAttribute="height" constant="60" id="chs-nT-e8l"/>
  99. <constraint firstItem="LnZ-uh-xyg" firstAttribute="leading" secondItem="qCC-fI-y8w" secondAttribute="leading" constant="15" id="est-Lu-wRS"/>
  100. <constraint firstAttribute="bottom" secondItem="6N5-Mq-EfP" secondAttribute="bottom" constant="5" id="fag-aG-MAC"/>
  101. <constraint firstItem="6N5-Mq-EfP" firstAttribute="top" secondItem="LnZ-uh-xyg" secondAttribute="bottom" constant="5" id="g84-ad-bMg"/>
  102. <constraint firstAttribute="trailing" secondItem="6N5-Mq-EfP" secondAttribute="trailing" constant="15" id="lUh-RJ-onh"/>
  103. </constraints>
  104. <userDefinedRuntimeAttributes>
  105. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  106. <real key="value" value="5"/>
  107. </userDefinedRuntimeAttribute>
  108. </userDefinedRuntimeAttributes>
  109. </view>
  110. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="CIx-8i-k7I">
  111. <rect key="frame" x="20" y="553" width="374" height="40"/>
  112. <color key="backgroundColor" red="0.3411764705882353" green="0.24705882352941178" blue="0.58431372549019611" alpha="1" colorSpace="calibratedRGB"/>
  113. <constraints>
  114. <constraint firstAttribute="height" constant="40" id="Lv7-mJ-C11"/>
  115. </constraints>
  116. <fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="14"/>
  117. <state key="normal" title="登录"/>
  118. <userDefinedRuntimeAttributes>
  119. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  120. <real key="value" value="5"/>
  121. </userDefinedRuntimeAttribute>
  122. </userDefinedRuntimeAttributes>
  123. <connections>
  124. <action selector="signInAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="EhP-E2-lML"/>
  125. </connections>
  126. </button>
  127. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="9Dh-HF-KjG">
  128. <rect key="frame" x="309" y="60" width="80" height="22"/>
  129. <constraints>
  130. <constraint firstAttribute="height" constant="22" id="do1-pJ-H2X"/>
  131. <constraint firstAttribute="width" constant="80" id="vEM-TW-IUs"/>
  132. </constraints>
  133. <fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="16"/>
  134. <inset key="titleEdgeInsets" minX="-30" minY="0.0" maxX="0.0" maxY="0.0"/>
  135. <inset key="imageEdgeInsets" minX="60" minY="0.0" maxX="0.0" maxY="0.0"/>
  136. <state key="normal" title="注 册" image="箭头">
  137. <color key="titleColor" red="0.3411764705882353" green="0.24705882352941178" blue="0.58431372549019611" alpha="1" colorSpace="calibratedRGB"/>
  138. </state>
  139. <connections>
  140. <action selector="signUpAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="j56-DP-9xL"/>
  141. </connections>
  142. </button>
  143. <button hidden="YES" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Hmq-Fl-fxJ">
  144. <rect key="frame" x="334" y="596" width="60" height="29"/>
  145. <fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="12"/>
  146. <state key="normal" title="我是管理员">
  147. <color key="titleColor" red="0.3411764706" green="0.2470588235" blue="0.58431372550000005" alpha="1" colorSpace="calibratedRGB"/>
  148. </state>
  149. <state key="selected" title="I Am Hotel Guests"/>
  150. <connections>
  151. <action selector="authoritySelected:" destination="iN0-l3-epB" eventType="touchUpInside" id="QAO-hk-Vob"/>
  152. </connections>
  153. </button>
  154. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="IMw-do-PGK">
  155. <rect key="frame" x="43" y="596" width="154" height="29"/>
  156. <fontDescription key="fontDescription" name="AlibabaPuHuiTiR" family="Alibaba PuHuiTi" pointSize="12"/>
  157. <state key="normal" title="阅读并同意《用户隐私协议》">
  158. <color key="titleColor" red="0.396078431372549" green="0.4392156862745098" blue="0.52156862745098043" alpha="1" colorSpace="calibratedRGB"/>
  159. </state>
  160. <connections>
  161. <action selector="privacyPolicyAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="LNm-Y2-W8C"/>
  162. </connections>
  163. </button>
  164. <button opaque="NO" contentMode="scaleToFill" selected="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="tCw-Fm-9eb">
  165. <rect key="frame" x="20" y="603" width="15" height="15"/>
  166. <constraints>
  167. <constraint firstAttribute="height" constant="15" id="f8g-tP-cjt"/>
  168. <constraint firstAttribute="width" constant="15" id="yac-hZ-DcI"/>
  169. </constraints>
  170. <state key="normal" image="隐私未选中"/>
  171. <state key="selected" image="选中"/>
  172. <connections>
  173. <action selector="privacySelected:" destination="iN0-l3-epB" eventType="touchUpInside" id="fXQ-qZ-cyR"/>
  174. </connections>
  175. </button>
  176. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Oi1-tZ-DeN">
  177. <rect key="frame" x="20" y="824" width="374" height="30"/>
  178. <constraints>
  179. <constraint firstAttribute="height" constant="30" id="SGd-eM-cMT"/>
  180. </constraints>
  181. <state key="normal" title="快速安装"/>
  182. <connections>
  183. <action selector="installBtn:" destination="iN0-l3-epB" eventType="touchUpInside" id="Ejr-qv-Vzu"/>
  184. </connections>
  185. </button>
  186. </subviews>
  187. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  188. <constraints>
  189. <constraint firstItem="2Y1-nb-YgO" firstAttribute="top" secondItem="2ro-WH-QJR" secondAttribute="bottom" constant="78" id="46g-dI-3om"/>
  190. <constraint firstItem="IMw-do-PGK" firstAttribute="centerY" secondItem="tCw-Fm-9eb" secondAttribute="centerY" id="6Mk-ay-E0A"/>
  191. <constraint firstItem="vUN-kp-3ea" firstAttribute="trailing" secondItem="Hmq-Fl-fxJ" secondAttribute="trailing" constant="20" id="BaH-js-S8n"/>
  192. <constraint firstItem="Hmq-Fl-fxJ" firstAttribute="centerY" secondItem="tCw-Fm-9eb" secondAttribute="centerY" id="GWm-nu-b3K"/>
  193. <constraint firstItem="vUN-kp-3ea" firstAttribute="trailing" secondItem="B75-Of-3NB" secondAttribute="trailing" constant="20" id="HoB-FE-a3H"/>
  194. <constraint firstItem="vUN-kp-3ea" firstAttribute="trailing" secondItem="Oi1-tZ-DeN" secondAttribute="trailing" constant="20" id="Hsl-1e-8KD"/>
  195. <constraint firstItem="qCC-fI-y8w" firstAttribute="leading" secondItem="vUN-kp-3ea" secondAttribute="leading" constant="20" id="JUd-Mt-I5q"/>
  196. <constraint firstItem="B75-Of-3NB" firstAttribute="leading" secondItem="vUN-kp-3ea" secondAttribute="leading" constant="20" id="MzU-tK-cDg"/>
  197. <constraint firstItem="9Dh-HF-KjG" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="60" id="OCg-HV-MWf"/>
  198. <constraint firstItem="adL-4T-aGV" firstAttribute="top" secondItem="2Y1-nb-YgO" secondAttribute="bottom" constant="5" id="Qk7-P3-ky4"/>
  199. <constraint firstItem="Oi1-tZ-DeN" firstAttribute="leading" secondItem="vUN-kp-3ea" secondAttribute="leading" constant="20" id="Qoh-3C-Yrc"/>
  200. <constraint firstItem="B75-Of-3NB" firstAttribute="top" secondItem="adL-4T-aGV" secondAttribute="bottom" constant="68" id="S5u-5J-JMI"/>
  201. <constraint firstAttribute="trailing" secondItem="9Dh-HF-KjG" secondAttribute="trailing" constant="25" id="SH2-a2-fBN"/>
  202. <constraint firstItem="adL-4T-aGV" firstAttribute="leading" secondItem="vUN-kp-3ea" secondAttribute="leading" constant="30" id="UTD-kp-ZJB"/>
  203. <constraint firstItem="tCw-Fm-9eb" firstAttribute="top" secondItem="CIx-8i-k7I" secondAttribute="bottom" constant="10" id="Vzs-Ew-Weu"/>
  204. <constraint firstItem="vUN-kp-3ea" firstAttribute="bottom" secondItem="Oi1-tZ-DeN" secondAttribute="bottom" constant="8" id="XDT-PA-7Ih"/>
  205. <constraint firstItem="2Y1-nb-YgO" firstAttribute="leading" secondItem="vUN-kp-3ea" secondAttribute="leading" constant="30" id="Xxk-hR-VRN"/>
  206. <constraint firstItem="IMw-do-PGK" firstAttribute="leading" secondItem="tCw-Fm-9eb" secondAttribute="trailing" constant="8" id="bDI-un-xxG"/>
  207. <constraint firstItem="tCw-Fm-9eb" firstAttribute="leading" secondItem="vUN-kp-3ea" secondAttribute="leading" constant="20" id="f5s-HS-cAU"/>
  208. <constraint firstItem="vUN-kp-3ea" firstAttribute="trailing" secondItem="CIx-8i-k7I" secondAttribute="trailing" constant="20" id="gE2-iP-Hgl"/>
  209. <constraint firstItem="CIx-8i-k7I" firstAttribute="top" secondItem="qCC-fI-y8w" secondAttribute="bottom" constant="55" id="ibt-M2-oVs"/>
  210. <constraint firstItem="vUN-kp-3ea" firstAttribute="trailing" secondItem="qCC-fI-y8w" secondAttribute="trailing" constant="20" id="lwL-Kl-OB4"/>
  211. <constraint firstItem="qCC-fI-y8w" firstAttribute="top" secondItem="B75-Of-3NB" secondAttribute="bottom" constant="25" id="nDT-4W-r4L"/>
  212. <constraint firstItem="2ro-WH-QJR" firstAttribute="leading" secondItem="vUN-kp-3ea" secondAttribute="leading" constant="30" id="pDx-7K-OUu"/>
  213. <constraint firstItem="2ro-WH-QJR" firstAttribute="top" secondItem="vUN-kp-3ea" secondAttribute="top" constant="78" id="srD-f1-Rt7"/>
  214. <constraint firstItem="CIx-8i-k7I" firstAttribute="leading" secondItem="vUN-kp-3ea" secondAttribute="leading" constant="20" id="uA6-sn-OZQ"/>
  215. </constraints>
  216. <viewLayoutGuide key="safeArea" id="vUN-kp-3ea"/>
  217. <connections>
  218. <outlet property="accountTextField" destination="Ji8-dq-72I" id="TKl-rE-RHg"/>
  219. <outlet property="authorityBtn" destination="Hmq-Fl-fxJ" id="gaR-kh-r61"/>
  220. <outlet property="passwordTextField" destination="6N5-Mq-EfP" id="5M0-YT-4jE"/>
  221. <outlet property="privacyBtn" destination="IMw-do-PGK" id="kUv-m2-Zys"/>
  222. <outlet property="signInBtn" destination="CIx-8i-k7I" id="8Ok-QF-8QX"/>
  223. <outlet property="signUpBtn" destination="9Dh-HF-KjG" id="uvj-mb-lrQ"/>
  224. <outlet property="tipsLabel" destination="adL-4T-aGV" id="jkh-6Q-Fmf"/>
  225. </connections>
  226. <point key="canvasLocation" x="137.68115942028987" y="135.9375"/>
  227. </view>
  228. </objects>
  229. <resources>
  230. <image name="logo1" width="129.5" height="15"/>
  231. <image name="箭头" width="12" height="12"/>
  232. <image name="选中" width="16" height="16"/>
  233. <image name="隐私未选中" width="16" height="16"/>
  234. </resources>
  235. </document>