ShoppingCarDetailView.xib 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  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"/>
  12. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  13. <view contentMode="scaleToFill" id="6uf-8d-8Ps" customClass="ShoppingCarDetailView" customModule="ADHTuanCan" customModuleProvider="target">
  14. <rect key="frame" x="0.0" y="0.0" width="393" height="852"/>
  15. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  16. <subviews>
  17. <view alpha="0.29999999999999999" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="tfI-j1-gxA">
  18. <rect key="frame" x="0.0" y="0.0" width="393" height="852"/>
  19. <subviews>
  20. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="R3S-5y-sr0">
  21. <rect key="frame" x="0.0" y="0.0" width="393" height="852"/>
  22. <state key="normal" title="Button"/>
  23. <buttonConfiguration key="configuration" style="plain"/>
  24. <connections>
  25. <action selector="backTouchAction:" destination="6uf-8d-8Ps" eventType="touchUpInside" id="Jn9-AA-0MJ"/>
  26. </connections>
  27. </button>
  28. </subviews>
  29. <color key="backgroundColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  30. <constraints>
  31. <constraint firstAttribute="trailing" secondItem="R3S-5y-sr0" secondAttribute="trailing" id="CLR-AV-mdy"/>
  32. <constraint firstAttribute="bottom" secondItem="R3S-5y-sr0" secondAttribute="bottom" id="Osx-hj-7eK"/>
  33. <constraint firstItem="R3S-5y-sr0" firstAttribute="top" secondItem="tfI-j1-gxA" secondAttribute="top" id="Qlk-eP-orb"/>
  34. <constraint firstItem="R3S-5y-sr0" firstAttribute="leading" secondItem="tfI-j1-gxA" secondAttribute="leading" id="qc2-nk-cbt"/>
  35. </constraints>
  36. </view>
  37. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="yfN-8l-Ulo">
  38. <rect key="frame" x="0.0" y="200" width="393" height="652"/>
  39. <subviews>
  40. <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="-1" estimatedSectionHeaderHeight="-1" sectionFooterHeight="-1" estimatedSectionFooterHeight="-1" translatesAutoresizingMaskIntoConstraints="NO" id="DpX-Wn-FHK">
  41. <rect key="frame" x="0.0" y="180" width="393" height="408"/>
  42. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  43. <connections>
  44. <outlet property="dataSource" destination="6uf-8d-8Ps" id="2lV-Hy-nCG"/>
  45. <outlet property="delegate" destination="6uf-8d-8Ps" id="7RQ-yX-jE2"/>
  46. </connections>
  47. </tableView>
  48. </subviews>
  49. <color key="backgroundColor" red="0.92941176469999998" green="0.92941176469999998" blue="0.92941176469999998" alpha="1" colorSpace="calibratedRGB"/>
  50. <constraints>
  51. <constraint firstAttribute="bottom" secondItem="DpX-Wn-FHK" secondAttribute="bottom" constant="64" id="EWk-kB-cxr"/>
  52. <constraint firstItem="DpX-Wn-FHK" firstAttribute="top" secondItem="yfN-8l-Ulo" secondAttribute="top" constant="180" id="lV0-cQ-zfs"/>
  53. <constraint firstAttribute="trailing" secondItem="DpX-Wn-FHK" secondAttribute="trailing" id="n5J-0B-txs"/>
  54. <constraint firstItem="DpX-Wn-FHK" firstAttribute="leading" secondItem="yfN-8l-Ulo" secondAttribute="leading" id="rQN-Ao-sZX"/>
  55. </constraints>
  56. <userDefinedRuntimeAttributes>
  57. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  58. <real key="value" value="24"/>
  59. </userDefinedRuntimeAttribute>
  60. </userDefinedRuntimeAttributes>
  61. </view>
  62. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="QbR-jp-yIL">
  63. <rect key="frame" x="0.0" y="788" width="393" height="64"/>
  64. <subviews>
  65. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="购物袋" translatesAutoresizingMaskIntoConstraints="NO" id="qeF-C6-qzV">
  66. <rect key="frame" x="25" y="4.6666666666666288" width="55" height="55"/>
  67. <constraints>
  68. <constraint firstAttribute="height" constant="55" id="YQv-nG-cs4"/>
  69. <constraint firstAttribute="width" constant="55" id="ipQ-my-dZW"/>
  70. </constraints>
  71. </imageView>
  72. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="s$" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="WTw-Dt-voG">
  73. <rect key="frame" x="100" y="21.666666666666629" width="20.666666666666671" height="21"/>
  74. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="18"/>
  75. <color key="textColor" red="0.10980392160000001" green="0.18823529410000001" blue="0.30980392159999998" alpha="1" colorSpace="calibratedRGB"/>
  76. <nil key="highlightedColor"/>
  77. </label>
  78. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0.00" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="j6a-eD-xnt">
  79. <rect key="frame" x="120.66666666666667" y="21.666666666666629" width="37.666666666666671" height="21"/>
  80. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="18"/>
  81. <color key="textColor" red="0.10980392160000001" green="0.18823529410000001" blue="0.30980392159999998" alpha="1" colorSpace="calibratedRGB"/>
  82. <nil key="highlightedColor"/>
  83. </label>
  84. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Zy9-lO-jwh">
  85. <rect key="frame" x="248" y="8" width="120" height="48"/>
  86. <color key="backgroundColor" red="0.77647058820000003" green="0.1333333333" blue="0.13725490200000001" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
  87. <constraints>
  88. <constraint firstAttribute="width" constant="120" id="47E-J3-GZ2"/>
  89. </constraints>
  90. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="16"/>
  91. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  92. <state key="normal" title="去结算">
  93. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  94. </state>
  95. <userDefinedRuntimeAttributes>
  96. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  97. <real key="value" value="6"/>
  98. </userDefinedRuntimeAttribute>
  99. </userDefinedRuntimeAttributes>
  100. <connections>
  101. <action selector="gotoJIesuan:" destination="6uf-8d-8Ps" eventType="touchUpInside" id="xlu-pe-l2h"/>
  102. </connections>
  103. </button>
  104. </subviews>
  105. <viewLayoutGuide key="safeArea" id="LY5-l1-Rgu"/>
  106. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  107. <constraints>
  108. <constraint firstAttribute="height" constant="64" id="1PP-j2-OLR"/>
  109. <constraint firstItem="j6a-eD-xnt" firstAttribute="leading" secondItem="WTw-Dt-voG" secondAttribute="trailing" id="482-Dw-JMI"/>
  110. <constraint firstItem="WTw-Dt-voG" firstAttribute="centerY" secondItem="QbR-jp-yIL" secondAttribute="centerY" id="6nh-K6-dDB"/>
  111. <constraint firstItem="j6a-eD-xnt" firstAttribute="centerY" secondItem="QbR-jp-yIL" secondAttribute="centerY" id="OaP-sV-Thy"/>
  112. <constraint firstAttribute="trailing" secondItem="Zy9-lO-jwh" secondAttribute="trailing" constant="25" id="Rsv-ct-RHK"/>
  113. <constraint firstItem="Zy9-lO-jwh" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="j6a-eD-xnt" secondAttribute="trailing" id="Sq8-rV-ZmA"/>
  114. <constraint firstAttribute="bottom" secondItem="Zy9-lO-jwh" secondAttribute="bottom" constant="8" id="ct6-yO-QOg"/>
  115. <constraint firstItem="qeF-C6-qzV" firstAttribute="centerY" secondItem="QbR-jp-yIL" secondAttribute="centerY" id="doV-Rm-1vy"/>
  116. <constraint firstItem="Zy9-lO-jwh" firstAttribute="top" secondItem="QbR-jp-yIL" secondAttribute="top" constant="8" id="gPC-nY-rug"/>
  117. <constraint firstItem="Zy9-lO-jwh" firstAttribute="centerY" secondItem="QbR-jp-yIL" secondAttribute="centerY" id="hLp-Mm-DAR"/>
  118. <constraint firstItem="WTw-Dt-voG" firstAttribute="leading" secondItem="qeF-C6-qzV" secondAttribute="trailing" constant="20" id="qJh-XH-fyR"/>
  119. <constraint firstAttribute="height" relation="greaterThanOrEqual" constant="64" id="tyX-TT-Hhr"/>
  120. <constraint firstItem="qeF-C6-qzV" firstAttribute="leading" secondItem="QbR-jp-yIL" secondAttribute="leading" constant="25" id="zBL-s2-v8C"/>
  121. </constraints>
  122. </view>
  123. </subviews>
  124. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  125. <constraints>
  126. <constraint firstAttribute="trailing" secondItem="tfI-j1-gxA" secondAttribute="trailing" id="8sT-Eb-Ov3"/>
  127. <constraint firstAttribute="bottom" secondItem="yfN-8l-Ulo" secondAttribute="bottom" id="H5X-M5-sxf"/>
  128. <constraint firstAttribute="trailing" secondItem="QbR-jp-yIL" secondAttribute="trailing" id="HzU-9v-iJN"/>
  129. <constraint firstAttribute="bottom" secondItem="tfI-j1-gxA" secondAttribute="bottom" id="Uxl-Bc-FYO"/>
  130. <constraint firstAttribute="trailing" secondItem="yfN-8l-Ulo" secondAttribute="trailing" id="Wyh-St-E5G"/>
  131. <constraint firstItem="QbR-jp-yIL" firstAttribute="leading" secondItem="6uf-8d-8Ps" secondAttribute="leading" id="Xf8-p5-nWb"/>
  132. <constraint firstAttribute="bottom" secondItem="QbR-jp-yIL" secondAttribute="bottom" id="YHL-aP-gJa"/>
  133. <constraint firstItem="yfN-8l-Ulo" firstAttribute="top" secondItem="6uf-8d-8Ps" secondAttribute="top" constant="200" id="YIy-Hh-PMZ"/>
  134. <constraint firstItem="tfI-j1-gxA" firstAttribute="top" secondItem="6uf-8d-8Ps" secondAttribute="top" id="gPF-Ev-oXt"/>
  135. <constraint firstItem="tfI-j1-gxA" firstAttribute="leading" secondItem="6uf-8d-8Ps" secondAttribute="leading" id="laD-3b-UKP"/>
  136. <constraint firstItem="yfN-8l-Ulo" firstAttribute="leading" secondItem="6uf-8d-8Ps" secondAttribute="leading" id="ztB-hG-ElD"/>
  137. </constraints>
  138. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  139. <connections>
  140. <outlet property="blackView" destination="tfI-j1-gxA" id="Is8-k6-mHc"/>
  141. <outlet property="priceLab" destination="j6a-eD-xnt" id="Cee-eu-6Du"/>
  142. <outlet property="tableView" destination="DpX-Wn-FHK" id="RQf-le-y2w"/>
  143. </connections>
  144. <point key="canvasLocation" x="375" y="-276"/>
  145. </view>
  146. </objects>
  147. <resources>
  148. <image name="购物袋" width="500" height="500"/>
  149. </resources>
  150. </document>