PlatformCell.xib 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  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="retina6_1" 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. <collectionViewCell autoresizesSubviews="NO" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="PlatformCELL" id="p92-fw-jUc" userLabel="PlatformCeLL" customClass="PlatformCell">
  14. <rect key="frame" x="0.0" y="0.0" width="193" height="294"/>
  15. <autoresizingMask key="autoresizingMask"/>
  16. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
  17. <rect key="frame" x="0.0" y="0.0" width="193" height="294"/>
  18. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  19. <subviews>
  20. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="h0I-1k-4qP">
  21. <rect key="frame" x="0.0" y="0.0" width="193" height="193"/>
  22. <constraints>
  23. <constraint firstAttribute="width" secondItem="h0I-1k-4qP" secondAttribute="height" multiplier="1:1" id="5Qr-9i-X3v"/>
  24. </constraints>
  25. </imageView>
  26. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Brg-io-h2B">
  27. <rect key="frame" x="7" y="200" width="179" height="16"/>
  28. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  29. <nil key="textColor"/>
  30. <nil key="highlightedColor"/>
  31. </label>
  32. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="PIG-os-WeO">
  33. <rect key="frame" x="7" y="248" width="35.5" height="16"/>
  34. <fontDescription key="fontDescription" type="boldSystem" pointSize="13"/>
  35. <color key="textColor" red="0.91764705882352937" green="0.21568627450980393" blue="0.49803921568627452" alpha="1" colorSpace="calibratedRGB"/>
  36. <nil key="highlightedColor"/>
  37. </label>
  38. <view hidden="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="hfm-Q5-vRg">
  39. <rect key="frame" x="5" y="5" width="46.5" height="20"/>
  40. <subviews>
  41. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="XzG-ra-VCE">
  42. <rect key="frame" x="10" y="4" width="26.5" height="12"/>
  43. <fontDescription key="fontDescription" type="system" pointSize="10"/>
  44. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  45. <nil key="highlightedColor"/>
  46. </label>
  47. </subviews>
  48. <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.59999999999999998" colorSpace="custom" customColorSpace="calibratedRGB"/>
  49. <constraints>
  50. <constraint firstItem="XzG-ra-VCE" firstAttribute="leading" secondItem="hfm-Q5-vRg" secondAttribute="leading" constant="10" id="03s-Z8-hiE"/>
  51. <constraint firstItem="XzG-ra-VCE" firstAttribute="centerY" secondItem="hfm-Q5-vRg" secondAttribute="centerY" id="6yj-WS-c3l"/>
  52. <constraint firstAttribute="height" constant="20" id="CNR-sJ-64c"/>
  53. <constraint firstItem="XzG-ra-VCE" firstAttribute="centerX" secondItem="hfm-Q5-vRg" secondAttribute="centerX" id="QAO-pz-HkS"/>
  54. <constraint firstAttribute="trailing" secondItem="XzG-ra-VCE" secondAttribute="trailing" constant="10" id="vPb-Hw-hHS"/>
  55. </constraints>
  56. <userDefinedRuntimeAttributes>
  57. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  58. <real key="value" value="10"/>
  59. </userDefinedRuntimeAttribute>
  60. </userDefinedRuntimeAttributes>
  61. </view>
  62. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="已售0件" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="m2b-0B-sNT">
  63. <rect key="frame" x="130" y="248" width="48" height="16"/>
  64. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  65. <color key="textColor" systemColor="systemGrayColor"/>
  66. <nil key="highlightedColor"/>
  67. </label>
  68. <label hidden="YES" opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="FYU-Rz-WmO">
  69. <rect key="frame" x="130" y="255.5" width="48" height="1"/>
  70. <color key="backgroundColor" red="0.58823529409999997" green="0.58823529409999997" blue="0.58823529409999997" alpha="1" colorSpace="calibratedRGB"/>
  71. <constraints>
  72. <constraint firstAttribute="height" constant="1" id="5dh-Nh-hIl"/>
  73. </constraints>
  74. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  75. <color key="textColor" red="0.58823529409999997" green="0.58823529409999997" blue="0.58823529409999997" alpha="1" colorSpace="calibratedRGB"/>
  76. <nil key="highlightedColor"/>
  77. </label>
  78. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="佣 ¥100" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Pmg-7j-dlV">
  79. <rect key="frame" x="7" y="269" width="60" height="20"/>
  80. <color key="backgroundColor" red="0.91764705882352937" green="0.21568627450980393" blue="0.49803921568627452" alpha="0.20337257922535212" colorSpace="custom" customColorSpace="calibratedRGB"/>
  81. <constraints>
  82. <constraint firstAttribute="height" constant="20" id="1WU-62-ceJ"/>
  83. <constraint firstAttribute="width" constant="60" id="VSa-9L-xXA"/>
  84. </constraints>
  85. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  86. <color key="textColor" red="0.91764705879999997" green="0.2156862745" blue="0.49803921569999998" alpha="1" colorSpace="calibratedRGB"/>
  87. <nil key="highlightedColor"/>
  88. <userDefinedRuntimeAttributes>
  89. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  90. <real key="value" value="10"/>
  91. </userDefinedRuntimeAttribute>
  92. </userDefinedRuntimeAttributes>
  93. </label>
  94. </subviews>
  95. </view>
  96. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  97. <constraints>
  98. <constraint firstItem="Brg-io-h2B" firstAttribute="leading" secondItem="h0I-1k-4qP" secondAttribute="leading" constant="7" id="10C-8G-pq3"/>
  99. <constraint firstAttribute="trailing" secondItem="m2b-0B-sNT" secondAttribute="trailing" constant="15" id="4Nf-R3-gyk"/>
  100. <constraint firstItem="Brg-io-h2B" firstAttribute="width" secondItem="h0I-1k-4qP" secondAttribute="width" constant="-14" id="5o8-Cx-IUk"/>
  101. <constraint firstItem="hfm-Q5-vRg" firstAttribute="leading" secondItem="p92-fw-jUc" secondAttribute="leading" constant="5" id="71q-IG-l8f"/>
  102. <constraint firstAttribute="bottom" secondItem="PIG-os-WeO" secondAttribute="bottom" constant="30" id="845-Kb-raW"/>
  103. <constraint firstItem="Pmg-7j-dlV" firstAttribute="leading" secondItem="PIG-os-WeO" secondAttribute="leading" id="DES-2A-iYO"/>
  104. <constraint firstAttribute="bottom" secondItem="Pmg-7j-dlV" secondAttribute="bottom" constant="5" id="VMV-hM-be4"/>
  105. <constraint firstItem="h0I-1k-4qP" firstAttribute="top" secondItem="p92-fw-jUc" secondAttribute="top" id="ZCc-cU-Aha"/>
  106. <constraint firstItem="FYU-Rz-WmO" firstAttribute="trailing" secondItem="m2b-0B-sNT" secondAttribute="trailing" id="d2H-NS-i2K"/>
  107. <constraint firstItem="m2b-0B-sNT" firstAttribute="centerY" secondItem="PIG-os-WeO" secondAttribute="centerY" id="h0Z-W4-d7w"/>
  108. <constraint firstItem="h0I-1k-4qP" firstAttribute="leading" secondItem="p92-fw-jUc" secondAttribute="leading" id="jHf-aQ-fxC"/>
  109. <constraint firstItem="Brg-io-h2B" firstAttribute="top" secondItem="h0I-1k-4qP" secondAttribute="bottom" constant="7" id="oRm-wL-FEp"/>
  110. <constraint firstItem="PIG-os-WeO" firstAttribute="leading" secondItem="Brg-io-h2B" secondAttribute="leading" id="qLh-U2-s1E"/>
  111. <constraint firstItem="hfm-Q5-vRg" firstAttribute="top" secondItem="p92-fw-jUc" secondAttribute="top" constant="5" id="tkr-rV-WgS"/>
  112. <constraint firstAttribute="trailing" secondItem="h0I-1k-4qP" secondAttribute="trailing" id="xpZ-r2-1i9"/>
  113. <constraint firstItem="FYU-Rz-WmO" firstAttribute="centerY" secondItem="m2b-0B-sNT" secondAttribute="centerY" id="xqL-RM-SWH"/>
  114. <constraint firstItem="FYU-Rz-WmO" firstAttribute="leading" secondItem="m2b-0B-sNT" secondAttribute="leading" id="z9B-1M-S4K"/>
  115. </constraints>
  116. <size key="customSize" width="193" height="294"/>
  117. <userDefinedRuntimeAttributes>
  118. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  119. <real key="value" value="5"/>
  120. </userDefinedRuntimeAttribute>
  121. </userDefinedRuntimeAttributes>
  122. <connections>
  123. <outlet property="commissionLb" destination="Pmg-7j-dlV" id="hjr-Yy-q1e"/>
  124. <outlet property="lineLb" destination="FYU-Rz-WmO" id="Zz3-S7-7hE"/>
  125. <outlet property="priceL" destination="PIG-os-WeO" id="0Nn-Nh-90s"/>
  126. <outlet property="sellCountLb" destination="m2b-0B-sNT" id="GX8-Ey-oPN"/>
  127. <outlet property="statusLabel" destination="XzG-ra-VCE" id="1JT-9q-hWB"/>
  128. <outlet property="statusView" destination="hfm-Q5-vRg" id="gWS-u4-c1z"/>
  129. <outlet property="thumbImgV" destination="h0I-1k-4qP" id="vUn-6y-FQQ"/>
  130. <outlet property="titleL" destination="Brg-io-h2B" id="rsa-5i-1DF"/>
  131. </connections>
  132. <point key="canvasLocation" x="-3.6231884057971016" y="107.14285714285714"/>
  133. </collectionViewCell>
  134. </objects>
  135. <resources>
  136. <systemColor name="systemGrayColor">
  137. <color red="0.55686274509803924" green="0.55686274509803924" blue="0.57647058823529407" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  138. </systemColor>
  139. </resources>
  140. </document>