RQVipTrainPriceCell.xib 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21507" 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="21505"/>
  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. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" id="Gri-Cn-mel" customClass="RQVipTrainPriceCell">
  13. <rect key="frame" x="0.0" y="0.0" width="288" height="139"/>
  14. <autoresizingMask key="autoresizingMask"/>
  15. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
  16. <rect key="frame" x="0.0" y="0.0" width="288" height="139"/>
  17. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  18. <subviews>
  19. <view clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="G0h-0a-eoE" customClass="UIImageView">
  20. <rect key="frame" x="0.0" y="8" width="288" height="131"/>
  21. <subviews>
  22. <stackView opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" distribution="fillEqually" translatesAutoresizingMaskIntoConstraints="NO" id="4Iz-Qv-2uS">
  23. <rect key="frame" x="4" y="3.3333333333333357" width="284" height="46"/>
  24. <subviews>
  25. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="科一1年专项VIP" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" minimumFontSize="20" translatesAutoresizingMaskIntoConstraints="NO" id="4vT-NK-a4G">
  26. <rect key="frame" x="0.0" y="0.0" width="142" height="46"/>
  27. <fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="21"/>
  28. <color key="textColor" red="0.28627450980392155" green="0.090196078431372548" blue="0.10196078431372549" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  29. <nil key="highlightedColor"/>
  30. </label>
  31. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="¥19/半年" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.80000001192092896" adjustsFontForContentSizeCategory="YES" translatesAutoresizingMaskIntoConstraints="NO" id="hwC-K1-0ZC">
  32. <rect key="frame" x="142" y="0.0" width="142" height="46"/>
  33. <fontDescription key="fontDescription" type="boldSystem" pointSize="24"/>
  34. <color key="textColor" red="0.93333333333333335" green="0.16470588235294117" blue="0.17254901960784313" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  35. <nil key="highlightedColor"/>
  36. </label>
  37. </subviews>
  38. </stackView>
  39. <button opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="959-5f-PVL" customClass="QMUIButton">
  40. <rect key="frame" x="204" y="3.3333333333333357" width="84" height="34"/>
  41. <constraints>
  42. <constraint firstAttribute="width" secondItem="959-5f-PVL" secondAttribute="height" multiplier="84/34" id="nWy-m8-hFa"/>
  43. </constraints>
  44. <fontDescription key="fontDescription" type="boldSystem" pointSize="17"/>
  45. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  46. <state key="normal" title="已激活" backgroundImage="已激活">
  47. <color key="titleColor" red="0.56862745098039214" green="0.32941176470588235" blue="0.058823529411764705" alpha="1" colorSpace="calibratedRGB"/>
  48. </state>
  49. </button>
  50. <stackView opaque="NO" contentMode="scaleToFill" distribution="fillEqually" translatesAutoresizingMaskIntoConstraints="NO" id="tNM-cD-z2H">
  51. <rect key="frame" x="0.0" y="49.333333333333329" width="288" height="48.333333333333329"/>
  52. <subviews>
  53. <button opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="0af-0S-a49" customClass="QMUIButton">
  54. <rect key="frame" x="0.0" y="0.0" width="144" height="48.333333333333336"/>
  55. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  56. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  57. <state key="normal" title="理论计时" image="理论计时VIP">
  58. <color key="titleColor" red="0.396078431372549" green="0.27058823529411763" blue="0.12549019607843137" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  59. </state>
  60. <userDefinedRuntimeAttributes>
  61. <userDefinedRuntimeAttribute type="number" keyPath="spacingBetweenImageAndTitle">
  62. <real key="value" value="0.0"/>
  63. </userDefinedRuntimeAttribute>
  64. </userDefinedRuntimeAttributes>
  65. </button>
  66. <button opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="eij-Fy-Hhh" customClass="QMUIButton">
  67. <rect key="frame" x="144" y="0.0" width="144" height="48.333333333333336"/>
  68. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  69. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  70. <state key="normal" title="我的学时" image="我的学时VIP">
  71. <color key="titleColor" red="0.39607843139999999" green="0.27058823529999998" blue="0.12549019610000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  72. </state>
  73. <userDefinedRuntimeAttributes>
  74. <userDefinedRuntimeAttribute type="number" keyPath="spacingBetweenImageAndTitle">
  75. <real key="value" value="0.0"/>
  76. </userDefinedRuntimeAttribute>
  77. </userDefinedRuntimeAttributes>
  78. </button>
  79. </subviews>
  80. </stackView>
  81. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="unQ-P6-gNN">
  82. <rect key="frame" x="0.0" y="102.33333333333333" width="288" height="28.666666666666671"/>
  83. </imageView>
  84. <button opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="oFl-eI-qYs" customClass="QMUIButton">
  85. <rect key="frame" x="0.0" y="100.66666666666667" width="288" height="30.333333333333329"/>
  86. <fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="13"/>
  87. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  88. <state key="normal" title="以下套餐包含此套餐,购买更优惠" image="以下套餐">
  89. <color key="titleColor" red="0.39607843139999999" green="0.27058823529999998" blue="0.12549019610000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  90. </state>
  91. <userDefinedRuntimeAttributes>
  92. <userDefinedRuntimeAttribute type="number" keyPath="spacingBetweenImageAndTitle">
  93. <real key="value" value="8"/>
  94. </userDefinedRuntimeAttribute>
  95. </userDefinedRuntimeAttributes>
  96. </button>
  97. </subviews>
  98. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  99. <constraints>
  100. <constraint firstAttribute="bottom" secondItem="oFl-eI-qYs" secondAttribute="bottom" id="1zn-8D-dUm"/>
  101. <constraint firstItem="unQ-P6-gNN" firstAttribute="leading" secondItem="oFl-eI-qYs" secondAttribute="leading" id="2j9-LA-acK"/>
  102. <constraint firstAttribute="trailing" secondItem="4Iz-Qv-2uS" secondAttribute="trailing" id="4Fe-H6-4BQ"/>
  103. <constraint firstItem="959-5f-PVL" firstAttribute="trailing" secondItem="4Iz-Qv-2uS" secondAttribute="trailing" id="BeK-eI-IOy"/>
  104. <constraint firstItem="4Iz-Qv-2uS" firstAttribute="leading" secondItem="G0h-0a-eoE" secondAttribute="leading" constant="4" id="Eak-bT-i1R"/>
  105. <constraint firstItem="tNM-cD-z2H" firstAttribute="centerY" secondItem="G0h-0a-eoE" secondAttribute="centerY" constant="8" id="INd-cZ-8sx"/>
  106. <constraint firstItem="tNM-cD-z2H" firstAttribute="width" secondItem="G0h-0a-eoE" secondAttribute="width" id="Vdn-Zh-rIq"/>
  107. <constraint firstItem="unQ-P6-gNN" firstAttribute="bottom" secondItem="oFl-eI-qYs" secondAttribute="bottom" id="Xlp-nX-Dvg"/>
  108. <constraint firstItem="oFl-eI-qYs" firstAttribute="leading" secondItem="G0h-0a-eoE" secondAttribute="leading" id="Xxe-uB-5kl"/>
  109. <constraint firstItem="tNM-cD-z2H" firstAttribute="centerX" secondItem="G0h-0a-eoE" secondAttribute="centerX" id="e51-x9-B89"/>
  110. <constraint firstItem="tNM-cD-z2H" firstAttribute="top" secondItem="4Iz-Qv-2uS" secondAttribute="bottom" id="oZo-86-9dK"/>
  111. <constraint firstItem="unQ-P6-gNN" firstAttribute="top" secondItem="oFl-eI-qYs" secondAttribute="top" constant="1.6666666666666572" id="pAN-6S-Wg3"/>
  112. <constraint firstItem="4Iz-Qv-2uS" firstAttribute="height" secondItem="G0h-0a-eoE" secondAttribute="height" multiplier="0.35" id="sd9-ik-VGE"/>
  113. <constraint firstItem="959-5f-PVL" firstAttribute="top" secondItem="4Iz-Qv-2uS" secondAttribute="top" id="xuE-Vo-dfm"/>
  114. <constraint firstItem="unQ-P6-gNN" firstAttribute="trailing" secondItem="oFl-eI-qYs" secondAttribute="trailing" id="yeg-fN-euj"/>
  115. <constraint firstAttribute="trailing" secondItem="oFl-eI-qYs" secondAttribute="trailing" id="zev-Kg-dob"/>
  116. </constraints>
  117. </view>
  118. <button opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="0Lx-f4-sVf">
  119. <rect key="frame" x="8" y="0.0" width="68.333333333333329" height="22"/>
  120. <constraints>
  121. <constraint firstAttribute="width" secondItem="0Lx-f4-sVf" secondAttribute="height" multiplier="62:20" id="mIA-Hw-nrd"/>
  122. </constraints>
  123. <fontDescription key="fontDescription" type="system" pointSize="8"/>
  124. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  125. <state key="normal" title="更多人选择">
  126. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  127. </state>
  128. </button>
  129. </subviews>
  130. </view>
  131. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  132. <constraints>
  133. <constraint firstItem="G0h-0a-eoE" firstAttribute="leading" secondItem="Gri-Cn-mel" secondAttribute="leading" id="03e-GA-DHu"/>
  134. <constraint firstItem="G0h-0a-eoE" firstAttribute="top" secondItem="Gri-Cn-mel" secondAttribute="top" constant="8" id="1DS-a3-Glf"/>
  135. <constraint firstItem="0Lx-f4-sVf" firstAttribute="top" secondItem="G0h-0a-eoE" secondAttribute="top" constant="-8" id="9YF-LZ-7QK"/>
  136. <constraint firstAttribute="trailing" secondItem="G0h-0a-eoE" secondAttribute="trailing" id="EwE-sn-cmO"/>
  137. <constraint firstItem="0Lx-f4-sVf" firstAttribute="leading" secondItem="G0h-0a-eoE" secondAttribute="leading" constant="8" id="P4r-IQ-mCA"/>
  138. <constraint firstItem="959-5f-PVL" firstAttribute="width" secondItem="Gri-Cn-mel" secondAttribute="width" multiplier="84/288" id="QJb-EC-Y1H"/>
  139. <constraint firstAttribute="bottom" secondItem="G0h-0a-eoE" secondAttribute="bottom" id="Tx6-aL-Z5g"/>
  140. <constraint firstItem="tNM-cD-z2H" firstAttribute="height" secondItem="Gri-Cn-mel" secondAttribute="height" multiplier="0.35" id="ghK-d8-MQT"/>
  141. <constraint firstItem="oFl-eI-qYs" firstAttribute="height" secondItem="Gri-Cn-mel" secondAttribute="height" multiplier="27/124" id="sAu-ki-YNj"/>
  142. </constraints>
  143. <connections>
  144. <outlet property="bottomBtn" destination="oFl-eI-qYs" id="meL-CY-qCW"/>
  145. <outlet property="btn1" destination="0af-0S-a49" id="LcW-21-X26"/>
  146. <outlet property="btn2" destination="eij-Fy-Hhh" id="z7c-4g-Wmp"/>
  147. <outlet property="hasActiveBtn" destination="959-5f-PVL" id="K5b-Tq-VZT"/>
  148. <outlet property="myBgView" destination="G0h-0a-eoE" id="ezE-ul-Qep"/>
  149. <outlet property="myTitleLabel" destination="4vT-NK-a4G" id="d7k-1w-DzS"/>
  150. <outlet property="nowPriceLabel" destination="hwC-K1-0ZC" id="WQS-MW-RAN"/>
  151. <outlet property="priceView" destination="4Iz-Qv-2uS" id="aZq-sH-WoV"/>
  152. <outlet property="recommendBtn" destination="0Lx-f4-sVf" id="KJW-G7-8jY"/>
  153. <outlet property="saveMoneyLabelBgImageView" destination="unQ-P6-gNN" id="QSY-wJ-qwX"/>
  154. </connections>
  155. <point key="canvasLocation" x="137.40458015267174" y="152.11267605633805"/>
  156. </collectionViewCell>
  157. </objects>
  158. <resources>
  159. <image name="以下套餐" width="13" height="16.666666030883789"/>
  160. <image name="已激活" width="84" height="34"/>
  161. <image name="我的学时VIP" width="28" height="28"/>
  162. <image name="理论计时VIP" width="28" height="28"/>
  163. </resources>
  164. </document>