RQExerciseVideoExplainCell.xib 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="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="21678"/>
  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. <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="353" id="Vlw-eW-GrE" customClass="RQExerciseVideoExplainCell">
  14. <rect key="frame" x="0.0" y="0.0" width="375" height="300"/>
  15. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  16. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="Vlw-eW-GrE" id="ogq-zf-sye">
  17. <rect key="frame" x="0.0" y="0.0" width="375" height="300"/>
  18. <autoresizingMask key="autoresizingMask"/>
  19. <subviews>
  20. <view clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="24K-k2-ItC">
  21. <rect key="frame" x="16" y="19.666666666666668" width="5" height="19.000000000000004"/>
  22. <color key="backgroundColor" red="0.28627450980000002" green="0.5568627451" blue="0.96078431369999995" alpha="1" colorSpace="deviceRGB"/>
  23. <constraints>
  24. <constraint firstAttribute="width" secondItem="24K-k2-ItC" secondAttribute="height" multiplier="5:19" id="00T-k9-wUc"/>
  25. </constraints>
  26. <userDefinedRuntimeAttributes>
  27. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  28. <real key="value" value="2.5"/>
  29. </userDefinedRuntimeAttribute>
  30. </userDefinedRuntimeAttributes>
  31. </view>
  32. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="视频讲解" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="npl-5Q-tno">
  33. <rect key="frame" x="29.000000000000007" y="16" width="81.666666666666686" height="26"/>
  34. <constraints>
  35. <constraint firstAttribute="height" constant="26" id="omO-Yn-u8f"/>
  36. </constraints>
  37. <fontDescription key="fontDescription" type="boldSystem" pointSize="20"/>
  38. <color key="textColor" red="0.039215686270000001" green="0.1019607843" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  39. <nil key="highlightedColor"/>
  40. </label>
  41. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="2VE-k0-04d">
  42. <rect key="frame" x="25.666666666666657" y="58" width="324" height="184"/>
  43. <subviews>
  44. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="videoPlaceholder" translatesAutoresizingMaskIntoConstraints="NO" id="DyJ-z0-PlR">
  45. <rect key="frame" x="0.0" y="0.0" width="324" height="184"/>
  46. </imageView>
  47. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="k9o-xs-W84">
  48. <rect key="frame" x="140" y="70" width="44" height="44"/>
  49. <constraints>
  50. <constraint firstAttribute="width" secondItem="k9o-xs-W84" secondAttribute="height" id="8RU-j9-8yY"/>
  51. </constraints>
  52. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  53. <state key="normal" backgroundImage="playIcon"/>
  54. <connections>
  55. <action selector="playBtnAvtion:" destination="Vlw-eW-GrE" eventType="touchUpInside" id="UOf-Bc-rlM"/>
  56. </connections>
  57. </button>
  58. <imageView hidden="YES" clipsSubviews="YES" userInteractionEnabled="NO" alpha="0.80000001192092896" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="kfb-H8-vY1">
  59. <rect key="frame" x="0.0" y="0.0" width="324" height="184"/>
  60. <color key="backgroundColor" red="0.039215686270000001" green="0.1019607843" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  61. </imageView>
  62. <stackView hidden="YES" opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="equalCentering" alignment="center" spacing="18" translatesAutoresizingMaskIntoConstraints="NO" id="Mgu-Sj-bHa">
  63. <rect key="frame" x="0.0" y="51.333333333333321" width="324" height="81.666666666666686"/>
  64. <subviews>
  65. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="试看次数已用完,购买VIP可观看全部视频" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Zlh-Uu-aEn">
  66. <rect key="frame" x="32" y="0.0" width="260" height="33.666666666666664"/>
  67. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  68. <color key="textColor" red="0.85882352939999995" green="0.62745098040000002" blue="0.36078431370000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  69. <nil key="highlightedColor"/>
  70. </label>
  71. <button opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Nbw-Do-6Xt">
  72. <rect key="frame" x="117" y="51.666666666666671" width="90" height="30"/>
  73. <color key="backgroundColor" red="0.87843137250000003" green="0.69803921570000005" blue="0.47450980390000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  74. <constraints>
  75. <constraint firstAttribute="width" secondItem="Nbw-Do-6Xt" secondAttribute="height" multiplier="90:30" id="SCe-L2-dE4"/>
  76. </constraints>
  77. <fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
  78. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  79. <state key="normal" title="开通VIP">
  80. <color key="titleColor" red="0.56862745100000001" green="0.3294117647" blue="0.058823529409999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  81. </state>
  82. <connections>
  83. <action selector="openBtnAction:" destination="Vlw-eW-GrE" eventType="touchUpInside" id="2zP-lY-eur"/>
  84. </connections>
  85. </button>
  86. </subviews>
  87. <constraints>
  88. <constraint firstAttribute="trailing" secondItem="Zlh-Uu-aEn" secondAttribute="trailing" constant="32" id="MbU-zh-crC"/>
  89. <constraint firstItem="Zlh-Uu-aEn" firstAttribute="leading" secondItem="Mgu-Sj-bHa" secondAttribute="leading" constant="32" id="O0R-3k-z49"/>
  90. <constraint firstItem="Nbw-Do-6Xt" firstAttribute="top" secondItem="Zlh-Uu-aEn" secondAttribute="bottom" constant="18" id="ZY0-ld-nVX"/>
  91. </constraints>
  92. </stackView>
  93. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="试看背景" translatesAutoresizingMaskIntoConstraints="NO" id="v5Y-sx-ASt">
  94. <rect key="frame" x="191" y="162" width="133" height="22"/>
  95. <constraints>
  96. <constraint firstAttribute="width" secondItem="v5Y-sx-ASt" secondAttribute="height" multiplier="132/22" id="5kV-3U-YDD"/>
  97. </constraints>
  98. </imageView>
  99. <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="5L4-fb-p1o">
  100. <rect key="frame" x="206.66666666666671" y="166.33333333333334" width="113.33333333333334" height="13.333333333333343"/>
  101. <subviews>
  102. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="可试看3次,当前" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cdK-3i-PvZ">
  103. <rect key="frame" x="0.0" y="0.0" width="85.666666666666671" height="13.333333333333334"/>
  104. <fontDescription key="fontDescription" type="system" pointSize="11"/>
  105. <color key="textColor" red="0.56862745100000001" green="0.3294117647" blue="0.058823529409999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  106. <nil key="highlightedColor"/>
  107. </label>
  108. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="第1题" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="TLM-U0-q0e">
  109. <rect key="frame" x="85.666666666666657" y="0.0" width="27.666666666666671" height="13.333333333333334"/>
  110. <fontDescription key="fontDescription" type="system" pointSize="11"/>
  111. <color key="textColor" red="0.83137254900000002" green="0.2784313725" blue="0.1019607843" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  112. <nil key="highlightedColor"/>
  113. </label>
  114. </subviews>
  115. </stackView>
  116. </subviews>
  117. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  118. <constraints>
  119. <constraint firstItem="kfb-H8-vY1" firstAttribute="top" secondItem="2VE-k0-04d" secondAttribute="top" id="03p-pW-XEG"/>
  120. <constraint firstItem="k9o-xs-W84" firstAttribute="centerX" secondItem="2VE-k0-04d" secondAttribute="centerX" id="1DR-Qo-ITl"/>
  121. <constraint firstAttribute="bottom" secondItem="kfb-H8-vY1" secondAttribute="bottom" id="72b-6c-t5n"/>
  122. <constraint firstItem="Mgu-Sj-bHa" firstAttribute="centerY" secondItem="2VE-k0-04d" secondAttribute="centerY" id="Awc-87-LZT"/>
  123. <constraint firstAttribute="bottom" secondItem="v5Y-sx-ASt" secondAttribute="bottom" id="CTs-ig-NNd"/>
  124. <constraint firstAttribute="trailing" secondItem="kfb-H8-vY1" secondAttribute="trailing" id="D2s-Uq-r6D"/>
  125. <constraint firstItem="DyJ-z0-PlR" firstAttribute="leading" secondItem="2VE-k0-04d" secondAttribute="leading" id="H6x-rn-1nS"/>
  126. <constraint firstItem="5L4-fb-p1o" firstAttribute="trailing" secondItem="v5Y-sx-ASt" secondAttribute="trailing" constant="-4" id="J4C-t2-5Nu"/>
  127. <constraint firstItem="5L4-fb-p1o" firstAttribute="centerY" secondItem="v5Y-sx-ASt" secondAttribute="centerY" id="JJf-Dc-OYc"/>
  128. <constraint firstAttribute="trailing" secondItem="Mgu-Sj-bHa" secondAttribute="trailing" id="Mbo-rO-fPd"/>
  129. <constraint firstAttribute="bottom" secondItem="DyJ-z0-PlR" secondAttribute="bottom" id="PCI-AM-Me1"/>
  130. <constraint firstItem="k9o-xs-W84" firstAttribute="centerY" secondItem="2VE-k0-04d" secondAttribute="centerY" id="PJQ-rM-Lcd"/>
  131. <constraint firstItem="Mgu-Sj-bHa" firstAttribute="leading" secondItem="2VE-k0-04d" secondAttribute="leading" id="Plv-Vk-411"/>
  132. <constraint firstAttribute="width" secondItem="2VE-k0-04d" secondAttribute="height" multiplier="324/184" id="WUn-sj-fPp"/>
  133. <constraint firstAttribute="trailing" secondItem="DyJ-z0-PlR" secondAttribute="trailing" id="h3b-A8-z2t"/>
  134. <constraint firstAttribute="trailing" secondItem="v5Y-sx-ASt" secondAttribute="trailing" id="pGg-iN-c1u"/>
  135. <constraint firstItem="kfb-H8-vY1" firstAttribute="leading" secondItem="2VE-k0-04d" secondAttribute="leading" id="rR6-nG-rha"/>
  136. <constraint firstItem="DyJ-z0-PlR" firstAttribute="top" secondItem="2VE-k0-04d" secondAttribute="top" id="sgi-Jy-NTU"/>
  137. </constraints>
  138. </view>
  139. </subviews>
  140. <constraints>
  141. <constraint firstItem="24K-k2-ItC" firstAttribute="width" secondItem="ogq-zf-sye" secondAttribute="width" multiplier="5/375" id="Nhl-7a-f6a"/>
  142. <constraint firstItem="npl-5Q-tno" firstAttribute="leading" secondItem="24K-k2-ItC" secondAttribute="trailing" constant="8" id="OP3-4D-tSO"/>
  143. <constraint firstItem="2VE-k0-04d" firstAttribute="centerX" secondItem="ogq-zf-sye" secondAttribute="centerX" id="QGa-db-esh"/>
  144. <constraint firstItem="2VE-k0-04d" firstAttribute="width" secondItem="ogq-zf-sye" secondAttribute="width" multiplier="324/375" id="ePN-LI-Wqb"/>
  145. <constraint firstItem="24K-k2-ItC" firstAttribute="centerY" secondItem="npl-5Q-tno" secondAttribute="centerY" id="gkq-8Y-ii6"/>
  146. <constraint firstItem="24K-k2-ItC" firstAttribute="leading" secondItem="ogq-zf-sye" secondAttribute="leading" constant="16" id="icF-n3-obz"/>
  147. <constraint firstItem="k9o-xs-W84" firstAttribute="width" secondItem="ogq-zf-sye" secondAttribute="width" multiplier="44/375" id="l42-P3-one"/>
  148. <constraint firstItem="2VE-k0-04d" firstAttribute="top" secondItem="npl-5Q-tno" secondAttribute="bottom" constant="16" id="qPW-VO-xyM"/>
  149. <constraint firstItem="npl-5Q-tno" firstAttribute="top" secondItem="ogq-zf-sye" secondAttribute="top" constant="16" id="sAb-Si-lDb"/>
  150. </constraints>
  151. </tableViewCellContentView>
  152. <constraints>
  153. <constraint firstItem="v5Y-sx-ASt" firstAttribute="width" secondItem="Vlw-eW-GrE" secondAttribute="width" multiplier="133/375" id="3C3-1M-8hb"/>
  154. <constraint firstItem="Nbw-Do-6Xt" firstAttribute="width" secondItem="Vlw-eW-GrE" secondAttribute="width" multiplier="90/375" id="Fn5-cX-0FK"/>
  155. </constraints>
  156. <connections>
  157. <outlet property="openVipBtn" destination="Nbw-Do-6Xt" id="gDG-Zs-yj1"/>
  158. <outlet property="tryLookBgImageView" destination="v5Y-sx-ASt" id="zaP-Jk-CQM"/>
  159. <outlet property="tryLookBottomView" destination="5L4-fb-p1o" id="JM0-KQ-cIJ"/>
  160. <outlet property="tryLookCoverImageView" destination="kfb-H8-vY1" id="I5c-pL-Rgq"/>
  161. <outlet property="tryLookLabel" destination="TLM-U0-q0e" id="Fvo-5O-rVD"/>
  162. <outlet property="tryLookView" destination="Mgu-Sj-bHa" id="4da-9W-X0R"/>
  163. <outlet property="videoCoverImageView" destination="DyJ-z0-PlR" id="ZJ7-xF-RhJ"/>
  164. <outlet property="videoView" destination="2VE-k0-04d" id="BMv-3l-GPH"/>
  165. </connections>
  166. <point key="canvasLocation" x="136.95652173913044" y="240.06696428571428"/>
  167. </tableViewCell>
  168. </objects>
  169. <resources>
  170. <image name="playIcon" width="26" height="26"/>
  171. <image name="videoPlaceholder" width="120" height="68"/>
  172. <image name="试看背景" width="133" height="22"/>
  173. <systemColor name="systemBackgroundColor">
  174. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  175. </systemColor>
  176. </resources>
  177. </document>