SmallVideoCell.xib 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="32700.99.1234" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22685"/>
  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="SmallVideoCell">
  14. <rect key="frame" x="0.0" y="0.0" width="185" height="318"/>
  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="185" height="318"/>
  18. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  19. <subviews>
  20. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="com_preload_img_square" translatesAutoresizingMaskIntoConstraints="NO" id="fnN-T3-2RG">
  21. <rect key="frame" x="0.0" y="0.0" width="185" height="244"/>
  22. </imageView>
  23. <view alpha="0.5" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="DKB-0G-A8q">
  24. <rect key="frame" x="33" y="97" width="119" height="50"/>
  25. <subviews>
  26. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="mg_people_video_check" highlightedImage="fw_play_num" translatesAutoresizingMaskIntoConstraints="NO" id="gmd-9d-sCZ">
  27. <rect key="frame" x="52.5" y="8" width="14" height="16"/>
  28. </imageView>
  29. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="视频正在审核中" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Bxw-Q1-nPO">
  30. <rect key="frame" x="20" y="34" width="79" height="13.5"/>
  31. <fontDescription key="fontDescription" type="system" pointSize="11"/>
  32. <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  33. <nil key="highlightedColor"/>
  34. </label>
  35. </subviews>
  36. <color key="backgroundColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  37. <color key="tintColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
  38. <constraints>
  39. <constraint firstAttribute="width" constant="119" id="1Cp-Oj-IrT"/>
  40. <constraint firstItem="gmd-9d-sCZ" firstAttribute="top" secondItem="DKB-0G-A8q" secondAttribute="top" constant="8" id="2Lc-7F-U0U"/>
  41. <constraint firstItem="gmd-9d-sCZ" firstAttribute="centerX" secondItem="DKB-0G-A8q" secondAttribute="centerX" id="JVD-CV-TNw"/>
  42. <constraint firstAttribute="height" constant="50" id="SeS-2Z-mpC"/>
  43. <constraint firstItem="Bxw-Q1-nPO" firstAttribute="centerX" secondItem="gmd-9d-sCZ" secondAttribute="centerX" id="mGA-yJ-l90"/>
  44. <constraint firstItem="Bxw-Q1-nPO" firstAttribute="top" secondItem="gmd-9d-sCZ" secondAttribute="bottom" constant="10" id="xej-sl-m3B"/>
  45. </constraints>
  46. </view>
  47. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="t6A-nz-ZKx">
  48. <rect key="frame" x="0.0" y="244" width="185" height="74"/>
  49. <subviews>
  50. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="right" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="M8K-cP-mzf" customClass="QMUIButton">
  51. <rect key="frame" x="120" y="32" width="55" height="42"/>
  52. <constraints>
  53. <constraint firstAttribute="width" constant="55" id="RZN-x4-l6J"/>
  54. </constraints>
  55. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  56. <state key="normal" title="用户名称" image="bogo_video_watchImg">
  57. <color key="titleColor" red="0.46666666670000001" green="0.46666666670000001" blue="0.46666666670000001" alpha="1" colorSpace="calibratedRGB"/>
  58. </state>
  59. </button>
  60. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="标题" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="MUC-ko-BEE">
  61. <rect key="frame" x="10" y="0.0" width="175" height="37"/>
  62. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  63. <nil key="textColor"/>
  64. <color key="highlightedColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  65. </label>
  66. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="aO8-lm-n04">
  67. <rect key="frame" x="10" y="42" width="22" height="22"/>
  68. <constraints>
  69. <constraint firstAttribute="height" constant="22" id="WGF-IR-cXx"/>
  70. <constraint firstAttribute="width" constant="22" id="apA-2x-gXa"/>
  71. </constraints>
  72. </imageView>
  73. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2Rk-hs-NBL">
  74. <rect key="frame" x="37" y="46" width="78" height="14.5"/>
  75. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  76. <color key="textColor" red="0.46666666666666667" green="0.46666666666666667" blue="0.46666666666666667" alpha="1" colorSpace="calibratedRGB"/>
  77. <nil key="highlightedColor"/>
  78. </label>
  79. </subviews>
  80. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  81. <constraints>
  82. <constraint firstAttribute="bottom" secondItem="M8K-cP-mzf" secondAttribute="bottom" id="0CM-vM-o2I"/>
  83. <constraint firstItem="MUC-ko-BEE" firstAttribute="leading" secondItem="t6A-nz-ZKx" secondAttribute="leading" constant="10" id="Bj1-jz-tEj"/>
  84. <constraint firstItem="M8K-cP-mzf" firstAttribute="leading" secondItem="2Rk-hs-NBL" secondAttribute="trailing" constant="5" id="Hig-ut-Caa"/>
  85. <constraint firstItem="2Rk-hs-NBL" firstAttribute="leading" secondItem="aO8-lm-n04" secondAttribute="trailing" constant="5" id="I5j-zs-f7E"/>
  86. <constraint firstAttribute="trailing" secondItem="MUC-ko-BEE" secondAttribute="trailing" id="QCR-Ce-kZX"/>
  87. <constraint firstItem="2Rk-hs-NBL" firstAttribute="centerY" secondItem="aO8-lm-n04" secondAttribute="centerY" id="WDl-If-dKC"/>
  88. <constraint firstItem="MUC-ko-BEE" firstAttribute="height" secondItem="t6A-nz-ZKx" secondAttribute="height" multiplier="0.5" id="Wdo-Kb-Gqa"/>
  89. <constraint firstAttribute="height" constant="74" id="Y5f-VL-vts"/>
  90. <constraint firstItem="MUC-ko-BEE" firstAttribute="top" secondItem="t6A-nz-ZKx" secondAttribute="top" id="YtW-Fb-B7m"/>
  91. <constraint firstAttribute="bottom" secondItem="aO8-lm-n04" secondAttribute="bottom" constant="10" id="cik-sf-38u"/>
  92. <constraint firstAttribute="trailing" secondItem="M8K-cP-mzf" secondAttribute="trailing" constant="10" id="cxW-jF-qlJ"/>
  93. <constraint firstItem="aO8-lm-n04" firstAttribute="leading" secondItem="MUC-ko-BEE" secondAttribute="leading" id="eGa-dk-8mU"/>
  94. <constraint firstItem="M8K-cP-mzf" firstAttribute="centerY" secondItem="aO8-lm-n04" secondAttribute="centerY" id="xcU-fO-Fkb"/>
  95. </constraints>
  96. </view>
  97. </subviews>
  98. </view>
  99. <constraints>
  100. <constraint firstItem="DKB-0G-A8q" firstAttribute="centerX" secondItem="fnN-T3-2RG" secondAttribute="centerX" id="9aq-tm-wr3"/>
  101. <constraint firstItem="t6A-nz-ZKx" firstAttribute="top" secondItem="fnN-T3-2RG" secondAttribute="bottom" id="C3d-NK-WFn"/>
  102. <constraint firstAttribute="bottom" secondItem="t6A-nz-ZKx" secondAttribute="bottom" id="DBV-uM-C8e"/>
  103. <constraint firstAttribute="trailing" secondItem="fnN-T3-2RG" secondAttribute="trailing" id="JAg-dX-gvU"/>
  104. <constraint firstItem="DKB-0G-A8q" firstAttribute="centerY" secondItem="fnN-T3-2RG" secondAttribute="centerY" id="VxE-vy-fa4"/>
  105. <constraint firstItem="fnN-T3-2RG" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="Zwe-iE-lN4"/>
  106. <constraint firstAttribute="trailing" secondItem="t6A-nz-ZKx" secondAttribute="trailing" id="fo6-8G-dr0"/>
  107. <constraint firstItem="t6A-nz-ZKx" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="jcQ-Vv-FgV"/>
  108. <constraint firstItem="fnN-T3-2RG" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="o1k-Db-ceG"/>
  109. </constraints>
  110. <size key="customSize" width="185" height="318"/>
  111. <userDefinedRuntimeAttributes>
  112. <userDefinedRuntimeAttribute type="number" keyPath="autoCornerRadius">
  113. <real key="value" value="10"/>
  114. </userDefinedRuntimeAttribute>
  115. </userDefinedRuntimeAttributes>
  116. <connections>
  117. <outlet property="bigImgView" destination="fnN-T3-2RG" id="4Tx-lM-9fv"/>
  118. <outlet property="headImg" destination="aO8-lm-n04" id="1lv-Jn-s09"/>
  119. <outlet property="isCheckView" destination="DKB-0G-A8q" id="GFj-q5-grQ"/>
  120. <outlet property="nameLabel" destination="2Rk-hs-NBL" id="UuE-1Z-LNo"/>
  121. <outlet property="titleL" destination="MUC-ko-BEE" id="zIb-4t-au4"/>
  122. <outlet property="watchNum" destination="M8K-cP-mzf" id="BaU-NQ-g7A"/>
  123. </connections>
  124. <point key="canvasLocation" x="-26" y="108"/>
  125. </collectionViewCell>
  126. </objects>
  127. <resources>
  128. <image name="bogo_video_watchImg" width="10" height="10"/>
  129. <image name="com_preload_img_square" width="375" height="375"/>
  130. <image name="fw_play_num" width="13" height="8"/>
  131. <image name="mg_people_video_check" width="14" height="16"/>
  132. <systemColor name="systemBackgroundColor">
  133. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  134. </systemColor>
  135. </resources>
  136. </document>