RQVideoListCell.xib 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="19529" 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="19519"/>
  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 opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" id="gTV-IL-0wX" customClass="RQVideoListCell">
  14. <rect key="frame" x="0.0" y="0.0" width="277" height="82"/>
  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="277" height="82"/>
  18. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  19. <subviews>
  20. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="B20-qJ-cDe">
  21. <rect key="frame" x="0.0" y="0.0" width="277" height="82"/>
  22. <subviews>
  23. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="videoPlaceholder" translatesAutoresizingMaskIntoConstraints="NO" id="6AJ-WL-Uuw">
  24. <rect key="frame" x="8" y="7" width="120" height="68"/>
  25. <constraints>
  26. <constraint firstAttribute="width" secondItem="6AJ-WL-Uuw" secondAttribute="height" multiplier="30:17" id="UK0-ht-XlS"/>
  27. </constraints>
  28. </imageView>
  29. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="00:10:40" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Auj-Ze-2Rn">
  30. <rect key="frame" x="136" y="63" width="125" height="16"/>
  31. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  32. <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  33. <nil key="highlightedColor"/>
  34. </label>
  35. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ZiQ-X1-VUq">
  36. <rect key="frame" x="55" y="28" width="26" height="26"/>
  37. <constraints>
  38. <constraint firstAttribute="width" secondItem="ZiQ-X1-VUq" secondAttribute="height" id="aqZ-n6-IeJ"/>
  39. </constraints>
  40. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  41. <state key="normal" image="playIcon"/>
  42. </button>
  43. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalCompressionResistancePriority="749" verticalCompressionResistancePriority="749" text="1.1.1机动车驾驶许可" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="AX3-a9-Naf">
  44. <rect key="frame" x="136" y="3" width="125" height="44"/>
  45. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  46. <color key="textColor" red="0.039215686270000001" green="0.1019607843" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  47. <nil key="highlightedColor"/>
  48. </label>
  49. <button hidden="YES" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ClV-th-CzJ">
  50. <rect key="frame" x="16" y="15" width="25" height="14"/>
  51. <constraints>
  52. <constraint firstAttribute="height" constant="14" id="P5d-29-Mps"/>
  53. <constraint firstAttribute="width" secondItem="ClV-th-CzJ" secondAttribute="height" multiplier="25:14" id="WvM-Oz-GbC"/>
  54. </constraints>
  55. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  56. <state key="normal" image="VIP1"/>
  57. </button>
  58. <button hidden="YES" opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="6zH-6F-CRg" customClass="QMUIButton">
  59. <rect key="frame" x="16" y="15" width="37" height="14"/>
  60. <color key="backgroundColor" red="0.99215686270000003" green="0.28235294119999998" blue="0.30980392159999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  61. <constraints>
  62. <constraint firstAttribute="width" secondItem="6zH-6F-CRg" secondAttribute="height" multiplier="37:14" id="YU3-uJ-9Pp"/>
  63. <constraint firstAttribute="height" constant="14" id="pxn-Ka-kfB"/>
  64. </constraints>
  65. <fontDescription key="fontDescription" type="system" pointSize="10"/>
  66. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  67. <state key="normal" title="试看" image="试看"/>
  68. <userDefinedRuntimeAttributes>
  69. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  70. <integer key="value" value="3"/>
  71. </userDefinedRuntimeAttribute>
  72. </userDefinedRuntimeAttributes>
  73. </button>
  74. </subviews>
  75. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  76. <constraints>
  77. <constraint firstItem="ClV-th-CzJ" firstAttribute="leading" secondItem="6AJ-WL-Uuw" secondAttribute="leading" constant="8" id="AzN-yi-Oym"/>
  78. <constraint firstItem="6AJ-WL-Uuw" firstAttribute="width" secondItem="B20-qJ-cDe" secondAttribute="width" multiplier="120:277" id="E32-fg-7y2"/>
  79. <constraint firstItem="6AJ-WL-Uuw" firstAttribute="centerY" secondItem="B20-qJ-cDe" secondAttribute="centerY" id="EUH-zu-CKH"/>
  80. <constraint firstItem="AX3-a9-Naf" firstAttribute="top" secondItem="6AJ-WL-Uuw" secondAttribute="top" constant="-4" id="H6A-Ud-3dz"/>
  81. <constraint firstItem="Auj-Ze-2Rn" firstAttribute="bottom" secondItem="6AJ-WL-Uuw" secondAttribute="bottom" constant="4" id="LtO-mz-SBa"/>
  82. <constraint firstItem="6AJ-WL-Uuw" firstAttribute="leading" secondItem="B20-qJ-cDe" secondAttribute="leading" constant="8" id="Q3b-FZ-fOu"/>
  83. <constraint firstAttribute="trailing" secondItem="Auj-Ze-2Rn" secondAttribute="trailing" constant="16" id="VwE-L8-UuO"/>
  84. <constraint firstItem="ClV-th-CzJ" firstAttribute="top" secondItem="6AJ-WL-Uuw" secondAttribute="top" constant="8" id="cxg-XR-Cnu"/>
  85. <constraint firstItem="ZiQ-X1-VUq" firstAttribute="centerY" secondItem="6AJ-WL-Uuw" secondAttribute="centerY" id="ehP-Hm-KEG"/>
  86. <constraint firstItem="AX3-a9-Naf" firstAttribute="leading" secondItem="6AJ-WL-Uuw" secondAttribute="trailing" constant="8" id="g3f-Rt-W4d"/>
  87. <constraint firstItem="ZiQ-X1-VUq" firstAttribute="width" secondItem="6AJ-WL-Uuw" secondAttribute="width" multiplier="26:120" id="ies-BL-gDl"/>
  88. <constraint firstAttribute="trailing" secondItem="AX3-a9-Naf" secondAttribute="trailing" constant="16" id="jMr-7z-Tpy"/>
  89. <constraint firstItem="Auj-Ze-2Rn" firstAttribute="top" secondItem="AX3-a9-Naf" secondAttribute="bottom" constant="16" id="khK-15-tOV"/>
  90. <constraint firstItem="Auj-Ze-2Rn" firstAttribute="leading" secondItem="6AJ-WL-Uuw" secondAttribute="trailing" constant="8" id="oJd-H3-Z04"/>
  91. <constraint firstItem="6zH-6F-CRg" firstAttribute="top" secondItem="6AJ-WL-Uuw" secondAttribute="top" constant="8" id="p2J-0G-NXz"/>
  92. <constraint firstItem="6zH-6F-CRg" firstAttribute="leading" secondItem="6AJ-WL-Uuw" secondAttribute="leading" constant="8" id="rUd-TE-yQv"/>
  93. <constraint firstItem="ZiQ-X1-VUq" firstAttribute="centerX" secondItem="6AJ-WL-Uuw" secondAttribute="centerX" id="x0f-jf-VUz"/>
  94. </constraints>
  95. </view>
  96. </subviews>
  97. </view>
  98. <constraints>
  99. <constraint firstAttribute="bottom" secondItem="B20-qJ-cDe" secondAttribute="bottom" id="GYL-Nj-H6r"/>
  100. <constraint firstAttribute="trailing" secondItem="B20-qJ-cDe" secondAttribute="trailing" id="cXt-Gn-6ZR"/>
  101. <constraint firstItem="B20-qJ-cDe" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="fYX-3s-wZ3"/>
  102. <constraint firstItem="B20-qJ-cDe" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="rzL-kM-NeA"/>
  103. </constraints>
  104. <size key="customSize" width="322" height="113"/>
  105. <connections>
  106. <outlet property="tryLookBtn" destination="6zH-6F-CRg" id="w08-wI-ZWf"/>
  107. <outlet property="videoDurationLabel" destination="Auj-Ze-2Rn" id="nbm-yu-fiy"/>
  108. <outlet property="videoImageView" destination="6AJ-WL-Uuw" id="dYx-B0-YsO"/>
  109. <outlet property="videoTitleLabel" destination="AX3-a9-Naf" id="gvS-tW-IIk"/>
  110. <outlet property="vipBtn" destination="ClV-th-CzJ" id="Nef-O9-bqF"/>
  111. </connections>
  112. <point key="canvasLocation" x="334.05797101449281" y="144.64285714285714"/>
  113. </collectionViewCell>
  114. </objects>
  115. <resources>
  116. <image name="VIP1" width="25" height="14"/>
  117. <image name="playIcon" width="26" height="26"/>
  118. <image name="videoPlaceholder" width="120" height="68"/>
  119. <image name="试看" width="8" height="9"/>
  120. <systemColor name="systemBackgroundColor">
  121. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  122. </systemColor>
  123. </resources>
  124. </document>