shopCell.xib 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21507" 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="21505"/>
  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="shopCELL" id="gTV-IL-0wX" customClass="shopCell">
  14. <rect key="frame" x="0.0" y="0.0" width="188" height="268"/>
  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="188" height="268"/>
  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="R4Z-wS-dFq">
  21. <rect key="frame" x="0.0" y="0.0" width="188" height="188"/>
  22. <constraints>
  23. <constraint firstAttribute="width" secondItem="R4Z-wS-dFq" secondAttribute="height" multiplier="1:1" id="mQA-8d-7xt"/>
  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="FH3-Fx-w7c">
  27. <rect key="frame" x="7" y="195" width="174" 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="mSN-Jq-GQk">
  33. <rect key="frame" x="7" y="244" width="35.5" height="16"/>
  34. <fontDescription key="fontDescription" type="boldSystem" pointSize="13"/>
  35. <color key="textColor" red="0.91764705879999997" green="0.2156862745" blue="0.49803921569999998" alpha="1" colorSpace="calibratedRGB"/>
  36. <nil key="highlightedColor"/>
  37. </label>
  38. <view hidden="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ivX-1r-MVK">
  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="P4P-Yq-3gy">
  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 firstAttribute="trailing" secondItem="P4P-Yq-3gy" secondAttribute="trailing" constant="10" id="9gd-wV-qum"/>
  51. <constraint firstItem="P4P-Yq-3gy" firstAttribute="leading" secondItem="ivX-1r-MVK" secondAttribute="leading" constant="10" id="QyF-wC-xcc"/>
  52. <constraint firstAttribute="height" constant="20" id="XGW-fl-fXs"/>
  53. <constraint firstItem="P4P-Yq-3gy" firstAttribute="centerY" secondItem="ivX-1r-MVK" secondAttribute="centerY" id="a7E-R6-aeM"/>
  54. <constraint firstItem="P4P-Yq-3gy" firstAttribute="centerX" secondItem="ivX-1r-MVK" secondAttribute="centerX" id="kBZ-Mz-kkP"/>
  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="7xn-W9-s7L">
  63. <rect key="frame" x="125" y="244" 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="GmW-DO-X1G">
  69. <rect key="frame" x="125" y="251.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="RQR-dg-nev"/>
  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. </subviews>
  79. </view>
  80. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  81. <constraints>
  82. <constraint firstAttribute="bottom" secondItem="mSN-Jq-GQk" secondAttribute="bottom" constant="8" id="0Qh-t6-n02"/>
  83. <constraint firstItem="R4Z-wS-dFq" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="3Dj-fG-0UH"/>
  84. <constraint firstItem="FH3-Fx-w7c" firstAttribute="leading" secondItem="R4Z-wS-dFq" secondAttribute="leading" constant="7" id="3cJ-R0-Vg6"/>
  85. <constraint firstAttribute="trailing" secondItem="7xn-W9-s7L" secondAttribute="trailing" constant="15" id="7Br-5B-GjR"/>
  86. <constraint firstItem="7xn-W9-s7L" firstAttribute="centerY" secondItem="mSN-Jq-GQk" secondAttribute="centerY" id="CGT-0D-6xt"/>
  87. <constraint firstItem="mSN-Jq-GQk" firstAttribute="leading" secondItem="FH3-Fx-w7c" secondAttribute="leading" id="GWa-Er-xo4"/>
  88. <constraint firstItem="ivX-1r-MVK" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="5" id="V9k-ps-jTt"/>
  89. <constraint firstItem="FH3-Fx-w7c" firstAttribute="top" secondItem="R4Z-wS-dFq" secondAttribute="bottom" constant="7" id="bn9-Tl-Urx"/>
  90. <constraint firstItem="GmW-DO-X1G" firstAttribute="leading" secondItem="7xn-W9-s7L" secondAttribute="leading" id="hrh-BL-DYR"/>
  91. <constraint firstItem="GmW-DO-X1G" firstAttribute="trailing" secondItem="7xn-W9-s7L" secondAttribute="trailing" id="jZJ-rh-oF7"/>
  92. <constraint firstAttribute="trailing" secondItem="R4Z-wS-dFq" secondAttribute="trailing" id="juH-Cf-wkE"/>
  93. <constraint firstItem="FH3-Fx-w7c" firstAttribute="width" secondItem="R4Z-wS-dFq" secondAttribute="width" constant="-14" id="q1k-6D-TDd"/>
  94. <constraint firstItem="ivX-1r-MVK" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="5" id="sNF-Wt-VVz"/>
  95. <constraint firstItem="R4Z-wS-dFq" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="sNw-bu-Zly"/>
  96. <constraint firstItem="GmW-DO-X1G" firstAttribute="centerY" secondItem="7xn-W9-s7L" secondAttribute="centerY" id="uoD-77-605"/>
  97. </constraints>
  98. <size key="customSize" width="188" height="268"/>
  99. <userDefinedRuntimeAttributes>
  100. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  101. <real key="value" value="5"/>
  102. </userDefinedRuntimeAttribute>
  103. </userDefinedRuntimeAttributes>
  104. <connections>
  105. <outlet property="lineLb" destination="GmW-DO-X1G" id="w4v-p6-Fh7"/>
  106. <outlet property="priceL" destination="mSN-Jq-GQk" id="unf-R1-HQU"/>
  107. <outlet property="sellCountLb" destination="7xn-W9-s7L" id="YvY-Kk-J5r"/>
  108. <outlet property="statusLabel" destination="P4P-Yq-3gy" id="zYw-Q4-K0o"/>
  109. <outlet property="statusView" destination="ivX-1r-MVK" id="s4d-Pw-S54"/>
  110. <outlet property="thumbImgV" destination="R4Z-wS-dFq" id="eAZ-SK-4se"/>
  111. <outlet property="titleL" destination="FH3-Fx-w7c" id="T2p-iW-YTe"/>
  112. </connections>
  113. <point key="canvasLocation" x="84.799999999999997" y="111.54422788605699"/>
  114. </collectionViewCell>
  115. </objects>
  116. <resources>
  117. <systemColor name="systemGrayColor">
  118. <color red="0.55686274509803924" green="0.55686274509803924" blue="0.57647058823529407" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  119. </systemColor>
  120. </resources>
  121. </document>