PlatformListCell.xib 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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="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. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" id="gTV-IL-0wX" customClass="PlatformListCell">
  13. <rect key="frame" x="0.0" y="0.0" width="167" height="265"/>
  14. <autoresizingMask key="autoresizingMask"/>
  15. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
  16. <rect key="frame" x="0.0" y="0.0" width="167" height="265"/>
  17. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  18. <subviews>
  19. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="zb4-lg-FQs">
  20. <rect key="frame" x="0.0" y="0.0" width="167" height="185"/>
  21. <color key="backgroundColor" systemColor="groupTableViewBackgroundColor"/>
  22. </imageView>
  23. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="这里是标题" textAlignment="natural" lineBreakMode="wordWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ycH-km-ga5">
  24. <rect key="frame" x="5" y="190" width="157" height="14.5"/>
  25. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  26. <nil key="textColor"/>
  27. <nil key="highlightedColor"/>
  28. </label>
  29. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="cQ2-F6-9XY">
  30. <rect key="frame" x="5" y="239" width="60" height="18"/>
  31. <color key="backgroundColor" red="0.91764705882352937" green="0.21568627450980393" blue="0.49803921568627452" alpha="0.19569762323943662" colorSpace="custom" customColorSpace="calibratedRGB"/>
  32. <constraints>
  33. <constraint firstAttribute="width" constant="60" id="65a-vs-r8X"/>
  34. <constraint firstAttribute="height" constant="18" id="7m1-vG-8E0"/>
  35. </constraints>
  36. <fontDescription key="fontDescription" type="system" pointSize="10"/>
  37. <state key="normal" title="佣 ¥100">
  38. <color key="titleColor" red="0.91764705879999997" green="0.2156862745" blue="0.49803921569999998" alpha="1" colorSpace="calibratedRGB"/>
  39. </state>
  40. </button>
  41. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="qBs-cq-N0u">
  42. <rect key="frame" x="65" y="239" width="45" height="18"/>
  43. <color key="backgroundColor" red="0.91764705879999997" green="0.2156862745" blue="0.50196078430000002" alpha="1" colorSpace="calibratedRGB"/>
  44. <constraints>
  45. <constraint firstAttribute="width" constant="45" id="iXp-qP-aql"/>
  46. </constraints>
  47. <fontDescription key="fontDescription" type="system" pointSize="10"/>
  48. <state key="normal" title="添加">
  49. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  50. </state>
  51. <connections>
  52. <action selector="addBtnClick:" destination="gTV-IL-0wX" eventType="touchUpInside" id="gt9-iI-Hej"/>
  53. </connections>
  54. </button>
  55. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="¥1" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="AcP-aP-SDM">
  56. <rect key="frame" x="5" y="222.5" width="13.5" height="14.5"/>
  57. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  58. <color key="textColor" red="0.91764705879999997" green="0.2156862745" blue="0.49803921569999998" alpha="1" colorSpace="calibratedRGB"/>
  59. <nil key="highlightedColor"/>
  60. </label>
  61. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="已售0件" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="h0d-9A-klZ">
  62. <rect key="frame" x="116.5" y="222.5" width="44.5" height="14.5"/>
  63. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  64. <color key="textColor" white="0.5" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  65. <nil key="highlightedColor"/>
  66. </label>
  67. </subviews>
  68. </view>
  69. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  70. <constraints>
  71. <constraint firstItem="qBs-cq-N0u" firstAttribute="centerY" secondItem="cQ2-F6-9XY" secondAttribute="centerY" id="0cn-z1-MNs"/>
  72. <constraint firstAttribute="bottom" secondItem="zb4-lg-FQs" secondAttribute="bottom" constant="80" id="1AI-MQ-VUM"/>
  73. <constraint firstAttribute="trailing" secondItem="ycH-km-ga5" secondAttribute="trailing" constant="5" id="4lB-FQ-0TW"/>
  74. <constraint firstItem="AcP-aP-SDM" firstAttribute="leading" secondItem="cQ2-F6-9XY" secondAttribute="leading" id="53L-I3-aFi"/>
  75. <constraint firstItem="h0d-9A-klZ" firstAttribute="centerY" secondItem="AcP-aP-SDM" secondAttribute="centerY" id="6bq-2w-w7V"/>
  76. <constraint firstItem="cQ2-F6-9XY" firstAttribute="leading" secondItem="ycH-km-ga5" secondAttribute="leading" id="BgD-Pv-0IO"/>
  77. <constraint firstItem="ycH-km-ga5" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="5" id="Bn6-mZ-1yI"/>
  78. <constraint firstAttribute="trailing" secondItem="zb4-lg-FQs" secondAttribute="trailing" id="E7A-Sz-7Gh"/>
  79. <constraint firstItem="cQ2-F6-9XY" firstAttribute="top" secondItem="AcP-aP-SDM" secondAttribute="bottom" constant="2" id="QI5-yb-Kfv"/>
  80. <constraint firstItem="qBs-cq-N0u" firstAttribute="height" secondItem="cQ2-F6-9XY" secondAttribute="height" id="Wx0-bZ-Tfr"/>
  81. <constraint firstItem="zb4-lg-FQs" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="brY-tL-Odi"/>
  82. <constraint firstItem="qBs-cq-N0u" firstAttribute="leading" secondItem="cQ2-F6-9XY" secondAttribute="trailing" id="eM9-Rw-2XV"/>
  83. <constraint firstItem="zb4-lg-FQs" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="ieS-lH-Sjj"/>
  84. <constraint firstAttribute="trailing" secondItem="h0d-9A-klZ" secondAttribute="trailing" constant="6" id="k3C-vB-AkH"/>
  85. <constraint firstAttribute="bottom" secondItem="cQ2-F6-9XY" secondAttribute="bottom" constant="8" id="rnn-Lr-2FH"/>
  86. <constraint firstItem="ycH-km-ga5" firstAttribute="top" secondItem="zb4-lg-FQs" secondAttribute="bottom" constant="5" id="zeL-1O-NUs"/>
  87. </constraints>
  88. <size key="customSize" width="167" height="265"/>
  89. <userDefinedRuntimeAttributes>
  90. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  91. <real key="value" value="5"/>
  92. </userDefinedRuntimeAttribute>
  93. </userDefinedRuntimeAttributes>
  94. <connections>
  95. <outlet property="addBtn" destination="qBs-cq-N0u" id="e6M-N1-riZ"/>
  96. <outlet property="commissionBtn" destination="cQ2-F6-9XY" id="K9x-pB-nLj"/>
  97. <outlet property="priceLb" destination="AcP-aP-SDM" id="Sb4-h8-E1B"/>
  98. <outlet property="saleLb" destination="h0d-9A-klZ" id="3G4-O1-jlO"/>
  99. <outlet property="thumbImg" destination="zb4-lg-FQs" id="LSn-Bj-Xv8"/>
  100. <outlet property="titleLb" destination="ycH-km-ga5" id="qwC-MM-Rpg"/>
  101. </connections>
  102. <point key="canvasLocation" x="-36" y="152"/>
  103. </collectionViewCell>
  104. </objects>
  105. <resources>
  106. <systemColor name="groupTableViewBackgroundColor">
  107. <color red="0.94901960784313721" green="0.94901960784313721" blue="0.96862745098039216" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  108. </systemColor>
  109. </resources>
  110. </document>