PhoneLoginViewController.xib 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14460.31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait">
  4. <adaptation id="fullscreen"/>
  5. </device>
  6. <dependencies>
  7. <deployment identifier="iOS"/>
  8. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14460.20"/>
  9. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  10. </dependencies>
  11. <objects>
  12. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="PhoneLoginViewController">
  13. <connections>
  14. <outlet property="codeBtn" destination="nks-zY-0gW" id="ZrL-uJ-VNu"/>
  15. <outlet property="codeTextField" destination="hET-lc-VlC" id="XWh-uv-8qg"/>
  16. <outlet property="loginBtn" destination="fX8-D4-yTw" id="vlU-Zc-W7c"/>
  17. <outlet property="phoneTextField" destination="QLH-x8-3aE" id="JD0-eK-Bgx"/>
  18. <outlet property="titleLabel" destination="Yhk-oP-e7f" id="dhd-yE-QmH"/>
  19. <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
  20. </connections>
  21. </placeholder>
  22. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  23. <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
  24. <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  25. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  26. <subviews>
  27. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="验证码登录" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="PZw-sK-cCr">
  28. <rect key="frame" x="40" y="90" width="112" height="27"/>
  29. <fontDescription key="fontDescription" type="boldSystem" pointSize="22"/>
  30. <nil key="textColor"/>
  31. <nil key="highlightedColor"/>
  32. </label>
  33. <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="请输入手机号" textAlignment="natural" minimumFontSize="17" clearButtonMode="whileEditing" translatesAutoresizingMaskIntoConstraints="NO" id="QLH-x8-3aE">
  34. <rect key="frame" x="40" y="147" width="295" height="40"/>
  35. <constraints>
  36. <constraint firstAttribute="height" constant="40" id="WHZ-ME-Pzd"/>
  37. </constraints>
  38. <nil key="textColor"/>
  39. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  40. <textInputTraits key="textInputTraits" keyboardType="phonePad"/>
  41. </textField>
  42. <textField opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="请输入验证码" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="hET-lc-VlC">
  43. <rect key="frame" x="40" y="192" width="162" height="40"/>
  44. <constraints>
  45. <constraint firstAttribute="height" constant="40" id="r7N-TG-9Ca"/>
  46. </constraints>
  47. <nil key="textColor"/>
  48. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  49. <textInputTraits key="textInputTraits" keyboardType="numberPad"/>
  50. </textField>
  51. <button opaque="NO" contentMode="scaleToFill" enabled="NO" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="fX8-D4-yTw">
  52. <rect key="frame" x="40" y="357" width="295" height="40"/>
  53. <color key="backgroundColor" red="0.46274509803921571" green="0.23137254901960785" blue="0.95294117647058818" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  54. <constraints>
  55. <constraint firstAttribute="height" constant="40" id="pRx-WN-spP"/>
  56. </constraints>
  57. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  58. <state key="normal" title="立即登录"/>
  59. <state key="disabled">
  60. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  61. </state>
  62. <state key="selected" backgroundImage="lg_btn_login_sel"/>
  63. <userDefinedRuntimeAttributes>
  64. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  65. <integer key="value" value="20"/>
  66. </userDefinedRuntimeAttribute>
  67. <userDefinedRuntimeAttribute type="boolean" keyPath="clipsToBounds" value="YES"/>
  68. </userDefinedRuntimeAttributes>
  69. <connections>
  70. <action selector="loginBtnAction:" destination="-1" eventType="touchUpInside" id="o7x-CV-JZM"/>
  71. </connections>
  72. </button>
  73. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="lfZ-Fn-0JW">
  74. <rect key="frame" x="20" y="30" width="13" height="25"/>
  75. <constraints>
  76. <constraint firstAttribute="width" constant="13" id="fwK-d8-Rzt"/>
  77. <constraint firstAttribute="height" constant="25" id="wDj-77-TBw"/>
  78. </constraints>
  79. <state key="normal" image="com_arrow_vc_back"/>
  80. </button>
  81. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="手机登录" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Yhk-oP-e7f">
  82. <rect key="frame" x="156.5" y="33.5" width="62" height="18"/>
  83. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  84. <nil key="textColor"/>
  85. <nil key="highlightedColor"/>
  86. </label>
  87. <button opaque="NO" contentMode="scaleToFill" horizontalCompressionResistancePriority="749" enabled="NO" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="nks-zY-0gW">
  88. <rect key="frame" x="222" y="192" width="100" height="40"/>
  89. <color key="backgroundColor" red="0.46274509803921571" green="0.23137254901960785" blue="0.95294117647058818" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  90. <constraints>
  91. <constraint firstAttribute="height" constant="40" id="SI9-OW-Nqe"/>
  92. <constraint firstAttribute="width" constant="100" id="sj9-gT-CtJ"/>
  93. </constraints>
  94. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  95. <state key="normal" title="发验证码"/>
  96. <userDefinedRuntimeAttributes>
  97. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  98. <integer key="value" value="20"/>
  99. </userDefinedRuntimeAttribute>
  100. <userDefinedRuntimeAttribute type="boolean" keyPath="clipsToBounds" value="YES"/>
  101. </userDefinedRuntimeAttributes>
  102. <connections>
  103. <action selector="codeBtnAction:" destination="-1" eventType="touchUpInside" id="HSC-E9-CWB"/>
  104. </connections>
  105. </button>
  106. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="o6R-92-Cbi">
  107. <rect key="frame" x="15" y="20" width="100" height="55"/>
  108. <constraints>
  109. <constraint firstAttribute="width" constant="100" id="0KK-pn-1rA"/>
  110. <constraint firstAttribute="height" constant="55" id="tbF-ae-6te"/>
  111. </constraints>
  112. <connections>
  113. <action selector="backBtnAction:" destination="-1" eventType="touchUpInside" id="nd4-MJ-Vz8"/>
  114. </connections>
  115. </button>
  116. </subviews>
  117. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  118. <constraints>
  119. <constraint firstItem="hET-lc-VlC" firstAttribute="centerY" secondItem="nks-zY-0gW" secondAttribute="centerY" id="1cC-mc-xpu"/>
  120. <constraint firstItem="lfZ-Fn-0JW" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" constant="30" id="69y-aH-ic9"/>
  121. <constraint firstItem="QLH-x8-3aE" firstAttribute="top" secondItem="PZw-sK-cCr" secondAttribute="bottom" constant="30" id="6tS-aE-UW5"/>
  122. <constraint firstItem="PZw-sK-cCr" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" constant="40" id="7Ll-dN-K3L"/>
  123. <constraint firstItem="fX8-D4-yTw" firstAttribute="top" secondItem="hET-lc-VlC" secondAttribute="bottom" constant="125" id="7WD-Ty-1af"/>
  124. <constraint firstItem="QLH-x8-3aE" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" constant="40" id="JUp-Uw-UUQ"/>
  125. <constraint firstItem="Yhk-oP-e7f" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="Mnu-uK-oUf"/>
  126. <constraint firstItem="Yhk-oP-e7f" firstAttribute="centerY" secondItem="lfZ-Fn-0JW" secondAttribute="centerY" id="S8g-EZ-bWj"/>
  127. <constraint firstItem="hET-lc-VlC" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" constant="40" id="YOJ-f1-ISi"/>
  128. <constraint firstItem="o6R-92-Cbi" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" constant="15" id="Yfu-Ef-XSc"/>
  129. <constraint firstItem="PZw-sK-cCr" firstAttribute="top" secondItem="o6R-92-Cbi" secondAttribute="bottom" constant="15" id="cSj-L4-yiS"/>
  130. <constraint firstItem="o6R-92-Cbi" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" constant="20" id="cyP-t1-EmP"/>
  131. <constraint firstItem="fX8-D4-yTw" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" constant="40" id="eT8-lx-1zn"/>
  132. <constraint firstItem="nks-zY-0gW" firstAttribute="leading" secondItem="hET-lc-VlC" secondAttribute="trailing" constant="20" id="fjg-4Z-1iF"/>
  133. <constraint firstAttribute="trailing" secondItem="nks-zY-0gW" secondAttribute="trailing" constant="53" id="iZw-mq-u6U"/>
  134. <constraint firstAttribute="trailing" secondItem="fX8-D4-yTw" secondAttribute="trailing" constant="40" id="nT9-L4-lCx"/>
  135. <constraint firstAttribute="trailing" secondItem="QLH-x8-3aE" secondAttribute="trailing" constant="40" id="uB2-zP-DAq"/>
  136. <constraint firstItem="lfZ-Fn-0JW" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" constant="20" id="urX-4t-KiQ"/>
  137. <constraint firstItem="nks-zY-0gW" firstAttribute="top" secondItem="QLH-x8-3aE" secondAttribute="bottom" constant="5" id="wH0-s0-0gR"/>
  138. </constraints>
  139. <point key="canvasLocation" x="130.40000000000001" y="129.98500749625188"/>
  140. </view>
  141. </objects>
  142. <resources>
  143. <image name="com_arrow_vc_back" width="12" height="22"/>
  144. <image name="lg_btn_login_sel" width="316" height="52"/>
  145. </resources>
  146. </document>