RQSimulationTestTopicsCell.xib 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  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. <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="KGk-i7-Jjw" customClass="RQSimulationTestTopicsCell">
  14. <rect key="frame" x="0.0" y="0.0" width="375" height="400"/>
  15. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  16. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
  17. <rect key="frame" x="0.0" y="0.0" width="375" height="400"/>
  18. <autoresizingMask key="autoresizingMask"/>
  19. <subviews>
  20. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="aG0-Je-uue">
  21. <rect key="frame" x="16" y="8" width="343" height="384"/>
  22. <subviews>
  23. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="考试说明" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="gdq-DH-5AI">
  24. <rect key="frame" x="137" y="40" width="69.5" height="20.5"/>
  25. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  26. <color key="textColor" red="0.039215686274509803" green="0.10196078431372549" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  27. <nil key="highlightedColor"/>
  28. </label>
  29. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="eC9-As-kNd">
  30. <rect key="frame" x="16" y="78.5" width="65.5" height="137.5"/>
  31. <subviews>
  32. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="考试科目" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5eD-dT-gue">
  33. <rect key="frame" x="0.0" y="0.0" width="65.5" height="19.5"/>
  34. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  35. <color key="textColor" red="0.54117647058823526" green="0.56470588235294117" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  36. <nil key="highlightedColor"/>
  37. </label>
  38. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="考试题库" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Kzl-Gg-f8D">
  39. <rect key="frame" x="0.0" y="29.5" width="65.5" height="19.5"/>
  40. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  41. <color key="textColor" red="0.54117647058823526" green="0.56470588235294117" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  42. <nil key="highlightedColor"/>
  43. </label>
  44. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="考试时间" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="XOT-bH-eH7">
  45. <rect key="frame" x="0.0" y="59" width="65.5" height="19.5"/>
  46. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  47. <color key="textColor" red="0.54117647058823526" green="0.56470588235294117" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  48. <nil key="highlightedColor"/>
  49. </label>
  50. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="合格标准" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Ysm-mQ-5FG">
  51. <rect key="frame" x="0.0" y="88.5" width="65.5" height="19.5"/>
  52. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  53. <color key="textColor" red="0.54117647058823526" green="0.56470588235294117" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  54. <nil key="highlightedColor"/>
  55. </label>
  56. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="出题规则" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="NlT-Uk-yCg">
  57. <rect key="frame" x="0.0" y="118" width="65.5" height="19.5"/>
  58. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  59. <color key="textColor" red="0.54117647059999996" green="0.56470588239999997" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  60. <nil key="highlightedColor"/>
  61. </label>
  62. </subviews>
  63. </stackView>
  64. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="lhT-2j-Jrw">
  65. <rect key="frame" x="212.5" y="78.5" width="114.5" height="137.5"/>
  66. <subviews>
  67. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="科目一" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="6nU-Ac-l78">
  68. <rect key="frame" x="0.0" y="0.0" width="114.5" height="19.5"/>
  69. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  70. <color key="textColor" red="0.36078431372549019" green="0.37647058823529411" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  71. <nil key="highlightedColor"/>
  72. </label>
  73. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="考试题库" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Bpv-Sn-hbc">
  74. <rect key="frame" x="0.0" y="29.5" width="114.5" height="19.5"/>
  75. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  76. <color key="textColor" red="0.36078431372549019" green="0.37647058823529411" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  77. <nil key="highlightedColor"/>
  78. </label>
  79. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="100题,45分钟" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="xRE-3z-m7h">
  80. <rect key="frame" x="0.0" y="59" width="114.5" height="19.5"/>
  81. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  82. <color key="textColor" red="0.36078431372549019" green="0.37647058823529411" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  83. <nil key="highlightedColor"/>
  84. </label>
  85. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="90分及格" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="6Pe-io-agH">
  86. <rect key="frame" x="0.0" y="88.5" width="114.5" height="19.5"/>
  87. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  88. <color key="textColor" red="0.36078431372549019" green="0.37647058823529411" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  89. <nil key="highlightedColor"/>
  90. </label>
  91. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="交管局出题规则" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="4fX-WY-oAg">
  92. <rect key="frame" x="0.0" y="118" width="114.5" height="19.5"/>
  93. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  94. <color key="textColor" red="0.36078431370000003" green="0.37647058820000001" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  95. <nil key="highlightedColor"/>
  96. </label>
  97. </subviews>
  98. </stackView>
  99. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" usesAttributedText="YES" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cHg-bq-2TM">
  100. <rect key="frame" x="16" y="240" width="311" height="53"/>
  101. <color key="backgroundColor" red="0.99215686274509807" green="0.28235294117647058" blue="0.30980392156862746" alpha="0.10000000000000001" colorSpace="custom" customColorSpace="sRGB"/>
  102. <constraints>
  103. <constraint firstAttribute="height" constant="53" id="vG8-o4-kU5"/>
  104. </constraints>
  105. <attributedString key="attributedText">
  106. <fragment content="答题后不可修改,累计错题扣分导致分数不及格时,系统自动交卷,考试不通过。">
  107. <attributes>
  108. <color key="NSColor" red="0.99215686274509807" green="0.28235294117647058" blue="0.30980392156862746" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  109. <font key="NSFont" metaFont="system" size="15"/>
  110. <paragraphStyle key="NSParagraphStyle" alignment="left" lineBreakMode="wordWrapping" baseWritingDirection="natural" lineSpacing="6" firstLineHeadIndent="10" headIndent="10" tighteningFactorForTruncation="0.0"/>
  111. </attributes>
  112. </fragment>
  113. </attributedString>
  114. <nil key="highlightedColor"/>
  115. </label>
  116. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="etd-UD-18x">
  117. <rect key="frame" x="26" y="323" width="291" height="40"/>
  118. <color key="backgroundColor" red="0.28627450980392155" green="0.55686274509803924" blue="0.96078431372549022" alpha="1" colorSpace="deviceRGB"/>
  119. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  120. <state key="normal" title="开始考试">
  121. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  122. </state>
  123. <userDefinedRuntimeAttributes>
  124. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  125. <integer key="value" value="20"/>
  126. </userDefinedRuntimeAttribute>
  127. </userDefinedRuntimeAttributes>
  128. <connections>
  129. <action selector="brginExamBtnAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="wwV-sN-gpz"/>
  130. </connections>
  131. </button>
  132. </subviews>
  133. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  134. <constraints>
  135. <constraint firstItem="etd-UD-18x" firstAttribute="top" secondItem="cHg-bq-2TM" secondAttribute="bottom" constant="30" id="7xf-n3-CMJ"/>
  136. <constraint firstItem="etd-UD-18x" firstAttribute="leading" secondItem="aG0-Je-uue" secondAttribute="leading" constant="26" id="Mzb-zV-sye"/>
  137. <constraint firstItem="gdq-DH-5AI" firstAttribute="top" secondItem="aG0-Je-uue" secondAttribute="top" constant="40" id="On0-yu-AUG"/>
  138. <constraint firstItem="lhT-2j-Jrw" firstAttribute="top" secondItem="eC9-As-kNd" secondAttribute="top" id="ZWO-p1-9RY"/>
  139. <constraint firstItem="eC9-As-kNd" firstAttribute="top" secondItem="gdq-DH-5AI" secondAttribute="bottom" constant="18" id="bSd-jd-RTh"/>
  140. <constraint firstItem="cHg-bq-2TM" firstAttribute="leading" secondItem="aG0-Je-uue" secondAttribute="leading" constant="16" id="k7Y-G9-Fa6"/>
  141. <constraint firstAttribute="trailing" secondItem="lhT-2j-Jrw" secondAttribute="trailing" constant="16" id="oj6-H8-aWd"/>
  142. <constraint firstItem="eC9-As-kNd" firstAttribute="leading" secondItem="aG0-Je-uue" secondAttribute="leading" constant="16" id="p1M-ed-aZg"/>
  143. <constraint firstItem="gdq-DH-5AI" firstAttribute="centerX" secondItem="aG0-Je-uue" secondAttribute="centerX" id="pTe-a9-Oyh"/>
  144. <constraint firstAttribute="trailing" secondItem="cHg-bq-2TM" secondAttribute="trailing" constant="16" id="sVN-Bq-r63"/>
  145. <constraint firstItem="cHg-bq-2TM" firstAttribute="top" secondItem="eC9-As-kNd" secondAttribute="bottom" constant="24" id="uup-ej-Nmt"/>
  146. <constraint firstAttribute="trailing" secondItem="etd-UD-18x" secondAttribute="trailing" constant="26" id="wbO-d4-1sa"/>
  147. </constraints>
  148. <userDefinedRuntimeAttributes>
  149. <userDefinedRuntimeAttribute type="number" keyPath="layer.shadowRadius">
  150. <integer key="value" value="8"/>
  151. </userDefinedRuntimeAttribute>
  152. <userDefinedRuntimeAttribute type="number" keyPath="layer.shadowOpacity">
  153. <integer key="value" value="1"/>
  154. </userDefinedRuntimeAttribute>
  155. <userDefinedRuntimeAttribute type="size" keyPath="layer.shadowOffset">
  156. <size key="value" width="0.0" height="0.0"/>
  157. </userDefinedRuntimeAttribute>
  158. <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="NO"/>
  159. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  160. <integer key="value" value="10"/>
  161. </userDefinedRuntimeAttribute>
  162. </userDefinedRuntimeAttributes>
  163. </view>
  164. </subviews>
  165. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  166. <constraints>
  167. <constraint firstItem="aG0-Je-uue" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="16" id="f1x-mR-2CH"/>
  168. <constraint firstItem="aG0-Je-uue" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="8" id="kQH-K8-qsm"/>
  169. <constraint firstAttribute="trailing" secondItem="aG0-Je-uue" secondAttribute="trailing" constant="16" id="nB6-oC-4lI"/>
  170. <constraint firstAttribute="bottom" secondItem="aG0-Je-uue" secondAttribute="bottom" constant="8" id="nXf-w4-7aW"/>
  171. </constraints>
  172. </tableViewCellContentView>
  173. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  174. <constraints>
  175. <constraint firstItem="etd-UD-18x" firstAttribute="height" secondItem="KGk-i7-Jjw" secondAttribute="width" multiplier="40/375" id="bIA-px-b2Z"/>
  176. </constraints>
  177. <connections>
  178. <outlet property="beginBtn" destination="etd-UD-18x" id="6ay-sq-3HO"/>
  179. <outlet property="carTypeLabel" destination="Bpv-Sn-hbc" id="IzF-wS-tca"/>
  180. <outlet property="myContentView" destination="aG0-Je-uue" id="LzV-hh-mDJ"/>
  181. <outlet property="passStandardLabel" destination="6Pe-io-agH" id="iKq-AR-yYZ"/>
  182. <outlet property="ruleLabel" destination="xRE-3z-m7h" id="7DQ-5x-vn0"/>
  183. <outlet property="subjectLabel" destination="6nU-Ac-l78" id="Lne-HX-5Vi"/>
  184. </connections>
  185. <point key="canvasLocation" x="232.60869565217394" y="90.736607142857139"/>
  186. </tableViewCell>
  187. </objects>
  188. <resources>
  189. <systemColor name="systemBackgroundColor">
  190. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  191. </systemColor>
  192. </resources>
  193. </document>