HomeGoodBookCell.xib 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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="Safe area layout guides" minToolsVersion="9.0"/>
  8. <capability name="System colors in document resources" minToolsVersion="11.0"/>
  9. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  10. </dependencies>
  11. <objects>
  12. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  13. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  14. <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="230" id="63J-iM-Uir" customClass="HomeGoodBookCell">
  15. <rect key="frame" x="0.0" y="0.0" width="320" height="200"/>
  16. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  17. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="63J-iM-Uir" id="wKr-lZ-aE8">
  18. <rect key="frame" x="0.0" y="0.0" width="320" height="200"/>
  19. <autoresizingMask key="autoresizingMask"/>
  20. <subviews>
  21. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" verticalCompressionResistancePriority="749" image="home_hot_icon" translatesAutoresizingMaskIntoConstraints="NO" id="LAe-q4-Na6">
  22. <rect key="frame" x="15" y="15" width="32" height="16"/>
  23. </imageView>
  24. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="精品推荐" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="kmx-3v-ANh">
  25. <rect key="frame" x="56" y="15" width="65.5" height="16"/>
  26. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  27. <nil key="textColor"/>
  28. <nil key="highlightedColor"/>
  29. </label>
  30. <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" dataMode="none" translatesAutoresizingMaskIntoConstraints="NO" id="ysF-Xb-9r9">
  31. <rect key="frame" x="0.0" y="46" width="320" height="100"/>
  32. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  33. <constraints>
  34. <constraint firstAttribute="height" constant="100" id="Gf8-xE-dZW"/>
  35. </constraints>
  36. <collectionViewFlowLayout key="collectionViewLayout" minimumLineSpacing="10" minimumInteritemSpacing="10" id="8Au-5u-0Gd">
  37. <size key="itemSize" width="50" height="50"/>
  38. <size key="headerReferenceSize" width="0.0" height="0.0"/>
  39. <size key="footerReferenceSize" width="0.0" height="0.0"/>
  40. <inset key="sectionInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/>
  41. </collectionViewFlowLayout>
  42. </collectionView>
  43. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="r2y-Yb-UuW">
  44. <rect key="frame" x="0.0" y="190" width="320" height="10"/>
  45. <color key="backgroundColor" red="0.97254901960784312" green="0.97647058823529409" blue="0.98431372549019602" alpha="1" colorSpace="calibratedRGB"/>
  46. <constraints>
  47. <constraint firstAttribute="height" constant="10" id="7KS-lS-bz3"/>
  48. </constraints>
  49. </view>
  50. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="tU7-ce-Bjd">
  51. <rect key="frame" x="0.0" y="146" width="320" height="44"/>
  52. <subviews>
  53. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="换一批" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bBp-0z-Vof">
  54. <rect key="frame" x="146.5" y="13.5" width="43" height="17"/>
  55. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  56. <color key="textColor" red="0.22352941179999999" green="0.47450980390000003" blue="0.82745098039999998" alpha="1" colorSpace="calibratedRGB"/>
  57. <nil key="highlightedColor"/>
  58. </label>
  59. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Book_huan_Btn" translatesAutoresizingMaskIntoConstraints="NO" id="NYx-Wu-Vty">
  60. <rect key="frame" x="131.5" y="16.5" width="11" height="11"/>
  61. </imageView>
  62. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="eXD-Mb-dOw">
  63. <rect key="frame" x="0.0" y="0.0" width="320" height="44"/>
  64. </button>
  65. </subviews>
  66. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  67. <constraints>
  68. <constraint firstItem="bBp-0z-Vof" firstAttribute="centerX" secondItem="tU7-ce-Bjd" secondAttribute="centerX" constant="8" id="1Lx-Kg-d2V"/>
  69. <constraint firstItem="eXD-Mb-dOw" firstAttribute="leading" secondItem="tU7-ce-Bjd" secondAttribute="leading" id="2zs-l8-hlz"/>
  70. <constraint firstAttribute="trailing" secondItem="eXD-Mb-dOw" secondAttribute="trailing" id="JF8-Mb-kwQ"/>
  71. <constraint firstAttribute="bottom" secondItem="eXD-Mb-dOw" secondAttribute="bottom" id="M52-g6-v78"/>
  72. <constraint firstAttribute="height" constant="44" id="N39-4v-3QW"/>
  73. <constraint firstItem="NYx-Wu-Vty" firstAttribute="trailing" secondItem="bBp-0z-Vof" secondAttribute="leading" constant="-4" id="RuQ-HI-v3F"/>
  74. <constraint firstItem="bBp-0z-Vof" firstAttribute="centerY" secondItem="tU7-ce-Bjd" secondAttribute="centerY" id="VMG-Lw-qh3"/>
  75. <constraint firstItem="NYx-Wu-Vty" firstAttribute="centerY" secondItem="bBp-0z-Vof" secondAttribute="centerY" id="Z0e-8R-brO"/>
  76. <constraint firstItem="eXD-Mb-dOw" firstAttribute="top" secondItem="tU7-ce-Bjd" secondAttribute="top" id="qea-ua-xtg"/>
  77. </constraints>
  78. </view>
  79. </subviews>
  80. <constraints>
  81. <constraint firstAttribute="trailing" secondItem="r2y-Yb-UuW" secondAttribute="trailing" id="8Ih-vS-kh1"/>
  82. <constraint firstItem="ysF-Xb-9r9" firstAttribute="top" secondItem="kmx-3v-ANh" secondAttribute="bottom" constant="15" id="Eau-iz-xh6"/>
  83. <constraint firstItem="tU7-ce-Bjd" firstAttribute="leading" secondItem="wKr-lZ-aE8" secondAttribute="leading" id="FYZ-UW-Gth"/>
  84. <constraint firstAttribute="trailing" secondItem="tU7-ce-Bjd" secondAttribute="trailing" id="Mo2-qn-0n6"/>
  85. <constraint firstItem="ysF-Xb-9r9" firstAttribute="leading" secondItem="wKr-lZ-aE8" secondAttribute="leading" id="QAL-fB-7kP"/>
  86. <constraint firstAttribute="bottom" secondItem="r2y-Yb-UuW" secondAttribute="bottom" id="Qhs-zf-1eq"/>
  87. <constraint firstItem="kmx-3v-ANh" firstAttribute="leading" secondItem="LAe-q4-Na6" secondAttribute="trailing" constant="9" id="RJO-pB-r4b"/>
  88. <constraint firstAttribute="trailing" secondItem="ysF-Xb-9r9" secondAttribute="trailing" id="Rkm-Q5-qae"/>
  89. <constraint firstItem="r2y-Yb-UuW" firstAttribute="top" secondItem="tU7-ce-Bjd" secondAttribute="bottom" id="RlV-dE-8lJ"/>
  90. <constraint firstItem="kmx-3v-ANh" firstAttribute="centerY" secondItem="LAe-q4-Na6" secondAttribute="centerY" id="Zuc-cI-qfG"/>
  91. <constraint firstItem="tU7-ce-Bjd" firstAttribute="top" secondItem="ysF-Xb-9r9" secondAttribute="bottom" id="dd6-Ot-ust"/>
  92. <constraint firstItem="LAe-q4-Na6" firstAttribute="leading" secondItem="wKr-lZ-aE8" secondAttribute="leading" constant="15" id="l1u-ku-QlY"/>
  93. <constraint firstItem="kmx-3v-ANh" firstAttribute="top" secondItem="wKr-lZ-aE8" secondAttribute="top" constant="15" id="m9c-up-lDO"/>
  94. <constraint firstItem="r2y-Yb-UuW" firstAttribute="leading" secondItem="wKr-lZ-aE8" secondAttribute="leading" id="t45-tH-1NM"/>
  95. </constraints>
  96. </tableViewCellContentView>
  97. <viewLayoutGuide key="safeArea" id="goi-b5-DH9"/>
  98. <connections>
  99. <outlet property="TitleL" destination="kmx-3v-ANh" id="jhJ-lV-4mD"/>
  100. <outlet property="collectH" destination="Gf8-xE-dZW" id="SZr-Cb-Vaa"/>
  101. <outlet property="collectionView" destination="ysF-Xb-9r9" id="OdI-Jd-VWT"/>
  102. <outlet property="height" destination="m9c-up-lDO" id="mXg-13-IIr"/>
  103. <outlet property="huanBtn" destination="eXD-Mb-dOw" id="uT8-44-X7i"/>
  104. </connections>
  105. <point key="canvasLocation" x="0.0" y="150.66964285714286"/>
  106. </tableViewCell>
  107. </objects>
  108. <resources>
  109. <image name="Book_huan_Btn" width="11" height="11"/>
  110. <image name="home_hot_icon" width="32" height="16"/>
  111. <systemColor name="systemBackgroundColor">
  112. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  113. </systemColor>
  114. </resources>
  115. </document>