VIPCourseCell.xib 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  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" 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="23506"/>
  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. <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="99" id="KGk-i7-Jjw" customClass="VIPCourseCell">
  15. <rect key="frame" x="0.0" y="0.0" width="375" height="137"/>
  16. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  17. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
  18. <rect key="frame" x="0.0" y="0.0" width="375" height="137"/>
  19. <autoresizingMask key="autoresizingMask"/>
  20. <subviews>
  21. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Prt-82-eFb">
  22. <rect key="frame" x="14" y="0.0" width="347" height="125"/>
  23. <subviews>
  24. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="jQ1-Wj-ucc">
  25. <rect key="frame" x="12" y="38" width="323" height="1"/>
  26. <color key="backgroundColor" red="0.94901960784313721" green="0.94901960784313721" blue="0.94901960784313721" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  27. <constraints>
  28. <constraint firstAttribute="height" constant="1" id="OZb-Zn-ljG"/>
  29. </constraints>
  30. </view>
  31. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="course_time" translatesAutoresizingMaskIntoConstraints="NO" id="8gY-RN-itJ">
  32. <rect key="frame" x="12" y="11" width="16" height="16"/>
  33. <constraints>
  34. <constraint firstAttribute="height" constant="16" id="UmW-l8-Oad"/>
  35. <constraint firstAttribute="width" constant="16" id="oYG-4m-J1v"/>
  36. </constraints>
  37. </imageView>
  38. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" horizontalCompressionResistancePriority="749" text="2021-09-17 14:00~14:25" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Fqj-41-s1K">
  39. <rect key="frame" x="35" y="10" width="151.33333333333334" height="18"/>
  40. <constraints>
  41. <constraint firstAttribute="height" constant="18" id="4G0-gx-woG"/>
  42. </constraints>
  43. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  44. <color key="textColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  45. <nil key="highlightedColor"/>
  46. </label>
  47. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" horizontalCompressionResistancePriority="752" text="进行中" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Lid-9a-OQf">
  48. <rect key="frame" x="293" y="10.666666666666664" width="42" height="17"/>
  49. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="14"/>
  50. <color key="textColor" red="0.1764705882352941" green="0.7803921568627451" blue="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  51. <nil key="highlightedColor"/>
  52. </label>
  53. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="student_avatar" translatesAutoresizingMaskIntoConstraints="NO" id="fEg-xE-FLb">
  54. <rect key="frame" x="11" y="55" width="54" height="54"/>
  55. <constraints>
  56. <constraint firstAttribute="width" constant="54" id="Np7-Ob-XE2"/>
  57. <constraint firstAttribute="height" constant="54" id="qgd-YB-Ffr"/>
  58. </constraints>
  59. <userDefinedRuntimeAttributes>
  60. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  61. <real key="value" value="8"/>
  62. </userDefinedRuntimeAttribute>
  63. </userDefinedRuntimeAttributes>
  64. </imageView>
  65. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="张豆豆" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="uaL-C5-cxT">
  66. <rect key="frame" x="75" y="57" width="48" height="22"/>
  67. <constraints>
  68. <constraint firstAttribute="height" constant="22" id="sQ2-yi-rPG"/>
  69. </constraints>
  70. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="16"/>
  71. <color key="textColor" red="0.10196078431372549" green="0.10196078431372549" blue="0.10196078431372549" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  72. <nil key="highlightedColor"/>
  73. </label>
  74. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="yFL-8X-NNI">
  75. <rect key="frame" x="143.33333333333334" y="87" width="45" height="20"/>
  76. <subviews>
  77. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="单簧管" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="iDN-9i-ii9">
  78. <rect key="frame" x="6" y="0.0" width="33" height="20"/>
  79. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="11"/>
  80. <color key="textColor" red="1" green="0.61960784313725492" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  81. <nil key="highlightedColor"/>
  82. </label>
  83. </subviews>
  84. <color key="backgroundColor" red="1" green="0.95686274509803915" blue="0.90196078431372551" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  85. <constraints>
  86. <constraint firstItem="iDN-9i-ii9" firstAttribute="top" secondItem="yFL-8X-NNI" secondAttribute="top" id="9zI-bx-Ru1"/>
  87. <constraint firstAttribute="bottom" secondItem="iDN-9i-ii9" secondAttribute="bottom" id="NSB-J3-jVr"/>
  88. <constraint firstItem="iDN-9i-ii9" firstAttribute="leading" secondItem="yFL-8X-NNI" secondAttribute="leading" constant="6" id="PA9-pv-xhP"/>
  89. <constraint firstAttribute="height" constant="20" id="eup-02-R2H"/>
  90. <constraint firstAttribute="trailing" secondItem="iDN-9i-ii9" secondAttribute="trailing" constant="6" id="ucu-6V-Vjr"/>
  91. </constraints>
  92. <userDefinedRuntimeAttributes>
  93. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  94. <real key="value" value="3"/>
  95. </userDefinedRuntimeAttribute>
  96. </userDefinedRuntimeAttributes>
  97. </view>
  98. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="0e3-fp-uAc">
  99. <rect key="frame" x="129" y="48" width="19" height="40"/>
  100. <constraints>
  101. <constraint firstAttribute="height" constant="40" id="jH6-a3-7S5"/>
  102. </constraints>
  103. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  104. <state key="normal" image="course_chat"/>
  105. <connections>
  106. <action selector="chatAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="x8R-Ln-3na"/>
  107. </connections>
  108. </button>
  109. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="iNM-Ch-sTL">
  110. <rect key="frame" x="265" y="81" width="70" height="28"/>
  111. <color key="backgroundColor" red="0.1764705882352941" green="0.7803921568627451" blue="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  112. <constraints>
  113. <constraint firstAttribute="height" constant="28" id="LHz-TW-hCI"/>
  114. <constraint firstAttribute="width" constant="70" id="dDE-4R-ZUz"/>
  115. </constraints>
  116. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="13"/>
  117. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  118. <state key="normal" title="进入教室"/>
  119. <userDefinedRuntimeAttributes>
  120. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  121. <real key="value" value="14"/>
  122. </userDefinedRuntimeAttribute>
  123. <userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
  124. <real key="value" value="1"/>
  125. </userDefinedRuntimeAttribute>
  126. <userDefinedRuntimeAttribute type="color" keyPath="borderColor">
  127. <color key="value" red="0.1764705882352941" green="0.7803921568627451" blue="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  128. </userDefinedRuntimeAttribute>
  129. </userDefinedRuntimeAttributes>
  130. <connections>
  131. <action selector="courseAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="4XB-b2-f6n"/>
  132. </connections>
  133. </button>
  134. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Ke6-vg-Fje">
  135. <rect key="frame" x="75" y="87" width="64.333333333333314" height="20"/>
  136. <subviews>
  137. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="VIP定制课" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Exb-Tk-01t">
  138. <rect key="frame" x="6.0000000000000036" y="0.0" width="52.333333333333343" height="20"/>
  139. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="11"/>
  140. <color key="textColor" red="1" green="0.61960784310000006" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  141. <nil key="highlightedColor"/>
  142. </label>
  143. </subviews>
  144. <color key="backgroundColor" red="1" green="0.95686274510000002" blue="0.90196078430000004" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  145. <constraints>
  146. <constraint firstItem="Exb-Tk-01t" firstAttribute="top" secondItem="Ke6-vg-Fje" secondAttribute="top" id="NIn-P2-F4v"/>
  147. <constraint firstAttribute="height" constant="20" id="QtG-Ur-NhS"/>
  148. <constraint firstAttribute="bottom" secondItem="Exb-Tk-01t" secondAttribute="bottom" id="VbW-Md-6Og"/>
  149. <constraint firstItem="Exb-Tk-01t" firstAttribute="leading" secondItem="Ke6-vg-Fje" secondAttribute="leading" constant="6" id="frZ-KJ-sn0"/>
  150. <constraint firstAttribute="trailing" secondItem="Exb-Tk-01t" secondAttribute="trailing" constant="6" id="kdV-OR-xhQ"/>
  151. </constraints>
  152. <userDefinedRuntimeAttributes>
  153. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  154. <real key="value" value="3"/>
  155. </userDefinedRuntimeAttribute>
  156. </userDefinedRuntimeAttributes>
  157. </view>
  158. </subviews>
  159. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  160. <constraints>
  161. <constraint firstItem="fEg-xE-FLb" firstAttribute="top" secondItem="jQ1-Wj-ucc" secondAttribute="bottom" constant="16" id="24B-Ke-hjh"/>
  162. <constraint firstItem="Ke6-vg-Fje" firstAttribute="leading" secondItem="uaL-C5-cxT" secondAttribute="leading" id="65B-Ng-aXu"/>
  163. <constraint firstItem="uaL-C5-cxT" firstAttribute="leading" secondItem="fEg-xE-FLb" secondAttribute="trailing" constant="10" id="B51-VO-hCM"/>
  164. <constraint firstItem="Ke6-vg-Fje" firstAttribute="top" secondItem="uaL-C5-cxT" secondAttribute="bottom" constant="8" id="DT9-5c-00S"/>
  165. <constraint firstItem="yFL-8X-NNI" firstAttribute="centerY" secondItem="Ke6-vg-Fje" secondAttribute="centerY" id="Ekx-Kh-2n7"/>
  166. <constraint firstItem="8gY-RN-itJ" firstAttribute="leading" secondItem="Prt-82-eFb" secondAttribute="leading" constant="12" id="GRq-Nt-JtF"/>
  167. <constraint firstItem="0e3-fp-uAc" firstAttribute="centerY" secondItem="uaL-C5-cxT" secondAttribute="centerY" id="L3T-WT-yJf"/>
  168. <constraint firstItem="Lid-9a-OQf" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="Fqj-41-s1K" secondAttribute="trailing" constant="5" id="MBu-MZ-fjb"/>
  169. <constraint firstItem="fEg-xE-FLb" firstAttribute="leading" secondItem="Prt-82-eFb" secondAttribute="leading" constant="11" id="P0G-na-1GI"/>
  170. <constraint firstItem="iNM-Ch-sTL" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="0e3-fp-uAc" secondAttribute="trailing" constant="11" id="RWh-KD-Jib"/>
  171. <constraint firstItem="uaL-C5-cxT" firstAttribute="top" secondItem="fEg-xE-FLb" secondAttribute="top" constant="2" id="Y0a-tb-RAI"/>
  172. <constraint firstItem="yFL-8X-NNI" firstAttribute="leading" secondItem="Ke6-vg-Fje" secondAttribute="trailing" constant="4" id="d9B-QA-fS9"/>
  173. <constraint firstItem="Fqj-41-s1K" firstAttribute="centerY" secondItem="8gY-RN-itJ" secondAttribute="centerY" id="dof-s4-2a2"/>
  174. <constraint firstAttribute="bottom" secondItem="fEg-xE-FLb" secondAttribute="bottom" constant="16" id="ez7-17-uvz"/>
  175. <constraint firstItem="Fqj-41-s1K" firstAttribute="leading" secondItem="8gY-RN-itJ" secondAttribute="trailing" constant="7" id="ftG-Zv-OvD"/>
  176. <constraint firstItem="0e3-fp-uAc" firstAttribute="leading" secondItem="uaL-C5-cxT" secondAttribute="trailing" constant="6" id="lAQ-vu-yML"/>
  177. <constraint firstAttribute="trailing" secondItem="Lid-9a-OQf" secondAttribute="trailing" constant="12" id="lII-s2-S7S"/>
  178. <constraint firstAttribute="trailing" secondItem="iNM-Ch-sTL" secondAttribute="trailing" constant="12" id="mWg-2h-u5l"/>
  179. <constraint firstAttribute="trailing" secondItem="jQ1-Wj-ucc" secondAttribute="trailing" constant="12" id="oFF-ib-myr"/>
  180. <constraint firstItem="jQ1-Wj-ucc" firstAttribute="leading" secondItem="Prt-82-eFb" secondAttribute="leading" constant="12" id="r9l-d0-vkD"/>
  181. <constraint firstAttribute="bottom" secondItem="iNM-Ch-sTL" secondAttribute="bottom" constant="16" id="rjh-ho-7de"/>
  182. <constraint firstItem="Lid-9a-OQf" firstAttribute="centerY" secondItem="Fqj-41-s1K" secondAttribute="centerY" id="skm-qo-kaq"/>
  183. <constraint firstItem="8gY-RN-itJ" firstAttribute="top" secondItem="Prt-82-eFb" secondAttribute="top" constant="11" id="syU-bn-rHQ"/>
  184. <constraint firstItem="jQ1-Wj-ucc" firstAttribute="top" secondItem="8gY-RN-itJ" secondAttribute="bottom" constant="11" id="tIC-Rn-pXK"/>
  185. </constraints>
  186. <userDefinedRuntimeAttributes>
  187. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  188. <real key="value" value="10"/>
  189. </userDefinedRuntimeAttribute>
  190. </userDefinedRuntimeAttributes>
  191. </view>
  192. </subviews>
  193. <constraints>
  194. <constraint firstItem="Prt-82-eFb" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="14" id="BAS-8s-yOh"/>
  195. <constraint firstAttribute="trailing" secondItem="Prt-82-eFb" secondAttribute="trailing" constant="14" id="EYN-Fm-aIr"/>
  196. <constraint firstItem="Prt-82-eFb" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" id="OXj-OD-pJA"/>
  197. <constraint firstAttribute="bottom" secondItem="Prt-82-eFb" secondAttribute="bottom" constant="12" id="UYo-s1-qpy"/>
  198. </constraints>
  199. </tableViewCellContentView>
  200. <viewLayoutGuide key="safeArea" id="aW0-zy-SZf"/>
  201. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  202. <connections>
  203. <outlet property="chatButton" destination="0e3-fp-uAc" id="Idg-Qe-Kt7"/>
  204. <outlet property="courseStatus" destination="Lid-9a-OQf" id="puv-tc-X8L"/>
  205. <outlet property="courseTime" destination="Fqj-41-s1K" id="T7J-1b-342"/>
  206. <outlet property="opreationButton" destination="iNM-Ch-sTL" id="mmB-ao-flp"/>
  207. <outlet property="studentAvatar" destination="fEg-xE-FLb" id="T5R-So-meg"/>
  208. <outlet property="studentName" destination="uaL-C5-cxT" id="DOg-ai-2lz"/>
  209. <outlet property="studentSubject" destination="iDN-9i-ii9" id="T4B-rg-hTr"/>
  210. </connections>
  211. <point key="canvasLocation" x="51.145038167938928" y="38.380281690140848"/>
  212. </tableViewCell>
  213. </objects>
  214. <resources>
  215. <image name="course_chat" width="19" height="18"/>
  216. <image name="course_time" width="16" height="16"/>
  217. <image name="student_avatar" width="150" height="150"/>
  218. <systemColor name="systemBackgroundColor">
  219. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  220. </systemColor>
  221. </resources>
  222. </document>