SearchHorizontalCell.xib 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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" useSafeAreas="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="SearchHorizontalCELL" id="Yjz-66-yR1" userLabel="SearchHorizontalCell" customClass="SearchHorizontalCell">
  14. <rect key="frame" x="0.0" y="0.0" width="350" height="118"/>
  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="350" height="118"/>
  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="1iC-pf-gtr">
  21. <rect key="frame" x="12" y="8" width="102" height="102"/>
  22. <constraints>
  23. <constraint firstAttribute="width" constant="102" id="5qV-jC-AF1"/>
  24. <constraint firstAttribute="height" constant="102" id="BaS-82-vSL"/>
  25. </constraints>
  26. <userDefinedRuntimeAttributes>
  27. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  28. <real key="value" value="5"/>
  29. </userDefinedRuntimeAttribute>
  30. </userDefinedRuntimeAttributes>
  31. </imageView>
  32. <view hidden="YES" contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="f77-NF-nZ7">
  33. <rect key="frame" x="5" y="5" width="46.5" height="20"/>
  34. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  35. <subviews>
  36. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="yca-Eg-bxD">
  37. <rect key="frame" x="10" y="4" width="26.5" height="12"/>
  38. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  39. <fontDescription key="fontDescription" type="system" pointSize="10"/>
  40. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  41. <nil key="highlightedColor"/>
  42. </label>
  43. </subviews>
  44. <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.59999999999999998" colorSpace="custom" customColorSpace="calibratedRGB"/>
  45. <userDefinedRuntimeAttributes>
  46. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  47. <real key="value" value="10"/>
  48. </userDefinedRuntimeAttribute>
  49. </userDefinedRuntimeAttributes>
  50. </view>
  51. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="1111111111" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="pn2-72-sKZ">
  52. <rect key="frame" x="126" y="33" width="67.5" height="18"/>
  53. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  54. <nil key="textColor"/>
  55. <nil key="highlightedColor"/>
  56. </label>
  57. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="LTy-kp-8Uq">
  58. <rect key="frame" x="126" y="66" width="35.5" height="16"/>
  59. <fontDescription key="fontDescription" type="boldSystem" pointSize="13"/>
  60. <color key="textColor" red="0.98431372549999996" green="0.28235294119999998" blue="0.54901960780000003" alpha="1" colorSpace="calibratedRGB"/>
  61. <nil key="highlightedColor"/>
  62. </label>
  63. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="已售0件" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="A6n-l9-x7K">
  64. <rect key="frame" x="221.5" y="66" width="48" height="16"/>
  65. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  66. <color key="textColor" systemColor="systemGrayColor"/>
  67. <nil key="highlightedColor"/>
  68. </label>
  69. <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="NpG-wE-AuA">
  70. <rect key="frame" x="221.5" y="73.5" width="48" height="1"/>
  71. <color key="backgroundColor" red="0.58823529409999997" green="0.58823529409999997" blue="0.58823529409999997" alpha="1" colorSpace="calibratedRGB"/>
  72. <constraints>
  73. <constraint firstAttribute="height" constant="1" id="302-3K-mQd"/>
  74. </constraints>
  75. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  76. <color key="textColor" red="0.58823529409999997" green="0.58823529409999997" blue="0.58823529409999997" alpha="1" colorSpace="calibratedRGB"/>
  77. <nil key="highlightedColor"/>
  78. </label>
  79. </subviews>
  80. </view>
  81. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  82. <constraints>
  83. <constraint firstItem="LTy-kp-8Uq" firstAttribute="top" secondItem="pn2-72-sKZ" secondAttribute="bottom" constant="15" id="Fcq-ws-qqL"/>
  84. <constraint firstItem="pn2-72-sKZ" firstAttribute="leading" secondItem="1iC-pf-gtr" secondAttribute="trailing" constant="12" id="Kmr-rx-kCd"/>
  85. <constraint firstItem="1iC-pf-gtr" firstAttribute="leading" secondItem="Yjz-66-yR1" secondAttribute="leading" constant="12" id="U0R-Ls-Fxf"/>
  86. <constraint firstItem="A6n-l9-x7K" firstAttribute="leading" secondItem="LTy-kp-8Uq" secondAttribute="trailing" constant="60" id="WPT-uH-oet"/>
  87. <constraint firstItem="LTy-kp-8Uq" firstAttribute="leading" secondItem="pn2-72-sKZ" secondAttribute="leading" id="XeR-bL-I6K"/>
  88. <constraint firstItem="NpG-wE-AuA" firstAttribute="centerY" secondItem="A6n-l9-x7K" secondAttribute="centerY" id="eea-Ki-0hH"/>
  89. <constraint firstItem="NpG-wE-AuA" firstAttribute="trailing" secondItem="A6n-l9-x7K" secondAttribute="trailing" id="faG-R7-cm6"/>
  90. <constraint firstItem="pn2-72-sKZ" firstAttribute="top" secondItem="1iC-pf-gtr" secondAttribute="top" constant="25" id="rWU-Df-icE"/>
  91. <constraint firstItem="1iC-pf-gtr" firstAttribute="centerY" secondItem="Yjz-66-yR1" secondAttribute="centerY" id="rck-vX-k8M"/>
  92. <constraint firstItem="A6n-l9-x7K" firstAttribute="centerY" secondItem="LTy-kp-8Uq" secondAttribute="centerY" id="yHU-as-iJr"/>
  93. <constraint firstItem="NpG-wE-AuA" firstAttribute="leading" secondItem="A6n-l9-x7K" secondAttribute="leading" id="yxe-BE-h19"/>
  94. </constraints>
  95. <size key="customSize" width="350" height="116"/>
  96. <userDefinedRuntimeAttributes>
  97. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  98. <real key="value" value="5"/>
  99. </userDefinedRuntimeAttribute>
  100. </userDefinedRuntimeAttributes>
  101. <connections>
  102. <outlet property="lineLb" destination="NpG-wE-AuA" id="u9V-MA-MzI"/>
  103. <outlet property="priceL" destination="LTy-kp-8Uq" id="Lnv-0J-2QP"/>
  104. <outlet property="sellCountLb" destination="A6n-l9-x7K" id="JUg-FY-YSX"/>
  105. <outlet property="statusView" destination="f77-NF-nZ7" id="2Ll-td-uwc"/>
  106. <outlet property="thumbImgV" destination="1iC-pf-gtr" id="nKP-xB-Y4o"/>
  107. <outlet property="titleL" destination="pn2-72-sKZ" id="M4F-l9-F5S"/>
  108. </connections>
  109. <point key="canvasLocation" x="111.59420289855073" y="60.267857142857139"/>
  110. </collectionViewCell>
  111. </objects>
  112. <resources>
  113. <systemColor name="systemGrayColor">
  114. <color red="0.55686274509803924" green="0.55686274509803924" blue="0.57647058823529407" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  115. </systemColor>
  116. </resources>
  117. </document>