AddressEditorVC.xib 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="22154" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina6_12" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22130"/>
  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. <objects>
  11. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="AddressEditorVC" customModule="ADHTuanCan" customModuleProvider="target">
  12. <connections>
  13. <outlet property="detailAddF" destination="oGw-lk-E0R" id="cTz-L0-e8h"/>
  14. <outlet property="isDefualBtn" destination="jkH-CE-iZq" id="qVz-6Q-xEZ"/>
  15. <outlet property="nameF" destination="RV4-MZ-8dT" id="ZRV-hX-L4k"/>
  16. <outlet property="phoneF" destination="gIz-px-HIY" id="gmC-iU-4K7"/>
  17. <outlet property="postF" destination="AU0-xY-ADb" id="o0T-Ih-N4g"/>
  18. <outlet property="streeF" destination="SHn-Hw-uzd" id="AbF-F9-ic9"/>
  19. <outlet property="topContent" destination="g2w-U3-YBC" id="0RU-5P-ZEF"/>
  20. <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
  21. </connections>
  22. </placeholder>
  23. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  24. <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
  25. <rect key="frame" x="0.0" y="0.0" width="393" height="852"/>
  26. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  27. <subviews>
  28. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="5nN-77-Ksx">
  29. <rect key="frame" x="25" y="773" width="343" height="45"/>
  30. <color key="backgroundColor" red="0.77647058820000003" green="0.1333333333" blue="0.13725490200000001" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
  31. <constraints>
  32. <constraint firstAttribute="height" constant="45" id="cpo-Y6-xTo"/>
  33. </constraints>
  34. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="16"/>
  35. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  36. <state key="normal" title="新增收货地址"/>
  37. <userDefinedRuntimeAttributes>
  38. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  39. <real key="value" value="6"/>
  40. </userDefinedRuntimeAttribute>
  41. </userDefinedRuntimeAttributes>
  42. <connections>
  43. <action selector="saveAction:" destination="-1" eventType="touchUpInside" id="RlU-cz-rQR"/>
  44. </connections>
  45. </button>
  46. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Ppt-ho-sFz">
  47. <rect key="frame" x="0.0" y="0.0" width="393" height="763"/>
  48. <subviews>
  49. <textField opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="248" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="收货人" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="RV4-MZ-8dT">
  50. <rect key="frame" x="100" y="25" width="268" height="44"/>
  51. <color key="backgroundColor" red="0.92941176469999998" green="0.92941176469999998" blue="0.92941176469999998" alpha="1" colorSpace="calibratedRGB"/>
  52. <constraints>
  53. <constraint firstAttribute="height" constant="44" id="rto-Kj-JMH"/>
  54. </constraints>
  55. <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.1333333333" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  56. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  57. <textInputTraits key="textInputTraits"/>
  58. </textField>
  59. <textField opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="248" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="手机号" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="gIz-px-HIY">
  60. <rect key="frame" x="100" y="84" width="268" height="44"/>
  61. <color key="backgroundColor" red="0.92941176469999998" green="0.92941176469999998" blue="0.92941176469999998" alpha="1" colorSpace="calibratedRGB"/>
  62. <constraints>
  63. <constraint firstAttribute="height" constant="44" id="xO2-RF-8SL"/>
  64. </constraints>
  65. <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.1333333333" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  66. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  67. <textInputTraits key="textInputTraits" keyboardType="numberPad"/>
  68. </textField>
  69. <textField opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="248" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="邮政编码" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="AU0-xY-ADb">
  70. <rect key="frame" x="100" y="143" width="268" height="44"/>
  71. <color key="backgroundColor" red="0.92941176469999998" green="0.92941176469999998" blue="0.92941176469999998" alpha="1" colorSpace="calibratedRGB"/>
  72. <constraints>
  73. <constraint firstAttribute="height" constant="44" id="JJu-Ma-i1k"/>
  74. </constraints>
  75. <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.1333333333" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  76. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  77. <textInputTraits key="textInputTraits" keyboardType="numberPad"/>
  78. </textField>
  79. <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" textAlignment="natural" translatesAutoresizingMaskIntoConstraints="NO" id="SHn-Hw-uzd">
  80. <rect key="frame" x="100" y="202" width="268" height="88"/>
  81. <color key="backgroundColor" red="0.92549019610000005" green="0.92549019610000005" blue="0.92549019610000005" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  82. <constraints>
  83. <constraint firstAttribute="height" constant="88" id="NeG-E6-jtc"/>
  84. </constraints>
  85. <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.1333333333" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  86. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  87. <textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
  88. <userDefinedRuntimeAttributes>
  89. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  90. <real key="value" value="8"/>
  91. </userDefinedRuntimeAttribute>
  92. </userDefinedRuntimeAttributes>
  93. </textView>
  94. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="手机号码" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zBX-RF-oDo">
  95. <rect key="frame" x="25" y="96.333333333333329" width="65.333333333333329" height="19.333333333333329"/>
  96. <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="16"/>
  97. <color key="textColor" red="0.10980392160000001" green="0.18823529410000001" blue="0.30980392159999998" alpha="1" colorSpace="calibratedRGB"/>
  98. <nil key="highlightedColor"/>
  99. </label>
  100. <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" horizontalHuggingPriority="248" horizontalCompressionResistancePriority="748" textAlignment="natural" translatesAutoresizingMaskIntoConstraints="NO" id="oGw-lk-E0R">
  101. <rect key="frame" x="100" y="305" width="268" height="88"/>
  102. <color key="backgroundColor" red="0.92549019610000005" green="0.92549019610000005" blue="0.92549019610000005" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  103. <constraints>
  104. <constraint firstAttribute="height" constant="88" id="4FA-yL-h7l"/>
  105. </constraints>
  106. <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.1333333333" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  107. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  108. <textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
  109. <userDefinedRuntimeAttributes>
  110. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  111. <real key="value" value="8"/>
  112. </userDefinedRuntimeAttribute>
  113. </userDefinedRuntimeAttributes>
  114. </textView>
  115. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="jkH-CE-iZq">
  116. <rect key="frame" x="347" y="454.33333333333331" width="21" height="22"/>
  117. <color key="tintColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  118. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  119. <state key="normal" image="地址未选中"/>
  120. <state key="selected" image="地址选中">
  121. <color key="titleColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  122. </state>
  123. <connections>
  124. <action selector="setDefualAction:" destination="-1" eventType="touchUpInside" id="sns-J0-MEm"/>
  125. </connections>
  126. </button>
  127. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="收货人" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="wgb-zZ-rxv">
  128. <rect key="frame" x="25" y="37.333333333333336" width="49" height="19.333333333333336"/>
  129. <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="16"/>
  130. <color key="textColor" red="0.10980392160000001" green="0.18823529410000001" blue="0.30980392159999998" alpha="1" colorSpace="calibratedRGB"/>
  131. <nil key="highlightedColor"/>
  132. </label>
  133. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="邮政编码" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zIu-Mb-eZX">
  134. <rect key="frame" x="25" y="155" width="65" height="20"/>
  135. <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="16"/>
  136. <color key="textColor" red="0.10980392160000001" green="0.18823529410000001" blue="0.30980392159999998" alpha="1" colorSpace="calibratedRGB"/>
  137. <nil key="highlightedColor"/>
  138. </label>
  139. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="街道名称" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="g2d-u1-wqB">
  140. <rect key="frame" x="25" y="212" width="65.333333333333329" height="19.333333333333343"/>
  141. <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="16"/>
  142. <color key="textColor" red="0.10980392160000001" green="0.18823529410000001" blue="0.30980392159999998" alpha="1" colorSpace="calibratedRGB"/>
  143. <nil key="highlightedColor"/>
  144. </label>
  145. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="详细地址" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="r2g-ru-PnL">
  146. <rect key="frame" x="25" y="315" width="65" height="19.333333333333314"/>
  147. <constraints>
  148. <constraint firstAttribute="height" constant="19.333333333333314" id="Cu7-wy-HSG"/>
  149. </constraints>
  150. <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="16"/>
  151. <color key="textColor" red="0.10980392160000001" green="0.18823529410000001" blue="0.30980392159999998" alpha="1" colorSpace="calibratedRGB"/>
  152. <nil key="highlightedColor"/>
  153. </label>
  154. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="设为默认收货地址" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5CI-06-LZW">
  155. <rect key="frame" x="25" y="455.66666666666669" width="130.66666666666666" height="19.333333333333314"/>
  156. <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="16"/>
  157. <color key="textColor" red="0.10980392160000001" green="0.18823529410000001" blue="0.30980392159999998" alpha="1" colorSpace="calibratedRGB"/>
  158. <nil key="highlightedColor"/>
  159. </label>
  160. </subviews>
  161. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  162. <constraints>
  163. <constraint firstItem="wgb-zZ-rxv" firstAttribute="leading" secondItem="Ppt-ho-sFz" secondAttribute="leading" constant="25" id="1c5-wd-GAR"/>
  164. <constraint firstItem="SHn-Hw-uzd" firstAttribute="leading" secondItem="oGw-lk-E0R" secondAttribute="leading" id="7LA-tX-UDQ"/>
  165. <constraint firstAttribute="trailing" secondItem="AU0-xY-ADb" secondAttribute="trailing" constant="25" id="8Pc-Qu-kND"/>
  166. <constraint firstItem="RV4-MZ-8dT" firstAttribute="leading" secondItem="gIz-px-HIY" secondAttribute="leading" id="8bK-2E-QDG"/>
  167. <constraint firstItem="wgb-zZ-rxv" firstAttribute="centerY" secondItem="RV4-MZ-8dT" secondAttribute="centerY" id="AKj-ps-oQC"/>
  168. <constraint firstAttribute="trailing" secondItem="SHn-Hw-uzd" secondAttribute="trailing" constant="25" id="CzY-bU-vCG"/>
  169. <constraint firstItem="SHn-Hw-uzd" firstAttribute="top" secondItem="AU0-xY-ADb" secondAttribute="bottom" constant="15" id="DX4-Zw-8f0"/>
  170. <constraint firstItem="gIz-px-HIY" firstAttribute="top" secondItem="RV4-MZ-8dT" secondAttribute="bottom" constant="15" id="Elf-x8-aki"/>
  171. <constraint firstItem="zIu-Mb-eZX" firstAttribute="leading" secondItem="Ppt-ho-sFz" secondAttribute="leading" constant="25" id="F5l-RH-2ff"/>
  172. <constraint firstItem="RV4-MZ-8dT" firstAttribute="top" secondItem="Ppt-ho-sFz" secondAttribute="top" constant="25" id="FId-C3-QM1"/>
  173. <constraint firstItem="AU0-xY-ADb" firstAttribute="top" secondItem="gIz-px-HIY" secondAttribute="bottom" constant="15" id="Htm-gg-aqw"/>
  174. <constraint firstItem="oGw-lk-E0R" firstAttribute="top" secondItem="SHn-Hw-uzd" secondAttribute="bottom" constant="15" id="IzE-DM-YyN"/>
  175. <constraint firstItem="zIu-Mb-eZX" firstAttribute="centerY" secondItem="AU0-xY-ADb" secondAttribute="centerY" id="JdJ-Kb-Zul"/>
  176. <constraint firstItem="r2g-ru-PnL" firstAttribute="centerX" secondItem="zIu-Mb-eZX" secondAttribute="centerX" id="JmW-k3-bLS"/>
  177. <constraint firstAttribute="trailing" secondItem="oGw-lk-E0R" secondAttribute="trailing" constant="25" id="KUQ-DE-gKF"/>
  178. <constraint firstItem="AU0-xY-ADb" firstAttribute="leading" secondItem="SHn-Hw-uzd" secondAttribute="leading" id="Oio-1Y-YjJ"/>
  179. <constraint firstItem="oGw-lk-E0R" firstAttribute="leading" secondItem="r2g-ru-PnL" secondAttribute="trailing" constant="10" id="P1g-KI-185"/>
  180. <constraint firstItem="r2g-ru-PnL" firstAttribute="leading" secondItem="Ppt-ho-sFz" secondAttribute="leading" constant="25" id="Qtl-dc-Mux"/>
  181. <constraint firstItem="zBX-RF-oDo" firstAttribute="centerY" secondItem="gIz-px-HIY" secondAttribute="centerY" id="VJ8-at-f4P"/>
  182. <constraint firstAttribute="trailing" secondItem="jkH-CE-iZq" secondAttribute="trailing" constant="25" id="W53-0j-Ii7"/>
  183. <constraint firstItem="zBX-RF-oDo" firstAttribute="leading" secondItem="Ppt-ho-sFz" secondAttribute="leading" constant="25" id="ZcW-PT-suc"/>
  184. <constraint firstItem="gIz-px-HIY" firstAttribute="leading" secondItem="AU0-xY-ADb" secondAttribute="leading" id="aWg-Rp-8M8"/>
  185. <constraint firstItem="5CI-06-LZW" firstAttribute="top" secondItem="oGw-lk-E0R" secondAttribute="bottom" constant="62.670000000000002" id="chX-XI-vFf"/>
  186. <constraint firstItem="r2g-ru-PnL" firstAttribute="top" secondItem="oGw-lk-E0R" secondAttribute="top" constant="10" id="du7-Vj-5bq"/>
  187. <constraint firstAttribute="trailing" secondItem="RV4-MZ-8dT" secondAttribute="trailing" constant="25" id="eju-fk-VJO"/>
  188. <constraint firstItem="g2d-u1-wqB" firstAttribute="top" secondItem="SHn-Hw-uzd" secondAttribute="top" constant="10" id="fLE-JA-qGz"/>
  189. <constraint firstItem="5CI-06-LZW" firstAttribute="leading" secondItem="Ppt-ho-sFz" secondAttribute="leading" constant="25" id="g8z-tJ-RSV"/>
  190. <constraint firstItem="g2d-u1-wqB" firstAttribute="leading" secondItem="Ppt-ho-sFz" secondAttribute="leading" constant="25" id="gyM-bm-BsM"/>
  191. <constraint firstItem="jkH-CE-iZq" firstAttribute="centerY" secondItem="5CI-06-LZW" secondAttribute="centerY" id="kTr-9u-VzK"/>
  192. <constraint firstAttribute="trailing" secondItem="gIz-px-HIY" secondAttribute="trailing" constant="25" id="ynH-Ol-bLL"/>
  193. </constraints>
  194. <userDefinedRuntimeAttributes>
  195. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  196. <real key="value" value="24"/>
  197. </userDefinedRuntimeAttribute>
  198. </userDefinedRuntimeAttributes>
  199. </view>
  200. </subviews>
  201. <viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/>
  202. <color key="backgroundColor" red="0.92941176469999998" green="0.92941176469999998" blue="0.92941176469999998" alpha="1" colorSpace="calibratedRGB"/>
  203. <constraints>
  204. <constraint firstItem="fnl-2z-Ty3" firstAttribute="bottom" secondItem="5nN-77-Ksx" secondAttribute="bottom" id="AoM-TN-wif"/>
  205. <constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="5nN-77-Ksx" secondAttribute="trailing" constant="25" id="Dei-8s-A1t"/>
  206. <constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="Ppt-ho-sFz" secondAttribute="trailing" id="MYJ-Kz-c5z"/>
  207. <constraint firstItem="5nN-77-Ksx" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" constant="25" id="XJZ-Wg-eXy"/>
  208. <constraint firstItem="Ppt-ho-sFz" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" id="g2w-U3-YBC"/>
  209. <constraint firstItem="5nN-77-Ksx" firstAttribute="top" secondItem="Ppt-ho-sFz" secondAttribute="bottom" constant="10" id="haS-KV-C6d"/>
  210. <constraint firstItem="Ppt-ho-sFz" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="lmI-Zw-whg"/>
  211. </constraints>
  212. <point key="canvasLocation" x="139.69465648854961" y="0.0"/>
  213. </view>
  214. </objects>
  215. <resources>
  216. <image name="地址未选中" width="21" height="21"/>
  217. <image name="地址选中" width="21" height="21"/>
  218. </resources>
  219. </document>