ShopMallCell.xib 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina6_12" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21679"/>
  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="ShopMallCell" id="kFi-UP-TS2" userLabel="Shop Mall Cell" customClass="ShopMallCell">
  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="RFg-QK-oHi">
  21. <rect key="frame" x="0.0" y="0.0" width="188" height="200"/>
  22. </imageView>
  23. <view hidden="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="xPt-Sq-2Gr">
  24. <rect key="frame" x="5" y="5" width="46.666666666666664" height="20"/>
  25. <subviews>
  26. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="L6P-IZ-RiT">
  27. <rect key="frame" x="10.000000000000002" y="4" width="26.666666666666671" height="12"/>
  28. <fontDescription key="fontDescription" type="system" pointSize="10"/>
  29. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  30. <nil key="highlightedColor"/>
  31. </label>
  32. </subviews>
  33. <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.59999999999999998" colorSpace="custom" customColorSpace="calibratedRGB"/>
  34. <constraints>
  35. <constraint firstItem="L6P-IZ-RiT" firstAttribute="centerX" secondItem="xPt-Sq-2Gr" secondAttribute="centerX" id="ORZ-X2-yCe"/>
  36. <constraint firstAttribute="height" constant="20" id="RpB-R8-W5X"/>
  37. <constraint firstItem="L6P-IZ-RiT" firstAttribute="centerY" secondItem="xPt-Sq-2Gr" secondAttribute="centerY" id="cnG-k2-YyH"/>
  38. <constraint firstAttribute="trailing" secondItem="L6P-IZ-RiT" secondAttribute="trailing" constant="10" id="eMq-eQ-dLB"/>
  39. <constraint firstItem="L6P-IZ-RiT" firstAttribute="leading" secondItem="xPt-Sq-2Gr" secondAttribute="leading" constant="10" id="v2f-9s-jSL"/>
  40. </constraints>
  41. <userDefinedRuntimeAttributes>
  42. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  43. <real key="value" value="10"/>
  44. </userDefinedRuntimeAttribute>
  45. </userDefinedRuntimeAttributes>
  46. </view>
  47. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Aal-3c-JnX">
  48. <rect key="frame" x="0.0" y="200" width="188" height="68"/>
  49. <subviews>
  50. <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="Pmb-O3-6zv">
  51. <rect key="frame" x="7" y="4.9999999999999991" width="175" height="15.666666666666664"/>
  52. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  53. <color key="textColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  54. <nil key="highlightedColor"/>
  55. </label>
  56. <label hidden="YES" opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="KH7-l3-eql">
  57. <rect key="frame" x="132" y="46" width="48" height="1"/>
  58. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  59. <color key="backgroundColor" red="0.58823529409999997" green="0.58823529409999997" blue="0.58823529409999997" alpha="1" colorSpace="calibratedRGB"/>
  60. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  61. <color key="textColor" red="0.58823529409999997" green="0.58823529409999997" blue="0.58823529409999997" alpha="1" colorSpace="calibratedRGB"/>
  62. <nil key="highlightedColor"/>
  63. </label>
  64. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="R2n-nh-O0P">
  65. <rect key="frame" x="7" y="35" width="40" height="23"/>
  66. <fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
  67. <color key="textColor" red="0.91764705882352937" green="0.21568627450980393" blue="0.49803921568627452" alpha="1" colorSpace="calibratedRGB"/>
  68. <nil key="highlightedColor"/>
  69. </label>
  70. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="已售0件" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1OV-MJ-9gf">
  71. <rect key="frame" x="135.66666666666666" y="39.333333333333343" width="44.333333333333343" height="14.333333333333336"/>
  72. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  73. <color key="textColor" systemColor="systemGrayColor"/>
  74. <nil key="highlightedColor"/>
  75. </label>
  76. </subviews>
  77. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  78. <constraints>
  79. <constraint firstItem="Pmb-O3-6zv" firstAttribute="leading" secondItem="Aal-3c-JnX" secondAttribute="leading" constant="7" id="DtK-Tm-fe3"/>
  80. <constraint firstItem="1OV-MJ-9gf" firstAttribute="centerY" secondItem="R2n-nh-O0P" secondAttribute="centerY" id="Ntl-Vb-dw0"/>
  81. <constraint firstAttribute="height" constant="68" id="TTi-8E-Z1n"/>
  82. <constraint firstItem="KH7-l3-eql" firstAttribute="centerY" secondItem="1OV-MJ-9gf" secondAttribute="centerY" id="kIv-JX-CDV"/>
  83. <constraint firstAttribute="trailing" secondItem="Pmb-O3-6zv" secondAttribute="trailing" constant="6" id="oRh-CF-Iu0"/>
  84. <constraint firstItem="Pmb-O3-6zv" firstAttribute="top" secondItem="Aal-3c-JnX" secondAttribute="top" constant="5" id="pKc-Ce-8WU"/>
  85. <constraint firstAttribute="trailing" secondItem="1OV-MJ-9gf" secondAttribute="trailing" constant="8" id="vtr-AC-VnY"/>
  86. <constraint firstAttribute="bottom" secondItem="R2n-nh-O0P" secondAttribute="bottom" constant="10" id="w55-JN-jfH"/>
  87. <constraint firstItem="R2n-nh-O0P" firstAttribute="leading" secondItem="Pmb-O3-6zv" secondAttribute="leading" id="ygx-jw-kw1"/>
  88. </constraints>
  89. </view>
  90. </subviews>
  91. </view>
  92. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  93. <constraints>
  94. <constraint firstItem="RFg-QK-oHi" firstAttribute="leading" secondItem="kFi-UP-TS2" secondAttribute="leading" id="4pM-hl-vyv"/>
  95. <constraint firstAttribute="bottom" secondItem="Aal-3c-JnX" secondAttribute="bottom" id="I75-CL-spO"/>
  96. <constraint firstItem="RFg-QK-oHi" firstAttribute="top" secondItem="kFi-UP-TS2" secondAttribute="top" id="IOr-uv-oxC"/>
  97. <constraint firstItem="xPt-Sq-2Gr" firstAttribute="leading" secondItem="kFi-UP-TS2" secondAttribute="leading" constant="5" id="IX5-Rf-aIe"/>
  98. <constraint firstItem="xPt-Sq-2Gr" firstAttribute="top" secondItem="kFi-UP-TS2" secondAttribute="top" constant="5" id="Knw-yP-sde"/>
  99. <constraint firstAttribute="trailing" secondItem="RFg-QK-oHi" secondAttribute="trailing" id="OuG-8P-wFh"/>
  100. <constraint firstAttribute="trailing" secondItem="Aal-3c-JnX" secondAttribute="trailing" id="VSu-hn-xzP"/>
  101. <constraint firstItem="Aal-3c-JnX" firstAttribute="top" secondItem="RFg-QK-oHi" secondAttribute="bottom" id="hZF-jl-18u"/>
  102. <constraint firstItem="Aal-3c-JnX" firstAttribute="leading" secondItem="kFi-UP-TS2" secondAttribute="leading" id="lja-FF-Ybv"/>
  103. </constraints>
  104. <size key="customSize" width="188" height="268"/>
  105. <userDefinedRuntimeAttributes>
  106. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  107. <real key="value" value="15"/>
  108. </userDefinedRuntimeAttribute>
  109. </userDefinedRuntimeAttributes>
  110. <connections>
  111. <outlet property="lineLb" destination="KH7-l3-eql" id="SXC-Jh-MJw"/>
  112. <outlet property="priceL" destination="R2n-nh-O0P" id="hU9-UC-usg"/>
  113. <outlet property="sellCountLb" destination="1OV-MJ-9gf" id="lkN-gU-JHl"/>
  114. <outlet property="statusLabel" destination="L6P-IZ-RiT" id="Wda-Zh-x27"/>
  115. <outlet property="statusView" destination="xPt-Sq-2Gr" id="wyQ-1s-AJP"/>
  116. <outlet property="thumbImgV" destination="RFg-QK-oHi" id="Zwm-Nb-tQE"/>
  117. <outlet property="titleL" destination="Pmb-O3-6zv" id="g1B-fF-IEO"/>
  118. </connections>
  119. <point key="canvasLocation" x="-113" y="123"/>
  120. </collectionViewCell>
  121. </objects>
  122. <resources>
  123. <systemColor name="systemGrayColor">
  124. <color red="0.55686274509803924" green="0.55686274509803924" blue="0.57647058823529407" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  125. </systemColor>
  126. </resources>
  127. </document>