RQHomeSubPageVideoCell.xib 8.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="19455" 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="19454"/>
  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="RQHomeSubPageVideoCell">
  14. <rect key="frame" x="0.0" y="0.0" width="167" height="122"/>
  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="167" height="122"/>
  18. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  19. <subviews>
  20. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="q5r-LP-bLJ">
  21. <rect key="frame" x="0.0" y="0.0" width="167" height="122"/>
  22. <subviews>
  23. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="videoPlaceholder" translatesAutoresizingMaskIntoConstraints="NO" id="OWk-43-LqN">
  24. <rect key="frame" x="0.0" y="0.0" width="167" height="94"/>
  25. </imageView>
  26. <button opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" contentHorizontalAlignment="fill" contentVerticalAlignment="fill" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Ace-YK-BZ5">
  27. <rect key="frame" x="68.5" y="32" width="30" height="30"/>
  28. <constraints>
  29. <constraint firstAttribute="width" secondItem="Ace-YK-BZ5" secondAttribute="height" multiplier="1:1" id="ORn-F8-OaP"/>
  30. </constraints>
  31. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  32. <state key="normal" image="playIcon"/>
  33. </button>
  34. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="00:10:22" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="GdU-gT-MdH">
  35. <rect key="frame" x="113" y="75" width="48" height="16"/>
  36. <constraints>
  37. <constraint firstAttribute="height" constant="16" id="paI-24-doZ"/>
  38. </constraints>
  39. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="11"/>
  40. <color key="textColor" red="0.54117647059999996" green="0.56470588239999997" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  41. <nil key="highlightedColor"/>
  42. </label>
  43. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="机动车驾驶许可" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="qS1-78-hpm">
  44. <rect key="frame" x="0.0" y="99" width="167" height="18"/>
  45. <constraints>
  46. <constraint firstAttribute="height" constant="18" id="qz1-iV-FEf"/>
  47. </constraints>
  48. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="13"/>
  49. <color key="textColor" red="0.36078431370000003" green="0.37647058820000001" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  50. <nil key="highlightedColor"/>
  51. </label>
  52. </subviews>
  53. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  54. <constraints>
  55. <constraint firstItem="qS1-78-hpm" firstAttribute="top" secondItem="OWk-43-LqN" secondAttribute="bottom" constant="5" id="2dh-yx-qfY"/>
  56. <constraint firstAttribute="trailing" secondItem="GdU-gT-MdH" secondAttribute="trailing" constant="6" id="5Qp-2V-3U3"/>
  57. <constraint firstItem="Ace-YK-BZ5" firstAttribute="centerX" secondItem="OWk-43-LqN" secondAttribute="centerX" id="7X0-eH-DMb"/>
  58. <constraint firstItem="Ace-YK-BZ5" firstAttribute="width" secondItem="OWk-43-LqN" secondAttribute="width" multiplier="30:167" id="E5N-5h-Sbj"/>
  59. <constraint firstItem="Ace-YK-BZ5" firstAttribute="centerY" secondItem="OWk-43-LqN" secondAttribute="centerY" id="E7Y-KV-uYm"/>
  60. <constraint firstItem="qS1-78-hpm" firstAttribute="top" secondItem="GdU-gT-MdH" secondAttribute="bottom" constant="8" symbolic="YES" id="PrC-oI-7CZ"/>
  61. <constraint firstItem="OWk-43-LqN" firstAttribute="top" secondItem="q5r-LP-bLJ" secondAttribute="top" id="Vha-AY-5Mz"/>
  62. <constraint firstItem="OWk-43-LqN" firstAttribute="leading" secondItem="q5r-LP-bLJ" secondAttribute="leading" id="cmF-cw-cNa"/>
  63. <constraint firstAttribute="bottom" secondItem="qS1-78-hpm" secondAttribute="bottom" constant="5" id="doI-Sa-kta"/>
  64. <constraint firstAttribute="trailing" secondItem="OWk-43-LqN" secondAttribute="trailing" id="fNj-fm-ydL"/>
  65. <constraint firstItem="qS1-78-hpm" firstAttribute="leading" secondItem="q5r-LP-bLJ" secondAttribute="leading" id="h6T-Dj-JhO"/>
  66. <constraint firstAttribute="trailing" secondItem="qS1-78-hpm" secondAttribute="trailing" id="nOB-4B-u5M"/>
  67. </constraints>
  68. </view>
  69. </subviews>
  70. </view>
  71. <constraints>
  72. <constraint firstAttribute="bottom" secondItem="q5r-LP-bLJ" secondAttribute="bottom" id="ZwP-kV-agp"/>
  73. <constraint firstItem="q5r-LP-bLJ" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="haM-xt-kZQ"/>
  74. <constraint firstItem="q5r-LP-bLJ" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="i3G-a3-PKi"/>
  75. <constraint firstAttribute="trailing" secondItem="q5r-LP-bLJ" secondAttribute="trailing" id="j4S-hj-cW0"/>
  76. </constraints>
  77. <connections>
  78. <outlet property="myTtitleLabel" destination="qS1-78-hpm" id="BXv-d2-ulN"/>
  79. <outlet property="videoDurationLabel" destination="GdU-gT-MdH" id="pZM-8Z-II9"/>
  80. <outlet property="videoImageView" destination="OWk-43-LqN" id="3Hf-Rf-Oy9"/>
  81. </connections>
  82. <point key="canvasLocation" x="138.40579710144928" y="106.47321428571428"/>
  83. </collectionViewCell>
  84. </objects>
  85. <resources>
  86. <image name="playIcon" width="26" height="26"/>
  87. <image name="videoPlaceholder" width="120" height="68"/>
  88. <systemColor name="systemBackgroundColor">
  89. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  90. </systemColor>
  91. </resources>
  92. </document>