RQExerciseSituationCell.xib 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  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="RQExerciseSituationCell">
  14. <rect key="frame" x="0.0" y="0.0" width="375" height="125"/>
  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="125"/>
  18. <autoresizingMask key="autoresizingMask"/>
  19. <subviews>
  20. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="qSK-oX-oZK">
  21. <rect key="frame" x="16" y="10" width="343" height="110"/>
  22. <subviews>
  23. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="练题情况" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="e4l-xz-Zu7">
  24. <rect key="frame" x="16" y="16" width="69.5" height="20.5"/>
  25. <fontDescription key="fontDescription" type="boldSystem" pointSize="17"/>
  26. <color key="textColor" red="0.039215686270000001" green="0.1019607843" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  27. <nil key="highlightedColor"/>
  28. </label>
  29. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="5MQ-n5-msh" customClass="QMUIButton">
  30. <rect key="frame" x="279.5" y="18.5" width="47.5" height="16"/>
  31. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  32. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  33. <state key="normal" title="去练题" image="更多">
  34. <color key="titleColor" red="0.54117647059999996" green="0.56470588239999997" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  35. </state>
  36. <userDefinedRuntimeAttributes>
  37. <userDefinedRuntimeAttribute type="number" keyPath="spacingBetweenImageAndTitle">
  38. <real key="value" value="8"/>
  39. </userDefinedRuntimeAttribute>
  40. </userDefinedRuntimeAttributes>
  41. <connections>
  42. <action selector="toDoExerciseBtnAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="hGm-i5-Fpk"/>
  43. </connections>
  44. </button>
  45. <stackView opaque="NO" contentMode="scaleToFill" distribution="equalSpacing" alignment="firstBaseline" spacing="2" translatesAutoresizingMaskIntoConstraints="NO" id="gcN-7u-72a">
  46. <rect key="frame" x="16" y="68" width="193.5" height="26"/>
  47. <subviews>
  48. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="已答题" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="J5c-WX-RRQ">
  49. <rect key="frame" x="0.0" y="8.5" width="40" height="16"/>
  50. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  51. <color key="textColor" red="0.36078431370000003" green="0.37647058820000001" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  52. <nil key="highlightedColor"/>
  53. </label>
  54. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="2222" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="nVR-h1-fuL">
  55. <rect key="frame" x="42" y="3" width="44" height="23"/>
  56. <fontDescription key="fontDescription" type="system" pointSize="19"/>
  57. <color key="textColor" red="0.0039215686274509803" green="0.75686274509803919" blue="0.55294117647058827" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  58. <nil key="highlightedColor"/>
  59. </label>
  60. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="题,错题" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="rcX-9p-2Nr">
  61. <rect key="frame" x="88" y="8.5" width="44" height="16"/>
  62. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  63. <color key="textColor" red="0.36078431370000003" green="0.37647058820000001" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  64. <nil key="highlightedColor"/>
  65. </label>
  66. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="2222" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="g4q-JL-s7c">
  67. <rect key="frame" x="134" y="3" width="44" height="23"/>
  68. <fontDescription key="fontDescription" type="system" pointSize="19"/>
  69. <color key="textColor" red="1" green="0.30196078431372547" blue="0.32549019607843138" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  70. <nil key="highlightedColor"/>
  71. </label>
  72. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="题" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="jjd-dh-37A">
  73. <rect key="frame" x="180" y="8.5" width="13.5" height="16"/>
  74. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  75. <color key="textColor" red="0.36078431370000003" green="0.37647058820000001" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  76. <nil key="highlightedColor"/>
  77. </label>
  78. </subviews>
  79. </stackView>
  80. <stackView opaque="NO" contentMode="scaleToFill" distribution="equalSpacing" alignment="firstBaseline" spacing="2" translatesAutoresizingMaskIntoConstraints="NO" id="R7C-rX-wyM">
  81. <rect key="frame" x="238.5" y="76.5" width="88.5" height="17.5"/>
  82. <subviews>
  83. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="未做" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="I4p-T8-u22">
  84. <rect key="frame" x="0.0" y="0.0" width="27" height="16"/>
  85. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  86. <color key="textColor" red="0.36078431370000003" green="0.37647058820000001" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  87. <nil key="highlightedColor"/>
  88. </label>
  89. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="2222" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2X7-1u-N2a">
  90. <rect key="frame" x="29" y="-5.5" width="44" height="23"/>
  91. <fontDescription key="fontDescription" type="system" pointSize="19"/>
  92. <color key="textColor" red="0.039215686270000001" green="0.1019607843" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  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="I9c-w5-baT">
  96. <rect key="frame" x="75" y="0.0" width="13.5" height="16"/>
  97. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  98. <color key="textColor" red="0.36078431370000003" green="0.37647058820000001" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  99. <nil key="highlightedColor"/>
  100. </label>
  101. </subviews>
  102. </stackView>
  103. <progressView opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" verticalHuggingPriority="750" progress="0.5" translatesAutoresizingMaskIntoConstraints="NO" id="EH3-lo-heL">
  104. <rect key="frame" x="16" y="53" width="311" height="4"/>
  105. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  106. <color key="tintColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  107. <color key="progressTintColor" red="0.21176470588235294" green="0.83137254901960778" blue="0.66274509803921566" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  108. <color key="trackTintColor" red="0.83921568629999999" green="1" blue="0.95686274510000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  109. <userDefinedRuntimeAttributes>
  110. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  111. <integer key="value" value="3"/>
  112. </userDefinedRuntimeAttribute>
  113. <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
  114. </userDefinedRuntimeAttributes>
  115. </progressView>
  116. <progressView opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" verticalHuggingPriority="750" progress="0.20000000000000001" translatesAutoresizingMaskIntoConstraints="NO" id="qqN-BI-ykX">
  117. <rect key="frame" x="16" y="53" width="311" height="4"/>
  118. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  119. <color key="tintColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  120. <color key="progressTintColor" red="1" green="0.46666666666666667" blue="0.42745098039215684" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  121. <color key="trackTintColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  122. <userDefinedRuntimeAttributes>
  123. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  124. <integer key="value" value="3"/>
  125. </userDefinedRuntimeAttribute>
  126. <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
  127. </userDefinedRuntimeAttributes>
  128. </progressView>
  129. </subviews>
  130. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  131. <constraints>
  132. <constraint firstItem="EH3-lo-heL" firstAttribute="leading" secondItem="qSK-oX-oZK" secondAttribute="leading" constant="16" id="0Hl-5c-x8L"/>
  133. <constraint firstItem="qqN-BI-ykX" firstAttribute="centerY" secondItem="qSK-oX-oZK" secondAttribute="centerY" id="1hj-Y7-PSV"/>
  134. <constraint firstAttribute="trailing" secondItem="5MQ-n5-msh" secondAttribute="trailing" constant="16" id="5Oe-jp-zXT"/>
  135. <constraint firstItem="e4l-xz-Zu7" firstAttribute="leading" secondItem="qSK-oX-oZK" secondAttribute="leading" constant="16" id="5W9-J5-261"/>
  136. <constraint firstItem="qqN-BI-ykX" firstAttribute="leading" secondItem="qSK-oX-oZK" secondAttribute="leading" constant="16" id="6Ie-Lz-76m"/>
  137. <constraint firstAttribute="trailing" secondItem="R7C-rX-wyM" secondAttribute="trailing" constant="16" id="Acj-An-nop"/>
  138. <constraint firstAttribute="trailing" secondItem="EH3-lo-heL" secondAttribute="trailing" constant="16" id="JOE-Ur-hDl"/>
  139. <constraint firstItem="EH3-lo-heL" firstAttribute="centerY" secondItem="qSK-oX-oZK" secondAttribute="centerY" id="KkD-zD-VBM"/>
  140. <constraint firstAttribute="trailing" secondItem="qqN-BI-ykX" secondAttribute="trailing" constant="16" id="OBg-0N-SHa"/>
  141. <constraint firstItem="R7C-rX-wyM" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="gcN-7u-72a" secondAttribute="trailing" id="cFr-Lh-7Y6"/>
  142. <constraint firstAttribute="bottom" secondItem="gcN-7u-72a" secondAttribute="bottom" constant="16" id="cep-Q5-H4G"/>
  143. <constraint firstItem="e4l-xz-Zu7" firstAttribute="top" secondItem="qSK-oX-oZK" secondAttribute="top" constant="16" id="efh-Yq-G75"/>
  144. <constraint firstItem="5MQ-n5-msh" firstAttribute="centerY" secondItem="e4l-xz-Zu7" secondAttribute="centerY" id="fDQ-gM-DMP"/>
  145. <constraint firstAttribute="bottom" secondItem="R7C-rX-wyM" secondAttribute="bottom" constant="16" id="lti-Iz-QVc"/>
  146. <constraint firstItem="gcN-7u-72a" firstAttribute="leading" secondItem="qSK-oX-oZK" secondAttribute="leading" constant="16" id="vhs-ee-ohC"/>
  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="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  166. <constraints>
  167. <constraint firstAttribute="trailing" secondItem="qSK-oX-oZK" secondAttribute="trailing" constant="16" id="GB3-zr-2lz"/>
  168. <constraint firstItem="qSK-oX-oZK" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="16" id="dOd-bV-QMI"/>
  169. <constraint firstAttribute="bottom" secondItem="qSK-oX-oZK" secondAttribute="bottom" constant="5" id="m1y-WM-edR"/>
  170. <constraint firstItem="qSK-oX-oZK" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="10" id="x0J-24-cKH"/>
  171. </constraints>
  172. </tableViewCellContentView>
  173. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  174. <constraints>
  175. <constraint firstItem="gcN-7u-72a" firstAttribute="height" secondItem="KGk-i7-Jjw" secondAttribute="width" multiplier="26/375" id="9bo-as-vXs"/>
  176. </constraints>
  177. <connections>
  178. <outlet property="errorLabel" destination="g4q-JL-s7c" id="Ifw-ih-VZf"/>
  179. <outlet property="errorProgress" destination="qqN-BI-ykX" id="Lac-XJ-mAe"/>
  180. <outlet property="hasDoneLabel" destination="nVR-h1-fuL" id="Rh5-qP-JrW"/>
  181. <outlet property="myContentView" destination="qSK-oX-oZK" id="rCk-tc-YOP"/>
  182. <outlet property="rightProgress" destination="EH3-lo-heL" id="CXp-zn-1AV"/>
  183. <outlet property="toDoExerciseBtn" destination="5MQ-n5-msh" id="9sA-ZL-Jto"/>
  184. <outlet property="unDoLabel" destination="2X7-1u-N2a" id="vgh-gT-FlZ"/>
  185. </connections>
  186. <point key="canvasLocation" x="138.40579710144928" y="106.80803571428571"/>
  187. </tableViewCell>
  188. </objects>
  189. <resources>
  190. <image name="更多" width="7.5" height="13"/>
  191. <systemColor name="systemBackgroundColor">
  192. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  193. </systemColor>
  194. </resources>
  195. </document>