YBOnSaleCell.xib 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" 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="16087"/>
  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. <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="114" id="KGk-i7-Jjw" customClass="YBOnSaleCell">
  13. <rect key="frame" x="0.0" y="0.0" width="494" height="114"/>
  14. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  15. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
  16. <rect key="frame" x="0.0" y="0.0" width="494" height="114"/>
  17. <autoresizingMask key="autoresizingMask"/>
  18. <subviews>
  19. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="Svn-Lr-7Ss" userLabel="商品">
  20. <rect key="frame" x="10" y="12" width="90" height="90"/>
  21. <constraints>
  22. <constraint firstAttribute="width" secondItem="Svn-Lr-7Ss" secondAttribute="height" multiplier="1:1" id="6GH-zT-Nzf"/>
  23. </constraints>
  24. <userDefinedRuntimeAttributes>
  25. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  26. <real key="value" value="10"/>
  27. </userDefinedRuntimeAttribute>
  28. </userDefinedRuntimeAttributes>
  29. </imageView>
  30. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="LabelLabelLabelLabelLabelLabelLabelLabelLabelLabelLabelLabelLabelLabelLabelLabelLabelLabel" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="AGP-Ig-cmZ" userLabel="标题">
  31. <rect key="frame" x="112" y="22" width="291.5" height="31.5"/>
  32. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  33. <color key="textColor" red="0.19607843137254902" green="0.19607843137254902" blue="0.19607843137254902" alpha="1" colorSpace="calibratedRGB"/>
  34. <nil key="highlightedColor"/>
  35. </label>
  36. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8jq-uw-8s7" userLabel="现价">
  37. <rect key="frame" x="112" y="76" width="36" height="16"/>
  38. <fontDescription key="fontDescription" type="boldSystem" pointSize="13"/>
  39. <color key="textColor" red="0.91764705879999997" green="0.2156862745" blue="0.49803921569999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  40. <nil key="highlightedColor"/>
  41. </label>
  42. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Rmc-TJ-C2m" userLabel="原价">
  43. <rect key="frame" x="161" y="77" width="31" height="15"/>
  44. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  45. <color key="textColor" red="0.78823529411764703" green="0.78823529411764703" blue="0.78823529411764703" alpha="1" colorSpace="calibratedRGB"/>
  46. <nil key="highlightedColor"/>
  47. </label>
  48. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="oBs-e6-hA0" userLabel="原价横线">
  49. <rect key="frame" x="158.5" y="84" width="36" height="1"/>
  50. <color key="backgroundColor" red="0.78823529410000004" green="0.78823529410000004" blue="0.78823529410000004" alpha="1" colorSpace="calibratedRGB"/>
  51. <constraints>
  52. <constraint firstAttribute="height" constant="1" id="keF-56-EPu"/>
  53. </constraints>
  54. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  55. <nil key="textColor"/>
  56. <nil key="highlightedColor"/>
  57. </label>
  58. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Fp3-6c-GJd" userLabel="主播端">
  59. <rect key="frame" x="409" y="45" width="80" height="24"/>
  60. <subviews>
  61. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="2dT-kT-Qz3" userLabel="展示">
  62. <rect key="frame" x="0.0" y="0.0" width="39.5" height="24"/>
  63. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  64. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  65. <inset key="contentEdgeInsets" minX="8" minY="0.0" maxX="2" maxY="0.0"/>
  66. <state key="normal" title="展示">
  67. <color key="titleColor" red="0.91764705879999997" green="0.2156862745" blue="0.49803921569999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  68. </state>
  69. <state key="selected">
  70. <color key="titleColor" red="0.78823529410000004" green="0.78823529410000004" blue="0.78823529410000004" alpha="1" colorSpace="calibratedRGB"/>
  71. </state>
  72. <connections>
  73. <action selector="clikcAnchorShowBtn:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="lVu-pz-hBt"/>
  74. </connections>
  75. </button>
  76. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="l47-wa-9bz" userLabel="线">
  77. <rect key="frame" x="39.5" y="5" width="1" height="14"/>
  78. <color key="backgroundColor" red="0.78823529410000004" green="0.78823529410000004" blue="0.78823529410000004" alpha="1" colorSpace="calibratedRGB"/>
  79. <constraints>
  80. <constraint firstAttribute="width" constant="1" id="ZDe-9K-hWa"/>
  81. </constraints>
  82. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  83. <nil key="textColor"/>
  84. <nil key="highlightedColor"/>
  85. </label>
  86. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="kIZ-ow-tlo" userLabel="移除">
  87. <rect key="frame" x="40.5" y="0.0" width="39.5" height="24"/>
  88. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  89. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  90. <inset key="contentEdgeInsets" minX="2" minY="0.0" maxX="8" maxY="0.0"/>
  91. <state key="normal" title="移除">
  92. <color key="titleColor" red="0.91764705879999997" green="0.2156862745" blue="0.49803921569999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  93. </state>
  94. <connections>
  95. <action selector="clickAnchorDelBtn:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="O2S-oQ-ye2"/>
  96. </connections>
  97. </button>
  98. </subviews>
  99. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  100. <constraints>
  101. <constraint firstItem="2dT-kT-Qz3" firstAttribute="trailing" secondItem="l47-wa-9bz" secondAttribute="leading" id="1WY-aK-aOt"/>
  102. <constraint firstAttribute="width" constant="80" id="5cs-J6-4W9"/>
  103. <constraint firstItem="l47-wa-9bz" firstAttribute="centerY" secondItem="Fp3-6c-GJd" secondAttribute="centerY" id="DOf-MA-caa"/>
  104. <constraint firstItem="2dT-kT-Qz3" firstAttribute="height" secondItem="Fp3-6c-GJd" secondAttribute="height" id="NJL-LR-5e1"/>
  105. <constraint firstItem="l47-wa-9bz" firstAttribute="centerX" secondItem="Fp3-6c-GJd" secondAttribute="centerX" id="O9K-1h-xlO"/>
  106. <constraint firstItem="kIZ-ow-tlo" firstAttribute="height" secondItem="Fp3-6c-GJd" secondAttribute="height" id="OSN-QA-0ft"/>
  107. <constraint firstAttribute="height" constant="24" id="h1R-4W-UWJ"/>
  108. <constraint firstItem="2dT-kT-Qz3" firstAttribute="leading" secondItem="Fp3-6c-GJd" secondAttribute="leading" id="occ-2z-DJd"/>
  109. <constraint firstItem="2dT-kT-Qz3" firstAttribute="centerY" secondItem="Fp3-6c-GJd" secondAttribute="centerY" id="rQa-Jw-Ag8"/>
  110. <constraint firstItem="l47-wa-9bz" firstAttribute="height" secondItem="Fp3-6c-GJd" secondAttribute="height" multiplier="0.6" id="vJ5-Dh-gb9"/>
  111. <constraint firstItem="kIZ-ow-tlo" firstAttribute="centerY" secondItem="2dT-kT-Qz3" secondAttribute="centerY" id="vni-c6-OPw"/>
  112. <constraint firstItem="kIZ-ow-tlo" firstAttribute="leading" secondItem="l47-wa-9bz" secondAttribute="trailing" id="wCi-9D-yxV"/>
  113. <constraint firstAttribute="trailing" secondItem="kIZ-ow-tlo" secondAttribute="trailing" id="z0c-OG-dJ7"/>
  114. </constraints>
  115. <userDefinedRuntimeAttributes>
  116. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  117. <real key="value" value="12"/>
  118. </userDefinedRuntimeAttribute>
  119. <userDefinedRuntimeAttribute type="color" keyPath="borderColor">
  120. <color key="value" red="0.91764705879999997" green="0.2156862745" blue="0.49803921569999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  121. </userDefinedRuntimeAttribute>
  122. <userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
  123. <real key="value" value="1"/>
  124. </userDefinedRuntimeAttribute>
  125. </userDefinedRuntimeAttributes>
  126. </view>
  127. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="4uV-4s-vkX" userLabel="用户端">
  128. <rect key="frame" x="420.5" y="45" width="57" height="24"/>
  129. <constraints>
  130. <constraint firstAttribute="height" constant="24" id="6iD-fh-M0j"/>
  131. </constraints>
  132. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  133. <inset key="contentEdgeInsets" minX="10" minY="0.0" maxX="10" maxY="0.0"/>
  134. <state key="normal" title="去看看">
  135. <color key="titleColor" red="0.91764705879999997" green="0.2156862745" blue="0.49803921569999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  136. </state>
  137. <userDefinedRuntimeAttributes>
  138. <userDefinedRuntimeAttribute type="color" keyPath="borderColor">
  139. <color key="value" red="0.91764705879999997" green="0.2156862745" blue="0.49803921569999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  140. </userDefinedRuntimeAttribute>
  141. <userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
  142. <real key="value" value="1"/>
  143. </userDefinedRuntimeAttribute>
  144. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  145. <real key="value" value="12"/>
  146. </userDefinedRuntimeAttribute>
  147. </userDefinedRuntimeAttributes>
  148. <connections>
  149. <action selector="clikcUserCtrBtn:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="7A0-SU-vdt"/>
  150. </connections>
  151. </button>
  152. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="4Xk-dE-7F8" userLabel="线">
  153. <rect key="frame" x="0.0" y="113" width="494" height="1"/>
  154. <color key="backgroundColor" red="0.96078431372549022" green="0.96078431372549022" blue="0.96078431372549022" alpha="1" colorSpace="calibratedRGB"/>
  155. <constraints>
  156. <constraint firstAttribute="height" constant="1" id="IPn-R9-pM0"/>
  157. </constraints>
  158. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  159. <nil key="textColor"/>
  160. <nil key="highlightedColor"/>
  161. </label>
  162. </subviews>
  163. <constraints>
  164. <constraint firstItem="4Xk-dE-7F8" firstAttribute="width" secondItem="H2p-sc-9uM" secondAttribute="width" id="7zR-V3-V40"/>
  165. <constraint firstItem="AGP-Ig-cmZ" firstAttribute="leading" secondItem="Svn-Lr-7Ss" secondAttribute="trailing" constant="12" id="Afq-nz-j8q"/>
  166. <constraint firstAttribute="trailing" secondItem="Fp3-6c-GJd" secondAttribute="trailing" constant="5" id="Dvw-ey-LfZ"/>
  167. <constraint firstItem="AGP-Ig-cmZ" firstAttribute="top" secondItem="Svn-Lr-7Ss" secondAttribute="top" constant="10" id="FdZ-5Y-hia"/>
  168. <constraint firstItem="oBs-e6-hA0" firstAttribute="width" secondItem="Rmc-TJ-C2m" secondAttribute="width" constant="5" id="HQ1-X5-Ytx"/>
  169. <constraint firstItem="AGP-Ig-cmZ" firstAttribute="trailing" relation="lessThanOrEqual" secondItem="Fp3-6c-GJd" secondAttribute="leading" constant="-5" id="LfA-m6-Pgm"/>
  170. <constraint firstItem="Rmc-TJ-C2m" firstAttribute="leading" secondItem="8jq-uw-8s7" secondAttribute="trailing" constant="13" id="MnI-10-jv8"/>
  171. <constraint firstItem="8jq-uw-8s7" firstAttribute="leading" secondItem="AGP-Ig-cmZ" secondAttribute="leading" id="NRp-Fc-7li"/>
  172. <constraint firstItem="4Xk-dE-7F8" firstAttribute="centerX" secondItem="H2p-sc-9uM" secondAttribute="centerX" id="Ndg-yv-3J0"/>
  173. <constraint firstItem="oBs-e6-hA0" firstAttribute="centerY" secondItem="Rmc-TJ-C2m" secondAttribute="centerY" id="OkA-C5-eI8"/>
  174. <constraint firstItem="4uV-4s-vkX" firstAttribute="centerY" secondItem="Fp3-6c-GJd" secondAttribute="centerY" id="P57-Ir-feZ"/>
  175. <constraint firstItem="Svn-Lr-7Ss" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="PX8-TY-xVv"/>
  176. <constraint firstItem="Svn-Lr-7Ss" firstAttribute="height" secondItem="H2p-sc-9uM" secondAttribute="height" constant="-24" id="Vxi-nE-uIR"/>
  177. <constraint firstItem="Rmc-TJ-C2m" firstAttribute="bottom" secondItem="8jq-uw-8s7" secondAttribute="bottom" id="ata-Qq-VPK"/>
  178. <constraint firstItem="4uV-4s-vkX" firstAttribute="centerX" secondItem="Fp3-6c-GJd" secondAttribute="centerX" id="cJT-DO-eNF"/>
  179. <constraint firstItem="8jq-uw-8s7" firstAttribute="bottom" secondItem="Svn-Lr-7Ss" secondAttribute="bottom" constant="-10" id="gy8-Mc-cBi"/>
  180. <constraint firstItem="oBs-e6-hA0" firstAttribute="centerX" secondItem="Rmc-TJ-C2m" secondAttribute="centerX" id="iOZ-lq-GUB"/>
  181. <constraint firstItem="Fp3-6c-GJd" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="jCk-ck-16u"/>
  182. <constraint firstItem="Svn-Lr-7Ss" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="10" id="joP-Ib-ves"/>
  183. <constraint firstAttribute="bottom" secondItem="4Xk-dE-7F8" secondAttribute="bottom" id="ySC-Db-aix"/>
  184. </constraints>
  185. </tableViewCellContentView>
  186. <connections>
  187. <outlet property="anchorCtrView" destination="Fp3-6c-GJd" id="VHH-ff-bqN"/>
  188. <outlet property="anchorDelBtn" destination="kIZ-ow-tlo" id="B28-jJ-Ymu"/>
  189. <outlet property="anchorShowBtn" destination="2dT-kT-Qz3" id="9sP-Ri-lYX"/>
  190. <outlet property="oldPL" destination="oBs-e6-hA0" id="nyU-nf-Hmn"/>
  191. <outlet property="oldPriceL" destination="Rmc-TJ-C2m" id="bLd-sF-V1s"/>
  192. <outlet property="priceL" destination="8jq-uw-8s7" id="jlx-TB-78z"/>
  193. <outlet property="thumbIV" destination="Svn-Lr-7Ss" id="aMe-0S-DYt"/>
  194. <outlet property="titleL" destination="AGP-Ig-cmZ" id="9NW-1J-17F"/>
  195. <outlet property="userCtrBtn" destination="4uV-4s-vkX" id="hIE-PM-Ij7"/>
  196. </connections>
  197. <point key="canvasLocation" x="386.95652173913044" y="125.22321428571428"/>
  198. </tableViewCell>
  199. </objects>
  200. </document>