RQExamSituationCell.xib 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="20037" 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="20020"/>
  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. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" id="gTV-IL-0wX" customClass="RQExamSituationCell">
  14. <rect key="frame" x="0.0" y="0.0" width="375" height="425"/>
  15. <autoresizingMask key="autoresizingMask"/>
  16. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
  17. <rect key="frame" x="0.0" y="0.0" width="375" height="425"/>
  18. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  19. <subviews>
  20. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="考试情况" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8u1-VY-4lP">
  21. <rect key="frame" x="16" y="24" width="69.5" height="20.5"/>
  22. <fontDescription key="fontDescription" type="boldSystem" pointSize="17"/>
  23. <color key="textColor" red="0.039215686270000001" green="0.1019607843" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  24. <nil key="highlightedColor"/>
  25. </label>
  26. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="7pb-i7-xHy" customClass="QMUIButton">
  27. <rect key="frame" x="297.5" y="26.5" width="61.5" height="16"/>
  28. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  29. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  30. <state key="normal" title="历史成绩" image="更多">
  31. <color key="titleColor" red="0.54117647059999996" green="0.56470588239999997" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  32. </state>
  33. <userDefinedRuntimeAttributes>
  34. <userDefinedRuntimeAttribute type="number" keyPath="spacingBetweenImageAndTitle">
  35. <real key="value" value="8"/>
  36. </userDefinedRuntimeAttribute>
  37. </userDefinedRuntimeAttributes>
  38. <connections>
  39. <action selector="historyExamResultBtnAction:" destination="gTV-IL-0wX" eventType="touchUpInside" id="8XL-99-HAA"/>
  40. </connections>
  41. </button>
  42. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="65I-7Z-vTW">
  43. <rect key="frame" x="16" y="60.5" width="343" height="68.5"/>
  44. <subviews>
  45. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="查看技巧背景" translatesAutoresizingMaskIntoConstraints="NO" id="cE7-4B-hMx">
  46. <rect key="frame" x="0.0" y="0.0" width="343" height="68.5"/>
  47. </imageView>
  48. <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="gVl-VV-XOa">
  49. <rect key="frame" x="16" y="24" width="117" height="20.5"/>
  50. <subviews>
  51. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="近" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Sc6-H2-cKP">
  52. <rect key="frame" x="0.0" y="0.0" width="14.5" height="20.5"/>
  53. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  54. <color key="textColor" red="0.039215686270000001" green="0.1019607843" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  55. <nil key="highlightedColor"/>
  56. </label>
  57. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="1" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="pxr-mH-bdV">
  58. <rect key="frame" x="14.5" y="0.0" width="6.5" height="20.5"/>
  59. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  60. <color key="textColor" red="0.039215686270000001" green="0.1019607843" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  61. <nil key="highlightedColor"/>
  62. </label>
  63. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="次考试平均分" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="YOM-sJ-tG0">
  64. <rect key="frame" x="21" y="0.0" width="86" height="20.5"/>
  65. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  66. <color key="textColor" red="0.039215686270000001" green="0.1019607843" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  67. <nil key="highlightedColor"/>
  68. </label>
  69. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="2" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="tH6-g4-VVi">
  70. <rect key="frame" x="107" y="0.0" width="10" height="20.5"/>
  71. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  72. <color key="textColor" red="1" green="0.30196078431372547" blue="0.32549019607843138" alpha="1" colorSpace="calibratedRGB"/>
  73. <nil key="highlightedColor"/>
  74. </label>
  75. </subviews>
  76. </stackView>
  77. <stackView opaque="NO" contentMode="scaleToFill" distribution="equalCentering" alignment="center" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="bZM-83-jUA">
  78. <rect key="frame" x="189.5" y="13.5" width="137.5" height="42"/>
  79. <subviews>
  80. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="查看技巧" translatesAutoresizingMaskIntoConstraints="NO" id="aVy-Vf-x2X">
  81. <rect key="frame" x="0.0" y="0.0" width="35" height="42"/>
  82. <constraints>
  83. <constraint firstAttribute="width" secondItem="aVy-Vf-x2X" secondAttribute="height" multiplier="5:6" id="PeN-Gy-F7z"/>
  84. </constraints>
  85. </imageView>
  86. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillProportionally" translatesAutoresizingMaskIntoConstraints="NO" id="yMW-An-1HY">
  87. <rect key="frame" x="43" y="2.5" width="69.5" height="36.5"/>
  88. <subviews>
  89. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="查看技巧" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fVm-Wa-vpA">
  90. <rect key="frame" x="0.0" y="0.0" width="69.5" height="20.5"/>
  91. <fontDescription key="fontDescription" type="boldSystem" pointSize="17"/>
  92. <color key="textColor" red="0.56862745098039214" green="0.32941176470588235" blue="0.058823529411764705" alpha="1" colorSpace="calibratedRGB"/>
  93. <nil key="highlightedColor"/>
  94. </label>
  95. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="提升通过率" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="6HX-iv-NIo">
  96. <rect key="frame" x="0.0" y="20.5" width="69.5" height="16"/>
  97. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  98. <color key="textColor" red="0.56862745100000001" green="0.3294117647" blue="0.058823529409999999" alpha="1" colorSpace="calibratedRGB"/>
  99. <nil key="highlightedColor"/>
  100. </label>
  101. </subviews>
  102. </stackView>
  103. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="更多-褐色" translatesAutoresizingMaskIntoConstraints="NO" id="CNX-rK-WIF">
  104. <rect key="frame" x="128.5" y="12.5" width="9" height="17"/>
  105. <constraints>
  106. <constraint firstAttribute="width" secondItem="CNX-rK-WIF" secondAttribute="height" multiplier="9/17" id="Tjv-5m-oHC"/>
  107. </constraints>
  108. </imageView>
  109. </subviews>
  110. <constraints>
  111. <constraint firstItem="CNX-rK-WIF" firstAttribute="leading" secondItem="yMW-An-1HY" secondAttribute="trailing" constant="16" id="DCH-fA-KNY"/>
  112. </constraints>
  113. </stackView>
  114. </subviews>
  115. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  116. <constraints>
  117. <constraint firstAttribute="width" secondItem="65I-7Z-vTW" secondAttribute="height" multiplier="345:69" id="2f9-MS-OfH"/>
  118. <constraint firstAttribute="bottom" secondItem="cE7-4B-hMx" secondAttribute="bottom" id="9mh-zU-jwW"/>
  119. <constraint firstItem="cE7-4B-hMx" firstAttribute="leading" secondItem="65I-7Z-vTW" secondAttribute="leading" id="JKg-e4-7Ri"/>
  120. <constraint firstItem="bZM-83-jUA" firstAttribute="centerY" secondItem="65I-7Z-vTW" secondAttribute="centerY" id="Zyz-eW-8uo"/>
  121. <constraint firstAttribute="trailing" secondItem="bZM-83-jUA" secondAttribute="trailing" constant="16" id="fij-RH-U1a"/>
  122. <constraint firstItem="cE7-4B-hMx" firstAttribute="top" secondItem="65I-7Z-vTW" secondAttribute="top" id="jmr-EU-nob"/>
  123. <constraint firstAttribute="trailing" secondItem="cE7-4B-hMx" secondAttribute="trailing" id="kjt-qb-Pwl"/>
  124. <constraint firstItem="gVl-VV-XOa" firstAttribute="leading" secondItem="65I-7Z-vTW" secondAttribute="leading" constant="16" id="n7j-kb-zer"/>
  125. <constraint firstItem="gVl-VV-XOa" firstAttribute="centerY" secondItem="65I-7Z-vTW" secondAttribute="centerY" id="wT4-Id-mC7"/>
  126. </constraints>
  127. </view>
  128. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="wbv-js-p89">
  129. <rect key="frame" x="16" y="153" width="343" height="248"/>
  130. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  131. <constraints>
  132. <constraint firstAttribute="width" secondItem="wbv-js-p89" secondAttribute="height" multiplier="343:248" id="s3Y-sI-GSi"/>
  133. </constraints>
  134. </view>
  135. </subviews>
  136. </view>
  137. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  138. <constraints>
  139. <constraint firstItem="8u1-VY-4lP" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="16" id="01c-O4-Jov"/>
  140. <constraint firstItem="CNX-rK-WIF" firstAttribute="width" secondItem="gTV-IL-0wX" secondAttribute="width" multiplier="9/375" id="4Ro-Ci-DMu"/>
  141. <constraint firstItem="65I-7Z-vTW" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="16" id="HM3-fs-pbR"/>
  142. <constraint firstItem="8u1-VY-4lP" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="24" id="JRk-6J-zWy"/>
  143. <constraint firstItem="aVy-Vf-x2X" firstAttribute="width" secondItem="gTV-IL-0wX" secondAttribute="width" multiplier="35/375" id="Q3M-rJ-pcF"/>
  144. <constraint firstItem="7pb-i7-xHy" firstAttribute="centerY" secondItem="8u1-VY-4lP" secondAttribute="centerY" id="S8e-WE-K1t"/>
  145. <constraint firstAttribute="trailing" secondItem="7pb-i7-xHy" secondAttribute="trailing" constant="16" id="XEe-Y7-Jzr"/>
  146. <constraint firstItem="wbv-js-p89" firstAttribute="top" secondItem="65I-7Z-vTW" secondAttribute="bottom" constant="24" id="ba4-lE-g0b"/>
  147. <constraint firstItem="65I-7Z-vTW" firstAttribute="top" secondItem="8u1-VY-4lP" secondAttribute="bottom" constant="16" id="hEF-Jp-n0Z"/>
  148. <constraint firstItem="wbv-js-p89" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="16" id="meI-ih-H1n"/>
  149. <constraint firstAttribute="trailing" secondItem="65I-7Z-vTW" secondAttribute="trailing" constant="16" id="pbD-Md-V4R"/>
  150. <constraint firstAttribute="trailing" secondItem="wbv-js-p89" secondAttribute="trailing" constant="16" id="uma-NV-UpI"/>
  151. </constraints>
  152. <connections>
  153. <outlet property="historyExamResultBtn" destination="7pb-i7-xHy" id="Xoa-up-vs0"/>
  154. <outlet property="lineSuperView" destination="wbv-js-p89" id="rYo-2l-r6i"/>
  155. </connections>
  156. <point key="canvasLocation" x="136.95652173913044" y="118.19196428571428"/>
  157. </collectionViewCell>
  158. </objects>
  159. <resources>
  160. <image name="更多" width="7.5" height="13"/>
  161. <image name="更多-褐色" width="9.5" height="17"/>
  162. <image name="查看技巧" width="35" height="42"/>
  163. <image name="查看技巧背景" width="345" height="69"/>
  164. <systemColor name="systemBackgroundColor">
  165. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  166. </systemColor>
  167. </resources>
  168. </document>