VipLessonTableHeaderView.xib 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" 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="16087"/>
  7. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  8. </dependencies>
  9. <objects>
  10. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  11. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  12. <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="VipLessonTableHeaderView">
  13. <rect key="frame" x="0.0" y="0.0" width="425" height="250"/>
  14. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  15. <subviews>
  16. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="wHB-E6-Qfa">
  17. <rect key="frame" x="22.5" y="38" width="380" height="202"/>
  18. <subviews>
  19. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Head-bg" translatesAutoresizingMaskIntoConstraints="NO" id="D2d-iU-reo">
  20. <rect key="frame" x="16" y="35.5" width="67" height="67.5"/>
  21. <constraints>
  22. <constraint firstAttribute="width" secondItem="D2d-iU-reo" secondAttribute="height" id="c2R-zk-tvY"/>
  23. </constraints>
  24. </imageView>
  25. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="张三丰" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="PmS-6m-3ZN">
  26. <rect key="frame" x="94" y="49" width="52" height="21"/>
  27. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  28. <color key="textColor" red="1" green="0.83529411764705885" blue="0.30588235294117649" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  29. <nil key="highlightedColor"/>
  30. </label>
  31. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="zhy-da-ndp">
  32. <rect key="frame" x="154" y="49.5" width="40" height="20"/>
  33. <color key="backgroundColor" red="0.98431372549019602" green="0.39215686274509803" blue="0.38431372549019605" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  34. <constraints>
  35. <constraint firstAttribute="width" secondItem="zhy-da-ndp" secondAttribute="height" multiplier="2:1" id="35e-hh-jIk"/>
  36. <constraint firstAttribute="height" constant="20" id="d0N-dv-GZr"/>
  37. </constraints>
  38. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  39. <state key="normal" title="小车">
  40. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  41. </state>
  42. <userDefinedRuntimeAttributes>
  43. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  44. <real key="value" value="5"/>
  45. </userDefinedRuntimeAttribute>
  46. <userDefinedRuntimeAttribute type="boolean" keyPath="circle" value="YES"/>
  47. </userDefinedRuntimeAttributes>
  48. </button>
  49. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0%" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="flO-1U-ojy">
  50. <rect key="frame" x="0.0" y="129" width="190" height="24"/>
  51. <fontDescription key="fontDescription" type="system" pointSize="20"/>
  52. <color key="textColor" red="1" green="0.83529411764705885" blue="0.30588235294117649" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  53. <nil key="highlightedColor"/>
  54. </label>
  55. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="通过率预测" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="g9q-hm-bk6">
  56. <rect key="frame" x="0.0" y="169" width="190" height="17"/>
  57. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  58. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  59. <nil key="highlightedColor"/>
  60. </label>
  61. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="50元" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="USy-PN-I5z">
  62. <rect key="frame" x="190" y="129" width="190" height="24"/>
  63. <fontDescription key="fontDescription" type="system" pointSize="20"/>
  64. <color key="textColor" red="1" green="0.83529411764705885" blue="0.30588235294117649" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  65. <nil key="highlightedColor"/>
  66. </label>
  67. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="保障金额" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="yk5-oB-CPu">
  68. <rect key="frame" x="190" y="169" width="190" height="17"/>
  69. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  70. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  71. <nil key="highlightedColor"/>
  72. </label>
  73. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="2019年12-19到期" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="p1O-Xr-6JI">
  74. <rect key="frame" x="94" y="78" width="97" height="15"/>
  75. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  76. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  77. <nil key="highlightedColor"/>
  78. </label>
  79. </subviews>
  80. <color key="backgroundColor" red="0.18823529411764706" green="0.21568627450980393" blue="0.27843137254901962" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  81. <constraints>
  82. <constraint firstItem="flO-1U-ojy" firstAttribute="width" secondItem="USy-PN-I5z" secondAttribute="width" id="08L-hB-n1F"/>
  83. <constraint firstItem="yk5-oB-CPu" firstAttribute="leading" secondItem="USy-PN-I5z" secondAttribute="leading" id="8OV-hH-WZL"/>
  84. <constraint firstItem="g9q-hm-bk6" firstAttribute="top" secondItem="flO-1U-ojy" secondAttribute="bottom" constant="16" id="Bof-cg-KmB"/>
  85. <constraint firstItem="g9q-hm-bk6" firstAttribute="width" secondItem="flO-1U-ojy" secondAttribute="width" id="DPT-PF-MBx"/>
  86. <constraint firstItem="USy-PN-I5z" firstAttribute="top" secondItem="flO-1U-ojy" secondAttribute="top" id="DuC-vi-SRu"/>
  87. <constraint firstItem="g9q-hm-bk6" firstAttribute="leading" secondItem="flO-1U-ojy" secondAttribute="leading" id="FW9-6g-X6S"/>
  88. <constraint firstItem="PmS-6m-3ZN" firstAttribute="centerY" secondItem="D2d-iU-reo" secondAttribute="centerY" constant="-10" id="IwO-V3-0Tl"/>
  89. <constraint firstItem="yk5-oB-CPu" firstAttribute="width" secondItem="USy-PN-I5z" secondAttribute="width" id="KjN-Va-lvX"/>
  90. <constraint firstItem="g9q-hm-bk6" firstAttribute="trailing" secondItem="flO-1U-ojy" secondAttribute="trailing" id="QAO-fB-Z8t"/>
  91. <constraint firstItem="zhy-da-ndp" firstAttribute="centerY" secondItem="PmS-6m-3ZN" secondAttribute="centerY" id="Rai-OR-pll"/>
  92. <constraint firstItem="zhy-da-ndp" firstAttribute="leading" secondItem="PmS-6m-3ZN" secondAttribute="trailing" constant="8" id="WFT-YG-exE"/>
  93. <constraint firstItem="yk5-oB-CPu" firstAttribute="trailing" secondItem="USy-PN-I5z" secondAttribute="trailing" id="WMQ-gp-X3S"/>
  94. <constraint firstItem="yk5-oB-CPu" firstAttribute="top" secondItem="USy-PN-I5z" secondAttribute="bottom" constant="16" id="XxP-NT-A7B"/>
  95. <constraint firstItem="PmS-6m-3ZN" firstAttribute="leading" secondItem="D2d-iU-reo" secondAttribute="trailing" constant="11" id="YXo-PB-ees"/>
  96. <constraint firstItem="flO-1U-ojy" firstAttribute="leading" secondItem="wHB-E6-Qfa" secondAttribute="leading" id="Yuu-XK-JKv"/>
  97. <constraint firstAttribute="bottom" secondItem="g9q-hm-bk6" secondAttribute="bottom" constant="16" id="ZQK-Rk-WpM"/>
  98. <constraint firstAttribute="trailing" secondItem="USy-PN-I5z" secondAttribute="trailing" id="aOW-VH-t8e"/>
  99. <constraint firstItem="D2d-iU-reo" firstAttribute="height" secondItem="wHB-E6-Qfa" secondAttribute="height" multiplier="1:3" id="esu-ei-sBk"/>
  100. <constraint firstItem="D2d-iU-reo" firstAttribute="leading" secondItem="wHB-E6-Qfa" secondAttribute="leading" constant="16" id="qDH-VR-WSH"/>
  101. <constraint firstItem="p1O-Xr-6JI" firstAttribute="leading" secondItem="PmS-6m-3ZN" secondAttribute="leading" id="qah-ir-au7"/>
  102. <constraint firstItem="yk5-oB-CPu" firstAttribute="bottom" secondItem="g9q-hm-bk6" secondAttribute="bottom" id="reD-dV-dnk"/>
  103. <constraint firstAttribute="width" secondItem="wHB-E6-Qfa" secondAttribute="height" multiplier="49:26" id="sGs-40-wAn"/>
  104. <constraint firstItem="flO-1U-ojy" firstAttribute="width" secondItem="wHB-E6-Qfa" secondAttribute="width" multiplier="1:2" id="sQG-iT-qVV"/>
  105. <constraint firstItem="USy-PN-I5z" firstAttribute="leading" secondItem="flO-1U-ojy" secondAttribute="trailing" id="tn7-CV-oXJ"/>
  106. <constraint firstItem="p1O-Xr-6JI" firstAttribute="top" secondItem="PmS-6m-3ZN" secondAttribute="bottom" constant="8" id="xPj-Z0-Ref"/>
  107. </constraints>
  108. <userDefinedRuntimeAttributes>
  109. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  110. <real key="value" value="5"/>
  111. </userDefinedRuntimeAttribute>
  112. </userDefinedRuntimeAttributes>
  113. </view>
  114. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="ObjectOne" translatesAutoresizingMaskIntoConstraints="NO" id="1no-fl-4YX">
  115. <rect key="frame" x="361" y="33" width="25.5" height="50.5"/>
  116. <constraints>
  117. <constraint firstAttribute="width" secondItem="1no-fl-4YX" secondAttribute="height" multiplier="66:129" id="upv-C9-0B5"/>
  118. </constraints>
  119. </imageView>
  120. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="KRL-zd-Z26">
  121. <rect key="frame" x="0.0" y="0.0" width="425" height="250"/>
  122. <subviews>
  123. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="notVip" translatesAutoresizingMaskIntoConstraints="NO" id="7bJ-Ck-15a">
  124. <rect key="frame" x="0.0" y="0.0" width="425" height="250"/>
  125. </imageView>
  126. <button opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="hxc-gL-gFP">
  127. <rect key="frame" x="71" y="204.5" width="283" height="41.5"/>
  128. <state key="normal" title="累计为1000学员提供保障">
  129. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  130. </state>
  131. <connections>
  132. <action selector="signUpBtnAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="J8Y-SX-6CZ"/>
  133. </connections>
  134. </button>
  135. </subviews>
  136. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  137. <constraints>
  138. <constraint firstItem="hxc-gL-gFP" firstAttribute="height" secondItem="KRL-zd-Z26" secondAttribute="height" multiplier="1:6" id="C5Q-IA-KFK"/>
  139. <constraint firstAttribute="bottom" secondItem="7bJ-Ck-15a" secondAttribute="bottom" id="EX0-u9-LLR"/>
  140. <constraint firstAttribute="bottom" secondItem="hxc-gL-gFP" secondAttribute="bottom" constant="4" id="GEk-no-TOM"/>
  141. <constraint firstItem="7bJ-Ck-15a" firstAttribute="leading" secondItem="KRL-zd-Z26" secondAttribute="leading" id="OV0-a6-yKU"/>
  142. <constraint firstAttribute="trailing" secondItem="7bJ-Ck-15a" secondAttribute="trailing" id="jtD-qd-gb7"/>
  143. <constraint firstItem="hxc-gL-gFP" firstAttribute="centerX" secondItem="7bJ-Ck-15a" secondAttribute="centerX" id="lYv-Kd-rjI"/>
  144. <constraint firstItem="7bJ-Ck-15a" firstAttribute="top" secondItem="KRL-zd-Z26" secondAttribute="top" id="ulL-Ru-sGJ"/>
  145. <constraint firstAttribute="bottom" secondItem="hxc-gL-gFP" secondAttribute="bottom" constant="4" id="vho-r2-nfn"/>
  146. <constraint firstItem="hxc-gL-gFP" firstAttribute="width" secondItem="KRL-zd-Z26" secondAttribute="width" multiplier="2:3" id="wyL-Il-Dc0"/>
  147. </constraints>
  148. </view>
  149. </subviews>
  150. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  151. <constraints>
  152. <constraint firstItem="1no-fl-4YX" firstAttribute="trailing" secondItem="wHB-E6-Qfa" secondAttribute="trailing" constant="-16" id="3gD-pP-iVO"/>
  153. <constraint firstItem="1no-fl-4YX" firstAttribute="top" secondItem="wHB-E6-Qfa" secondAttribute="top" constant="-5" id="Ahb-i2-6JP"/>
  154. <constraint firstAttribute="bottom" secondItem="KRL-zd-Z26" secondAttribute="bottom" id="BaY-on-7Bx"/>
  155. <constraint firstItem="wHB-E6-Qfa" firstAttribute="width" secondItem="iN0-l3-epB" secondAttribute="width" multiplier="17:19" id="L83-qU-haU"/>
  156. <constraint firstItem="1no-fl-4YX" firstAttribute="height" secondItem="wHB-E6-Qfa" secondAttribute="height" multiplier="1:4" id="LGe-9j-XaN"/>
  157. <constraint firstAttribute="trailing" secondItem="KRL-zd-Z26" secondAttribute="trailing" id="QwB-hK-H7T"/>
  158. <constraint firstItem="wHB-E6-Qfa" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="ke7-Af-FtM"/>
  159. <constraint firstItem="KRL-zd-Z26" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="wDd-Bb-LTS"/>
  160. <constraint firstAttribute="bottom" secondItem="wHB-E6-Qfa" secondAttribute="bottom" constant="10" id="xM6-Jv-gNL"/>
  161. <constraint firstItem="D2d-iU-reo" firstAttribute="top" secondItem="1no-fl-4YX" secondAttribute="bottom" constant="-10" id="zWv-BT-wPI"/>
  162. <constraint firstItem="KRL-zd-Z26" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="zq8-1h-zaI"/>
  163. </constraints>
  164. <nil key="simulatedTopBarMetrics"/>
  165. <nil key="simulatedBottomBarMetrics"/>
  166. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  167. <connections>
  168. <outlet property="haveVipView" destination="wHB-E6-Qfa" id="Vhx-VG-cvJ"/>
  169. <outlet property="notVipView" destination="KRL-zd-Z26" id="aOI-e2-QcI"/>
  170. <outlet property="signUpBtn" destination="hxc-gL-gFP" id="EqP-7z-4Dz"/>
  171. <outlet property="subjectImageView" destination="1no-fl-4YX" id="Wid-7M-mhU"/>
  172. </connections>
  173. <point key="canvasLocation" x="145.6521739130435" y="186.83035714285714"/>
  174. </view>
  175. </objects>
  176. <resources>
  177. <image name="Head-bg" width="68" height="68"/>
  178. <image name="ObjectOne" width="24.5" height="44"/>
  179. <image name="notVip" width="360" height="246"/>
  180. </resources>
  181. </document>