PhoneChangeBodyView.xib 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="19529" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="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="19519"/>
  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"/>
  11. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  12. <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="PhoneChangeBodyView">
  13. <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
  14. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  15. <subviews>
  16. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="00R-Xd-lgg">
  17. <rect key="frame" x="0.0" y="10" width="414" height="48"/>
  18. <subviews>
  19. <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="请输入手机号" textAlignment="natural" minimumFontSize="17" clearButtonMode="whileEditing" translatesAutoresizingMaskIntoConstraints="NO" id="9l2-SF-nsA">
  20. <rect key="frame" x="12" y="0.0" width="390" height="48"/>
  21. <color key="textColor" red="0.2666666667" green="0.2666666667" blue="0.2666666667" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  22. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  23. <textInputTraits key="textInputTraits" keyboardType="numberPad" returnKeyType="done"/>
  24. </textField>
  25. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="2fm-6g-O1p">
  26. <rect key="frame" x="12" y="47" width="402" height="1"/>
  27. <color key="backgroundColor" red="0.94117647059999998" green="0.94117647059999998" blue="0.94117647059999998" alpha="1" colorSpace="calibratedRGB"/>
  28. <constraints>
  29. <constraint firstAttribute="height" constant="1" id="EWf-eH-uwE"/>
  30. </constraints>
  31. </view>
  32. </subviews>
  33. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  34. <constraints>
  35. <constraint firstItem="9l2-SF-nsA" firstAttribute="leading" secondItem="00R-Xd-lgg" secondAttribute="leading" constant="12" id="8Fh-aI-JWY"/>
  36. <constraint firstAttribute="trailing" secondItem="9l2-SF-nsA" secondAttribute="trailing" constant="12" id="Kud-wf-jdi"/>
  37. <constraint firstAttribute="bottom" secondItem="2fm-6g-O1p" secondAttribute="bottom" id="Lkb-NM-JOF"/>
  38. <constraint firstItem="2fm-6g-O1p" firstAttribute="leading" secondItem="00R-Xd-lgg" secondAttribute="leading" constant="12" id="M5Q-7D-ob1"/>
  39. <constraint firstAttribute="trailing" secondItem="2fm-6g-O1p" secondAttribute="trailing" id="P0N-Ac-ld8"/>
  40. <constraint firstAttribute="height" constant="48" id="dGB-3d-RGB"/>
  41. <constraint firstItem="9l2-SF-nsA" firstAttribute="top" secondItem="00R-Xd-lgg" secondAttribute="top" id="rt9-XY-MGQ"/>
  42. <constraint firstAttribute="bottom" secondItem="9l2-SF-nsA" secondAttribute="bottom" id="wCb-um-wXq"/>
  43. </constraints>
  44. </view>
  45. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Zpq-BE-fw7">
  46. <rect key="frame" x="0.0" y="58" width="414" height="48"/>
  47. <subviews>
  48. <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="请输入短信验证码" textAlignment="natural" minimumFontSize="17" clearButtonMode="whileEditing" translatesAutoresizingMaskIntoConstraints="NO" id="7xW-HC-zas">
  49. <rect key="frame" x="12" y="0.0" width="300" height="48"/>
  50. <color key="textColor" red="0.2666666667" green="0.2666666667" blue="0.2666666667" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  51. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  52. <textInputTraits key="textInputTraits" keyboardType="numberPad" enablesReturnKeyAutomatically="YES"/>
  53. </textField>
  54. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="4K0-7F-TYa">
  55. <rect key="frame" x="322" y="9" width="80" height="30"/>
  56. <constraints>
  57. <constraint firstAttribute="height" constant="30" id="4Ca-aa-NCU"/>
  58. <constraint firstAttribute="width" constant="80" id="Nz6-Be-fwc"/>
  59. </constraints>
  60. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  61. <state key="normal" title="获取验证码">
  62. <color key="titleColor" red="0.1764705882" green="0.78039215689999997" blue="0.66666666669999997" alpha="1" colorSpace="calibratedRGB"/>
  63. </state>
  64. <connections>
  65. <action selector="sendCode:" destination="iN0-l3-epB" eventType="touchUpInside" id="Eks-QD-Erc"/>
  66. </connections>
  67. </button>
  68. </subviews>
  69. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  70. <constraints>
  71. <constraint firstItem="7xW-HC-zas" firstAttribute="leading" secondItem="Zpq-BE-fw7" secondAttribute="leading" constant="12" id="Aip-oB-M8c"/>
  72. <constraint firstAttribute="bottom" secondItem="7xW-HC-zas" secondAttribute="bottom" id="B6T-H7-YOH"/>
  73. <constraint firstItem="4K0-7F-TYa" firstAttribute="leading" secondItem="7xW-HC-zas" secondAttribute="trailing" constant="10" id="Pl7-Rh-s6H"/>
  74. <constraint firstItem="7xW-HC-zas" firstAttribute="top" secondItem="Zpq-BE-fw7" secondAttribute="top" id="YwU-nM-BV7"/>
  75. <constraint firstAttribute="height" constant="48" id="dnn-va-GJf"/>
  76. <constraint firstItem="4K0-7F-TYa" firstAttribute="centerY" secondItem="Zpq-BE-fw7" secondAttribute="centerY" id="gZk-cc-YB4"/>
  77. <constraint firstAttribute="trailing" secondItem="4K0-7F-TYa" secondAttribute="trailing" constant="12" id="tlS-Ab-lUo"/>
  78. </constraints>
  79. </view>
  80. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Hhn-N2-gSx">
  81. <rect key="frame" x="28" y="126" width="358" height="44"/>
  82. <color key="backgroundColor" red="0.1764705882" green="0.78039215689999997" blue="0.66666666669999997" alpha="1" colorSpace="calibratedRGB"/>
  83. <constraints>
  84. <constraint firstAttribute="height" constant="44" id="Lq9-Fh-flN"/>
  85. </constraints>
  86. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="18"/>
  87. <state key="normal" title="确定"/>
  88. <userDefinedRuntimeAttributes>
  89. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  90. <real key="value" value="22"/>
  91. </userDefinedRuntimeAttribute>
  92. </userDefinedRuntimeAttributes>
  93. <connections>
  94. <action selector="sureAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="ULx-Yi-K9A"/>
  95. </connections>
  96. </button>
  97. </subviews>
  98. <color key="backgroundColor" red="0.96862745100000003" green="0.96862745100000003" blue="0.97647058819999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  99. <constraints>
  100. <constraint firstItem="Zpq-BE-fw7" firstAttribute="leading" secondItem="00R-Xd-lgg" secondAttribute="leading" id="8lf-jl-YgZ"/>
  101. <constraint firstItem="Zpq-BE-fw7" firstAttribute="top" secondItem="00R-Xd-lgg" secondAttribute="bottom" id="Klu-rb-Mv6"/>
  102. <constraint firstItem="00R-Xd-lgg" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="10" id="MrA-tK-tG5"/>
  103. <constraint firstItem="Zpq-BE-fw7" firstAttribute="trailing" secondItem="00R-Xd-lgg" secondAttribute="trailing" id="PfS-Q3-bk7"/>
  104. <constraint firstItem="00R-Xd-lgg" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="Pk2-YQ-559"/>
  105. <constraint firstAttribute="trailing" secondItem="00R-Xd-lgg" secondAttribute="trailing" id="Znl-UM-xr0"/>
  106. <constraint firstAttribute="trailing" secondItem="Hhn-N2-gSx" secondAttribute="trailing" constant="28" id="qcn-w1-5Ej"/>
  107. <constraint firstItem="Hhn-N2-gSx" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="28" id="sTM-i7-yIC"/>
  108. <constraint firstItem="Hhn-N2-gSx" firstAttribute="top" secondItem="Zpq-BE-fw7" secondAttribute="bottom" constant="20" id="z80-8n-fhj"/>
  109. </constraints>
  110. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  111. <connections>
  112. <outlet property="codeButton" destination="4K0-7F-TYa" id="Bel-W0-1Df"/>
  113. <outlet property="codeField" destination="7xW-HC-zas" id="627-NI-W9o"/>
  114. <outlet property="phoneField" destination="9l2-SF-nsA" id="ziV-GQ-qPh"/>
  115. </connections>
  116. <point key="canvasLocation" x="131.8840579710145" y="112.5"/>
  117. </view>
  118. </objects>
  119. </document>