NYVideoListCell.xib 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="23504" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="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="23506"/>
  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="NYVideoListCell">
  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="gu2-EL-ZFH">
  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="R5A-1C-zdM">
  24. <rect key="frame" x="8" y="7" width="120" height="68"/>
  25. <constraints>
  26. <constraint firstAttribute="width" secondItem="R5A-1C-zdM" secondAttribute="height" multiplier="30:17" id="odB-zI-YkP"/>
  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="Ude-6t-OxX">
  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="wzX-2j-6O1">
  36. <rect key="frame" x="55" y="28" width="26" height="26"/>
  37. <constraints>
  38. <constraint firstAttribute="width" secondItem="wzX-2j-6O1" secondAttribute="height" id="81o-Ol-H98"/>
  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="Rw3-De-QYy">
  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="9y0-8l-3ER">
  50. <rect key="frame" x="16" y="15" width="25" height="14"/>
  51. <constraints>
  52. <constraint firstAttribute="width" secondItem="9y0-8l-3ER" secondAttribute="height" multiplier="25:14" id="210-cA-lYA"/>
  53. <constraint firstAttribute="height" constant="14" id="4OK-QG-hh2"/>
  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="0Sx-5e-jhg" 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="0Sx-5e-jhg" secondAttribute="height" multiplier="37:14" id="JWH-Ri-EAx"/>
  63. <constraint firstAttribute="height" constant="14" id="XTr-MC-Czb"/>
  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="R5A-1C-zdM" firstAttribute="width" secondItem="gu2-EL-ZFH" secondAttribute="width" multiplier="120:277" id="0Hb-8u-omI"/>
  78. <constraint firstItem="wzX-2j-6O1" firstAttribute="width" secondItem="R5A-1C-zdM" secondAttribute="width" multiplier="26:120" id="16I-Rb-AL1"/>
  79. <constraint firstItem="Rw3-De-QYy" firstAttribute="top" secondItem="R5A-1C-zdM" secondAttribute="top" constant="-4" id="2R9-an-4Yr"/>
  80. <constraint firstItem="Ude-6t-OxX" firstAttribute="leading" secondItem="R5A-1C-zdM" secondAttribute="trailing" constant="8" id="BmD-Tz-Rsy"/>
  81. <constraint firstItem="Rw3-De-QYy" firstAttribute="leading" secondItem="R5A-1C-zdM" secondAttribute="trailing" constant="8" id="By3-mC-qhc"/>
  82. <constraint firstAttribute="trailing" secondItem="Rw3-De-QYy" secondAttribute="trailing" constant="16" id="FmR-tA-iUy"/>
  83. <constraint firstItem="Ude-6t-OxX" firstAttribute="top" secondItem="Rw3-De-QYy" secondAttribute="bottom" constant="16" id="Izc-8d-Z4w"/>
  84. <constraint firstItem="0Sx-5e-jhg" firstAttribute="leading" secondItem="R5A-1C-zdM" secondAttribute="leading" constant="8" id="JnX-td-7GB"/>
  85. <constraint firstItem="R5A-1C-zdM" firstAttribute="centerY" secondItem="gu2-EL-ZFH" secondAttribute="centerY" id="Q72-ZH-jvj"/>
  86. <constraint firstItem="R5A-1C-zdM" firstAttribute="leading" secondItem="gu2-EL-ZFH" secondAttribute="leading" constant="8" id="Sqz-UO-sPh"/>
  87. <constraint firstItem="9y0-8l-3ER" firstAttribute="leading" secondItem="R5A-1C-zdM" secondAttribute="leading" constant="8" id="Tm8-GL-xNj"/>
  88. <constraint firstItem="wzX-2j-6O1" firstAttribute="centerY" secondItem="R5A-1C-zdM" secondAttribute="centerY" id="deV-sA-la8"/>
  89. <constraint firstAttribute="trailing" secondItem="Ude-6t-OxX" secondAttribute="trailing" constant="16" id="gP5-yB-GH5"/>
  90. <constraint firstItem="0Sx-5e-jhg" firstAttribute="top" secondItem="R5A-1C-zdM" secondAttribute="top" constant="8" id="nla-cA-m6M"/>
  91. <constraint firstItem="wzX-2j-6O1" firstAttribute="centerX" secondItem="R5A-1C-zdM" secondAttribute="centerX" id="qHu-IA-5GY"/>
  92. <constraint firstItem="9y0-8l-3ER" firstAttribute="top" secondItem="R5A-1C-zdM" secondAttribute="top" constant="8" id="rCb-9N-WMJ"/>
  93. <constraint firstItem="Ude-6t-OxX" firstAttribute="bottom" secondItem="R5A-1C-zdM" secondAttribute="bottom" constant="4" id="vcy-Fi-faJ"/>
  94. </constraints>
  95. </view>
  96. </subviews>
  97. </view>
  98. <constraints>
  99. <constraint firstAttribute="bottom" secondItem="gu2-EL-ZFH" secondAttribute="bottom" id="GOP-PC-1y3"/>
  100. <constraint firstItem="gu2-EL-ZFH" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="PbP-Cy-yYz"/>
  101. <constraint firstAttribute="trailing" secondItem="gu2-EL-ZFH" secondAttribute="trailing" id="mXI-JW-cBC"/>
  102. <constraint firstItem="gu2-EL-ZFH" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="nB9-dU-Eeu"/>
  103. </constraints>
  104. <size key="customSize" width="227" height="110"/>
  105. <connections>
  106. <outlet property="tryLookBtn" destination="0Sx-5e-jhg" id="mw1-cI-K2K"/>
  107. <outlet property="videoDurationLabel" destination="Ude-6t-OxX" id="1OA-cf-B9k"/>
  108. <outlet property="videoImageView" destination="R5A-1C-zdM" id="DTt-M1-OBA"/>
  109. <outlet property="videoTitleLabel" destination="Rw3-De-QYy" id="2RK-VY-Jq4"/>
  110. <outlet property="vipBtn" destination="9y0-8l-3ER" id="Kkw-Po-Ogf"/>
  111. </connections>
  112. <point key="canvasLocation" x="185.49618320610685" y="9.8591549295774659"/>
  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="7.6666665077209473" height="9"/>
  120. <systemColor name="systemBackgroundColor">
  121. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  122. </systemColor>
  123. </resources>
  124. </document>