goodsShowCell.xib 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="17156" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17125"/>
  7. <capability name="System colors in document resources" minToolsVersion="11.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. <tableViewCell contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="goodsShowCELL" rowHeight="104" id="KGk-i7-Jjw" customClass="goodsShowCell">
  14. <rect key="frame" x="0.0" y="0.0" width="320" height="104"/>
  15. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  16. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
  17. <rect key="frame" x="0.0" y="0.0" width="320" height="104"/>
  18. <autoresizingMask key="autoresizingMask"/>
  19. <subviews>
  20. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="5WE-rn-5hM">
  21. <rect key="frame" x="10" y="14.5" width="75" height="75"/>
  22. <constraints>
  23. <constraint firstAttribute="height" constant="75" id="QuN-0c-Vhn"/>
  24. <constraint firstAttribute="width" constant="75" id="qW3-X2-0Xd"/>
  25. </constraints>
  26. </imageView>
  27. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="3" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="URU-qe-lqN">
  28. <rect key="frame" x="104" y="19.5" width="136" height="17"/>
  29. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  30. <color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
  31. <nil key="highlightedColor"/>
  32. </label>
  33. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="¥ 80" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="CIG-m7-dbM">
  34. <rect key="frame" x="104" y="68.5" width="30" height="16"/>
  35. <fontDescription key="fontDescription" type="boldSystem" pointSize="13"/>
  36. <color key="textColor" red="0.91764705879999997" green="0.2156862745" blue="0.49803921569999998" alpha="1" colorSpace="calibratedRGB"/>
  37. <nil key="highlightedColor"/>
  38. </label>
  39. <label hidden="YES" opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="¥99" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Qhc-pN-fHL">
  40. <rect key="frame" x="149" y="68.5" width="25" height="16"/>
  41. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  42. <color key="textColor" red="0.78823529411764703" green="0.78823529411764703" blue="0.78823529411764703" alpha="1" colorSpace="calibratedRGB"/>
  43. <nil key="highlightedColor"/>
  44. </label>
  45. <view hidden="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="mzF-Gr-8H7">
  46. <rect key="frame" x="149" y="76" width="25" height="1"/>
  47. <color key="backgroundColor" red="0.78823529410000004" green="0.78823529410000004" blue="0.78823529410000004" alpha="1" colorSpace="calibratedRGB"/>
  48. <constraints>
  49. <constraint firstAttribute="height" constant="1" id="qhD-6f-wwp"/>
  50. </constraints>
  51. </view>
  52. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="EFM-4v-GKS">
  53. <rect key="frame" x="250" y="40" width="60" height="24"/>
  54. <constraints>
  55. <constraint firstAttribute="width" constant="60" id="daz-y8-L0v"/>
  56. <constraint firstAttribute="height" constant="24" id="u80-TR-I84"/>
  57. </constraints>
  58. <fontDescription key="fontDescription" type="boldSystem" pointSize="11"/>
  59. <state key="normal" title="去看看">
  60. <color key="titleColor" red="0.98431372549999996" green="0.28235294119999998" blue="0.2274509804" alpha="1" colorSpace="calibratedRGB"/>
  61. </state>
  62. <userDefinedRuntimeAttributes>
  63. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  64. <real key="value" value="12"/>
  65. </userDefinedRuntimeAttribute>
  66. <userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
  67. <real key="value" value="1"/>
  68. </userDefinedRuntimeAttribute>
  69. <userDefinedRuntimeAttribute type="color" keyPath="borderColor">
  70. <color key="value" red="0.98431372549999996" green="0.28235294119999998" blue="0.2274509804" alpha="1" colorSpace="calibratedRGB"/>
  71. </userDefinedRuntimeAttribute>
  72. </userDefinedRuntimeAttributes>
  73. <connections>
  74. <action selector="setBtnClick:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="bwH-bZ-2nI"/>
  75. </connections>
  76. </button>
  77. <imageView hidden="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="MQZ-mE-ThN">
  78. <rect key="frame" x="289" y="44" width="16" height="16"/>
  79. <constraints>
  80. <constraint firstAttribute="height" constant="16" id="YAP-XT-C3e"/>
  81. <constraint firstAttribute="width" constant="16" id="eeZ-cX-hNO"/>
  82. </constraints>
  83. </imageView>
  84. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="C9c-l6-ayG">
  85. <rect key="frame" x="10" y="103" width="300" height="1"/>
  86. <color key="backgroundColor" white="1" alpha="0.078565140845070422" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  87. <constraints>
  88. <constraint firstAttribute="height" constant="1" id="I1k-zU-e6c"/>
  89. </constraints>
  90. </view>
  91. <label hidden="YES" opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="s0t-1E-bbN">
  92. <rect key="frame" x="104" y="46.5" width="33" height="16"/>
  93. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  94. <color key="textColor" systemColor="systemGrayColor"/>
  95. <nil key="highlightedColor"/>
  96. </label>
  97. <view hidden="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="YfH-aE-h6T">
  98. <rect key="frame" x="227" y="38" width="83" height="28"/>
  99. <subviews>
  100. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fDN-uh-B7q">
  101. <rect key="frame" x="41" y="10" width="1" height="8"/>
  102. <color key="backgroundColor" red="0.58823529409999997" green="0.58823529409999997" blue="0.58823529409999997" alpha="1" colorSpace="calibratedRGB"/>
  103. <constraints>
  104. <constraint firstAttribute="width" constant="1" id="Hhd-vP-Qxa"/>
  105. </constraints>
  106. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  107. <nil key="textColor"/>
  108. <nil key="highlightedColor"/>
  109. </label>
  110. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="TUx-YN-PXr">
  111. <rect key="frame" x="0.0" y="0.0" width="39" height="28"/>
  112. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  113. <state key="normal" title="展示">
  114. <color key="titleColor" red="1" green="0.3803921569" blue="0.19215686269999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  115. </state>
  116. <connections>
  117. <action selector="showBtnClick:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="Qlb-B7-Nqc"/>
  118. </connections>
  119. </button>
  120. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="7rL-Sa-rcj">
  121. <rect key="frame" x="44" y="0.0" width="39" height="28"/>
  122. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  123. <state key="normal" title="移除">
  124. <color key="titleColor" red="0.91764705879999997" green="0.2156862745" blue="0.49803921569999998" alpha="1" colorSpace="calibratedRGB"/>
  125. </state>
  126. <connections>
  127. <action selector="removeBtnClick:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="YhH-zu-OwN"/>
  128. </connections>
  129. </button>
  130. </subviews>
  131. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  132. <constraints>
  133. <constraint firstItem="TUx-YN-PXr" firstAttribute="leading" secondItem="YfH-aE-h6T" secondAttribute="leading" id="5pd-yc-shH"/>
  134. <constraint firstAttribute="bottom" secondItem="7rL-Sa-rcj" secondAttribute="bottom" id="8dq-15-f8R"/>
  135. <constraint firstAttribute="height" constant="28" id="9m5-A2-gi7"/>
  136. <constraint firstItem="fDN-uh-B7q" firstAttribute="top" secondItem="YfH-aE-h6T" secondAttribute="top" constant="10" id="B25-D1-wPW"/>
  137. <constraint firstItem="TUx-YN-PXr" firstAttribute="top" secondItem="YfH-aE-h6T" secondAttribute="top" id="DMi-XL-DLZ"/>
  138. <constraint firstItem="7rL-Sa-rcj" firstAttribute="top" secondItem="YfH-aE-h6T" secondAttribute="top" id="H6k-jt-XJk"/>
  139. <constraint firstItem="fDN-uh-B7q" firstAttribute="leading" secondItem="TUx-YN-PXr" secondAttribute="trailing" constant="2" id="QNp-uy-xnz"/>
  140. <constraint firstItem="fDN-uh-B7q" firstAttribute="centerX" secondItem="YfH-aE-h6T" secondAttribute="centerX" id="UCA-Tp-VSi"/>
  141. <constraint firstAttribute="bottom" secondItem="fDN-uh-B7q" secondAttribute="bottom" constant="10" id="UfO-VU-FD3"/>
  142. <constraint firstAttribute="trailing" secondItem="7rL-Sa-rcj" secondAttribute="trailing" id="eya-lW-KOv"/>
  143. <constraint firstAttribute="bottom" secondItem="TUx-YN-PXr" secondAttribute="bottom" id="hGW-98-ldA"/>
  144. <constraint firstAttribute="width" constant="83" id="rqf-Ea-1r4"/>
  145. <constraint firstItem="7rL-Sa-rcj" firstAttribute="leading" secondItem="fDN-uh-B7q" secondAttribute="trailing" constant="2" id="spv-ek-91H"/>
  146. </constraints>
  147. <userDefinedRuntimeAttributes>
  148. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  149. <real key="value" value="14"/>
  150. </userDefinedRuntimeAttribute>
  151. <userDefinedRuntimeAttribute type="color" keyPath="borderColor">
  152. <color key="value" red="0.91764705879999997" green="0.2156862745" blue="0.49803921569999998" alpha="1" colorSpace="calibratedRGB"/>
  153. </userDefinedRuntimeAttribute>
  154. <userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
  155. <real key="value" value="1"/>
  156. </userDefinedRuntimeAttribute>
  157. </userDefinedRuntimeAttributes>
  158. </view>
  159. </subviews>
  160. <color key="backgroundColor" red="0.066666666669999999" green="0.050980392159999999" blue="0.13725490200000001" alpha="1" colorSpace="calibratedRGB"/>
  161. <constraints>
  162. <constraint firstItem="mzF-Gr-8H7" firstAttribute="trailing" secondItem="Qhc-pN-fHL" secondAttribute="trailing" id="5Wq-ze-FKa"/>
  163. <constraint firstAttribute="bottom" secondItem="C9c-l6-ayG" secondAttribute="bottom" id="8wN-Xo-WaT"/>
  164. <constraint firstItem="s0t-1E-bbN" firstAttribute="top" secondItem="URU-qe-lqN" secondAttribute="bottom" constant="10" id="AjP-N9-IcV"/>
  165. <constraint firstItem="C9c-l6-ayG" firstAttribute="leading" secondItem="5WE-rn-5hM" secondAttribute="leading" id="Bg1-sC-xz2"/>
  166. <constraint firstItem="Qhc-pN-fHL" firstAttribute="leading" secondItem="CIG-m7-dbM" secondAttribute="trailing" constant="15" id="Eg2-H1-htc"/>
  167. <constraint firstItem="CIG-m7-dbM" firstAttribute="leading" secondItem="URU-qe-lqN" secondAttribute="leading" id="Jsq-Kw-bY7"/>
  168. <constraint firstAttribute="trailing" secondItem="YfH-aE-h6T" secondAttribute="trailing" constant="10" id="MBT-rB-fkx"/>
  169. <constraint firstItem="s0t-1E-bbN" firstAttribute="leading" secondItem="URU-qe-lqN" secondAttribute="leading" id="Ny6-OI-uML"/>
  170. <constraint firstItem="5WE-rn-5hM" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="10" id="O0B-Zy-WBq"/>
  171. <constraint firstItem="5WE-rn-5hM" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="OyM-uh-kd7"/>
  172. <constraint firstItem="EFM-4v-GKS" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="VQA-Ea-NlE"/>
  173. <constraint firstAttribute="trailing" secondItem="MQZ-mE-ThN" secondAttribute="trailing" constant="15" id="W3v-gg-8Z4"/>
  174. <constraint firstItem="URU-qe-lqN" firstAttribute="leading" secondItem="5WE-rn-5hM" secondAttribute="trailing" constant="19" id="Yr4-oK-wa6"/>
  175. <constraint firstAttribute="trailing" secondItem="EFM-4v-GKS" secondAttribute="trailing" constant="10" id="ZPR-py-inO"/>
  176. <constraint firstItem="URU-qe-lqN" firstAttribute="top" secondItem="5WE-rn-5hM" secondAttribute="top" constant="5" id="gP4-2Z-L45"/>
  177. <constraint firstItem="mzF-Gr-8H7" firstAttribute="centerY" secondItem="Qhc-pN-fHL" secondAttribute="centerY" id="gbX-LN-tQO"/>
  178. <constraint firstItem="Qhc-pN-fHL" firstAttribute="bottom" secondItem="CIG-m7-dbM" secondAttribute="bottom" id="hPU-iJ-8sy"/>
  179. <constraint firstItem="YfH-aE-h6T" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="hRr-GT-FQD"/>
  180. <constraint firstAttribute="trailing" secondItem="URU-qe-lqN" secondAttribute="trailing" constant="80" id="kH3-4k-94A"/>
  181. <constraint firstItem="mzF-Gr-8H7" firstAttribute="leading" secondItem="Qhc-pN-fHL" secondAttribute="leading" id="kII-nH-XWa"/>
  182. <constraint firstItem="MQZ-mE-ThN" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="pwv-xs-7KB"/>
  183. <constraint firstItem="C9c-l6-ayG" firstAttribute="trailing" secondItem="EFM-4v-GKS" secondAttribute="trailing" id="wMa-4G-2Ak"/>
  184. <constraint firstItem="CIG-m7-dbM" firstAttribute="bottom" secondItem="5WE-rn-5hM" secondAttribute="bottom" constant="-5" id="yiI-Ru-qbH"/>
  185. </constraints>
  186. </tableViewCellContentView>
  187. <connections>
  188. <outlet property="bottomLine" destination="C9c-l6-ayG" id="STQ-4q-Mfy"/>
  189. <outlet property="countLb" destination="s0t-1E-bbN" id="xru-g1-R7z"/>
  190. <outlet property="lineView" destination="mzF-Gr-8H7" id="u1K-3f-Acf"/>
  191. <outlet property="liveGoodsView" destination="YfH-aE-h6T" id="nhC-im-V7f"/>
  192. <outlet property="nameL" destination="URU-qe-lqN" id="k4j-rV-zKC"/>
  193. <outlet property="priceL" destination="CIG-m7-dbM" id="5Ce-04-tr1"/>
  194. <outlet property="priceOldL" destination="Qhc-pN-fHL" id="vj6-I0-CnI"/>
  195. <outlet property="removeBtn" destination="7rL-Sa-rcj" id="AXT-ku-Qqz"/>
  196. <outlet property="setBtn" destination="EFM-4v-GKS" id="Tcw-a0-ssF"/>
  197. <outlet property="showBtn" destination="TUx-YN-PXr" id="vF9-Qk-PYb"/>
  198. <outlet property="stateImgV" destination="MQZ-mE-ThN" id="rAQ-qi-fkW"/>
  199. <outlet property="thumbImgV" destination="5WE-rn-5hM" id="uOu-oL-vKU"/>
  200. </connections>
  201. <point key="canvasLocation" x="-94.400000000000006" y="90.854572713643179"/>
  202. </tableViewCell>
  203. </objects>
  204. <resources>
  205. <systemColor name="systemBackgroundColor">
  206. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  207. </systemColor>
  208. <systemColor name="systemGrayColor">
  209. <color red="0.55686274509803924" green="0.55686274509803924" blue="0.57647058823529407" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  210. </systemColor>
  211. </resources>
  212. </document>