MinePageVideoCell.xib 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  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" useSafeAreas="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="22684"/>
  7. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  8. <capability name="System colors in document resources" minToolsVersion="11.0"/>
  9. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  10. </dependencies>
  11. <objects>
  12. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  13. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  14. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" id="gTV-IL-0wX" customClass="MinePageVideoCell">
  15. <rect key="frame" x="0.0" y="0.0" width="207" height="200"/>
  16. <autoresizingMask key="autoresizingMask"/>
  17. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
  18. <rect key="frame" x="0.0" y="0.0" width="207" height="200"/>
  19. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  20. <subviews>
  21. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="RA1-Ms-Rdt">
  22. <rect key="frame" x="0.0" y="0.0" width="207" height="200"/>
  23. <subviews>
  24. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="video_placeholder" translatesAutoresizingMaskIntoConstraints="NO" id="U59-Pt-Ft1">
  25. <rect key="frame" x="0.0" y="0.0" width="207" height="111"/>
  26. <constraints>
  27. <constraint firstAttribute="height" constant="111" id="nAv-x7-LNJ"/>
  28. </constraints>
  29. </imageView>
  30. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="mM7-Jr-9nv">
  31. <rect key="frame" x="0.0" y="6" width="55" height="17"/>
  32. <subviews>
  33. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="已上架" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="pS1-qb-H8H">
  34. <rect key="frame" x="12" y="2.5" width="31" height="12"/>
  35. <fontDescription key="fontDescription" type="system" pointSize="10"/>
  36. <color key="textColor" red="0.1764705882" green="0.78039215689999997" blue="0.66666666669999997" alpha="1" colorSpace="calibratedRGB"/>
  37. <nil key="highlightedColor"/>
  38. </label>
  39. </subviews>
  40. <color key="backgroundColor" red="0.83529411760000005" green="1" blue="0.96862745100000003" alpha="1" colorSpace="calibratedRGB"/>
  41. <constraints>
  42. <constraint firstAttribute="trailing" secondItem="pS1-qb-H8H" secondAttribute="trailing" constant="12" id="3AN-E3-1gD"/>
  43. <constraint firstAttribute="height" constant="17" id="ICz-Qo-u8d"/>
  44. <constraint firstItem="pS1-qb-H8H" firstAttribute="leading" secondItem="mM7-Jr-9nv" secondAttribute="leading" constant="12" id="qY8-XT-leq"/>
  45. <constraint firstItem="pS1-qb-H8H" firstAttribute="centerY" secondItem="mM7-Jr-9nv" secondAttribute="centerY" id="uq5-D7-gce"/>
  46. </constraints>
  47. </view>
  48. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="UwI-V7-ylA">
  49. <rect key="frame" x="176.5" y="93" width="24.5" height="13"/>
  50. <subviews>
  51. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="长笛" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="4gv-0P-tG8">
  52. <rect key="frame" x="3" y="0.0" width="18.5" height="13"/>
  53. <constraints>
  54. <constraint firstAttribute="height" constant="13" id="DKP-ZU-4j4"/>
  55. </constraints>
  56. <fontDescription key="fontDescription" type="system" pointSize="9"/>
  57. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  58. <nil key="highlightedColor"/>
  59. </label>
  60. </subviews>
  61. <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.28999999999999998" colorSpace="custom" customColorSpace="calibratedRGB"/>
  62. <constraints>
  63. <constraint firstItem="4gv-0P-tG8" firstAttribute="top" secondItem="UwI-V7-ylA" secondAttribute="top" id="00s-cC-CMI"/>
  64. <constraint firstAttribute="bottom" secondItem="4gv-0P-tG8" secondAttribute="bottom" id="Esv-jZ-Cqm"/>
  65. <constraint firstAttribute="trailing" secondItem="4gv-0P-tG8" secondAttribute="trailing" constant="3" id="FXd-5L-aql"/>
  66. <constraint firstItem="4gv-0P-tG8" firstAttribute="leading" secondItem="UwI-V7-ylA" secondAttribute="leading" constant="3" id="as5-6m-1iS"/>
  67. </constraints>
  68. <userDefinedRuntimeAttributes>
  69. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  70. <real key="value" value="1"/>
  71. </userDefinedRuntimeAttribute>
  72. </userDefinedRuntimeAttributes>
  73. </view>
  74. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="从零开始学竖笛视频课" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="uOk-ia-Vh6">
  75. <rect key="frame" x="11" y="117" width="183" height="17"/>
  76. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  77. <color key="textColor" red="0.1019607843" green="0.1019607843" blue="0.1019607843" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
  78. <nil key="highlightedColor"/>
  79. </label>
  80. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" horizontalCompressionResistancePriority="749" text="¥120" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="W3y-Mv-wxM">
  81. <rect key="frame" x="12" y="160" width="45.5" height="25"/>
  82. <constraints>
  83. <constraint firstAttribute="height" constant="25" id="e27-SE-MGk"/>
  84. </constraints>
  85. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="16"/>
  86. <color key="textColor" red="1" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
  87. <nil key="highlightedColor"/>
  88. </label>
  89. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="6人已购买" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1HX-v1-naa">
  90. <rect key="frame" x="12" y="186" width="58.5" height="15"/>
  91. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  92. <color key="textColor" red="1" green="0.50196078430000002" blue="0.17254901959999999" alpha="1" colorSpace="calibratedRGB"/>
  93. <nil key="highlightedColor"/>
  94. </label>
  95. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="/ 4课时" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Mbx-Mx-WUq">
  96. <rect key="frame" x="61.5" y="164" width="47.5" height="17"/>
  97. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  98. <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
  99. <nil key="highlightedColor"/>
  100. </label>
  101. </subviews>
  102. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  103. <constraints>
  104. <constraint firstItem="Mbx-Mx-WUq" firstAttribute="leading" secondItem="W3y-Mv-wxM" secondAttribute="trailing" constant="4" id="0KC-St-V0b"/>
  105. <constraint firstItem="uOk-ia-Vh6" firstAttribute="top" secondItem="U59-Pt-Ft1" secondAttribute="bottom" constant="6" id="1pe-xh-lmN"/>
  106. <constraint firstAttribute="trailing" secondItem="U59-Pt-Ft1" secondAttribute="trailing" id="4Dp-mH-SWc"/>
  107. <constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="1HX-v1-naa" secondAttribute="trailing" constant="14" id="8Y8-61-Q3f"/>
  108. <constraint firstItem="mM7-Jr-9nv" firstAttribute="top" secondItem="RA1-Ms-Rdt" secondAttribute="top" constant="6" id="9Is-5k-FxA"/>
  109. <constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="Mbx-Mx-WUq" secondAttribute="trailing" constant="12" id="GWl-77-zOq"/>
  110. <constraint firstItem="U59-Pt-Ft1" firstAttribute="top" secondItem="RA1-Ms-Rdt" secondAttribute="top" id="JRf-z3-v3b"/>
  111. <constraint firstItem="1HX-v1-naa" firstAttribute="top" secondItem="W3y-Mv-wxM" secondAttribute="bottom" constant="1" id="OPI-20-hwd"/>
  112. <constraint firstItem="1HX-v1-naa" firstAttribute="leading" secondItem="W3y-Mv-wxM" secondAttribute="leading" id="PDL-BV-9X0"/>
  113. <constraint firstItem="UwI-V7-ylA" firstAttribute="bottom" secondItem="U59-Pt-Ft1" secondAttribute="bottom" constant="-5" id="ROV-Ku-hBb"/>
  114. <constraint firstItem="uOk-ia-Vh6" firstAttribute="leading" secondItem="RA1-Ms-Rdt" secondAttribute="leading" constant="11" id="RTH-lX-k5P"/>
  115. <constraint firstAttribute="trailing" secondItem="uOk-ia-Vh6" secondAttribute="trailing" constant="13" id="S4V-XM-Vxi"/>
  116. <constraint firstItem="U59-Pt-Ft1" firstAttribute="leading" secondItem="RA1-Ms-Rdt" secondAttribute="leading" id="UyZ-0m-Zce"/>
  117. <constraint firstItem="mM7-Jr-9nv" firstAttribute="leading" secondItem="RA1-Ms-Rdt" secondAttribute="leading" id="dLl-95-RZp"/>
  118. <constraint firstItem="W3y-Mv-wxM" firstAttribute="top" secondItem="U59-Pt-Ft1" secondAttribute="bottom" constant="49" id="jk7-MS-wHh"/>
  119. <constraint firstItem="Mbx-Mx-WUq" firstAttribute="centerY" secondItem="W3y-Mv-wxM" secondAttribute="centerY" id="kcQ-QE-lJh"/>
  120. <constraint firstAttribute="trailing" secondItem="UwI-V7-ylA" secondAttribute="trailing" constant="6" id="tge-Wr-QAs"/>
  121. <constraint firstItem="W3y-Mv-wxM" firstAttribute="leading" secondItem="RA1-Ms-Rdt" secondAttribute="leading" constant="12" id="xR2-mV-JFQ"/>
  122. </constraints>
  123. </view>
  124. </subviews>
  125. </view>
  126. <viewLayoutGuide key="safeArea" id="SEy-5g-ep8"/>
  127. <constraints>
  128. <constraint firstAttribute="bottom" secondItem="RA1-Ms-Rdt" secondAttribute="bottom" id="8dJ-nf-dsf"/>
  129. <constraint firstItem="RA1-Ms-Rdt" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="HwR-1n-wZS"/>
  130. <constraint firstItem="RA1-Ms-Rdt" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="JeN-cc-UTb"/>
  131. <constraint firstAttribute="trailing" secondItem="RA1-Ms-Rdt" secondAttribute="trailing" id="OE6-Fp-3Fh"/>
  132. </constraints>
  133. <size key="customSize" width="207" height="239"/>
  134. <userDefinedRuntimeAttributes>
  135. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  136. <real key="value" value="5"/>
  137. </userDefinedRuntimeAttribute>
  138. </userDefinedRuntimeAttributes>
  139. <connections>
  140. <outlet property="courseCount" destination="Mbx-Mx-WUq" id="nfx-dV-JPo"/>
  141. <outlet property="courseMessage" destination="W3y-Mv-wxM" id="Nsr-uP-v89"/>
  142. <outlet property="courseTitle" destination="uOk-ia-Vh6" id="vHO-8t-9sg"/>
  143. <outlet property="coverImage" destination="U59-Pt-Ft1" id="46O-sh-EXw"/>
  144. <outlet property="descLabel" destination="1HX-v1-naa" id="RbV-LD-Rl1"/>
  145. <outlet property="statusView" destination="mM7-Jr-9nv" id="uJp-9P-QmL"/>
  146. <outlet property="subjectLabel" destination="4gv-0P-tG8" id="ZbB-cP-L8Y"/>
  147. </connections>
  148. <point key="canvasLocation" x="245.6521739130435" y="142.96875"/>
  149. </collectionViewCell>
  150. </objects>
  151. <resources>
  152. <image name="video_placeholder" width="103" height="72"/>
  153. <systemColor name="systemBackgroundColor">
  154. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  155. </systemColor>
  156. </resources>
  157. </document>