RQHomePageSimulationExamCell.xib 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  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="RQHomePageSimulationExamCell">
  14. <rect key="frame" x="0.0" y="0.0" width="375" height="189"/>
  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="189"/>
  18. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  19. <subviews>
  20. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="TwP-k8-qik">
  21. <rect key="frame" x="0.0" y="0.0" width="375" height="189"/>
  22. <subviews>
  23. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="simulationExamBg" translatesAutoresizingMaskIntoConstraints="NO" id="rfJ-11-CPt">
  24. <rect key="frame" x="0.0" y="0.0" width="375" height="189"/>
  25. </imageView>
  26. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="科一真实考场模拟" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1TV-Ec-P4L">
  27. <rect key="frame" x="16" y="0.0" width="163.5" height="60"/>
  28. <fontDescription key="fontDescription" type="boldSystem" pointSize="20"/>
  29. <color key="textColor" red="0.039215686270000001" green="0.1019607843" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  30. <nil key="highlightedColor"/>
  31. </label>
  32. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="电脑" translatesAutoresizingMaskIntoConstraints="NO" id="4gc-uc-RbB">
  33. <rect key="frame" x="227" y="60" width="132" height="117"/>
  34. <constraints>
  35. <constraint firstAttribute="width" secondItem="4gc-uc-RbB" secondAttribute="height" multiplier="132:117" id="GPf-Bq-PaW"/>
  36. </constraints>
  37. </imageView>
  38. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillEqually" alignment="top" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="I2E-cP-Y6T">
  39. <rect key="frame" x="16" y="68" width="177" height="42"/>
  40. <subviews>
  41. <stackView opaque="NO" contentMode="scaleToFill" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="6h3-iI-5JL">
  42. <rect key="frame" x="0.0" y="0.0" width="177" height="16"/>
  43. <subviews>
  44. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Gi1-Py-S5L">
  45. <rect key="frame" x="0.0" y="0.0" width="16" height="16"/>
  46. <color key="backgroundColor" red="0.28627450980000002" green="0.5568627451" blue="0.96078431369999995" alpha="1" colorSpace="deviceRGB"/>
  47. <constraints>
  48. <constraint firstAttribute="width" secondItem="Gi1-Py-S5L" secondAttribute="height" id="z4m-nu-RUK"/>
  49. </constraints>
  50. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  51. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  52. <state key="normal" title="1">
  53. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  54. </state>
  55. </button>
  56. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="提前熟悉电脑考试界面" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="TLa-5s-t7r">
  57. <rect key="frame" x="24" y="0.0" width="153" height="16"/>
  58. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="15"/>
  59. <color key="textColor" red="0.039215686270000001" green="0.1019607843" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  60. <nil key="highlightedColor"/>
  61. </label>
  62. </subviews>
  63. </stackView>
  64. <stackView opaque="NO" contentMode="scaleToFill" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="B1j-ZU-LXN">
  65. <rect key="frame" x="0.0" y="26" width="177" height="16"/>
  66. <subviews>
  67. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="7pw-yS-6uz">
  68. <rect key="frame" x="0.0" y="0.0" width="16" height="16"/>
  69. <color key="backgroundColor" red="0.28627450980000002" green="0.5568627451" blue="0.96078431369999995" alpha="1" colorSpace="deviceRGB"/>
  70. <constraints>
  71. <constraint firstAttribute="width" secondItem="7pw-yS-6uz" secondAttribute="height" id="7Bm-aJ-KIY"/>
  72. </constraints>
  73. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  74. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  75. <state key="normal" title="2">
  76. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  77. </state>
  78. </button>
  79. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="高度还原考试出题规则" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Acf-Zl-tSf">
  80. <rect key="frame" x="24" y="0.0" width="153" height="16"/>
  81. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="15"/>
  82. <color key="textColor" red="0.039215686270000001" green="0.1019607843" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  83. <nil key="highlightedColor"/>
  84. </label>
  85. </subviews>
  86. </stackView>
  87. </subviews>
  88. <constraints>
  89. <constraint firstItem="7pw-yS-6uz" firstAttribute="width" secondItem="Gi1-Py-S5L" secondAttribute="width" id="1Xz-4i-an1"/>
  90. </constraints>
  91. </stackView>
  92. <button opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="36z-pB-RyO">
  93. <rect key="frame" x="16" y="130" width="100" height="30"/>
  94. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  95. <constraints>
  96. <constraint firstAttribute="width" secondItem="36z-pB-RyO" secondAttribute="height" multiplier="100:30" id="Dw5-BC-KMz"/>
  97. </constraints>
  98. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  99. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  100. <state key="normal" title="马上去试试"/>
  101. <userDefinedRuntimeAttributes>
  102. <userDefinedRuntimeAttribute type="number" keyPath="layer.shadowRadius">
  103. <integer key="value" value="3"/>
  104. </userDefinedRuntimeAttribute>
  105. <userDefinedRuntimeAttribute type="number" keyPath="layer.shadowOpacity">
  106. <integer key="value" value="1"/>
  107. </userDefinedRuntimeAttribute>
  108. <userDefinedRuntimeAttribute type="size" keyPath="layer.shadowOffset">
  109. <size key="value" width="0.0" height="1"/>
  110. </userDefinedRuntimeAttribute>
  111. <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="NO"/>
  112. </userDefinedRuntimeAttributes>
  113. </button>
  114. </subviews>
  115. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  116. <constraints>
  117. <constraint firstAttribute="trailing" secondItem="rfJ-11-CPt" secondAttribute="trailing" id="1BZ-lA-lPO"/>
  118. <constraint firstItem="rfJ-11-CPt" firstAttribute="top" secondItem="TwP-k8-qik" secondAttribute="top" id="5GS-20-dVi"/>
  119. <constraint firstItem="36z-pB-RyO" firstAttribute="leading" secondItem="TwP-k8-qik" secondAttribute="leading" constant="16" id="IdA-eG-Gib"/>
  120. <constraint firstAttribute="trailing" secondItem="4gc-uc-RbB" secondAttribute="trailing" constant="16" id="NP8-TQ-4Mf"/>
  121. <constraint firstItem="1TV-Ec-P4L" firstAttribute="top" secondItem="TwP-k8-qik" secondAttribute="top" id="SAy-bX-Mzp"/>
  122. <constraint firstAttribute="bottom" secondItem="rfJ-11-CPt" secondAttribute="bottom" id="Xfa-RT-Ll3"/>
  123. <constraint firstItem="36z-pB-RyO" firstAttribute="top" secondItem="I2E-cP-Y6T" secondAttribute="bottom" constant="20" id="beI-W0-dCt"/>
  124. <constraint firstItem="4gc-uc-RbB" firstAttribute="width" secondItem="TwP-k8-qik" secondAttribute="width" multiplier="132/375" id="dy6-BK-XwP"/>
  125. <constraint firstItem="I2E-cP-Y6T" firstAttribute="top" secondItem="1TV-Ec-P4L" secondAttribute="bottom" constant="8" id="kx9-qd-nGX"/>
  126. <constraint firstItem="rfJ-11-CPt" firstAttribute="leading" secondItem="TwP-k8-qik" secondAttribute="leading" id="nEJ-zH-JoM"/>
  127. <constraint firstItem="4gc-uc-RbB" firstAttribute="top" secondItem="1TV-Ec-P4L" secondAttribute="bottom" id="tP5-eR-kf0"/>
  128. <constraint firstItem="I2E-cP-Y6T" firstAttribute="leading" secondItem="TwP-k8-qik" secondAttribute="leading" constant="16" id="v0p-k4-yaX"/>
  129. <constraint firstItem="1TV-Ec-P4L" firstAttribute="leading" secondItem="TwP-k8-qik" secondAttribute="leading" constant="16" id="zSH-ru-jj6"/>
  130. </constraints>
  131. </view>
  132. </subviews>
  133. </view>
  134. <constraints>
  135. <constraint firstItem="TwP-k8-qik" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="YWy-tI-44A"/>
  136. <constraint firstItem="Gi1-Py-S5L" firstAttribute="height" secondItem="gTV-IL-0wX" secondAttribute="width" multiplier="16/375" id="cot-ZU-qch"/>
  137. <constraint firstAttribute="bottom" secondItem="TwP-k8-qik" secondAttribute="bottom" id="fWx-8y-AJr"/>
  138. <constraint firstAttribute="trailing" secondItem="TwP-k8-qik" secondAttribute="trailing" id="grQ-12-7Ta"/>
  139. <constraint firstItem="1TV-Ec-P4L" firstAttribute="height" secondItem="gTV-IL-0wX" secondAttribute="width" multiplier="60/375" id="qpV-6B-R1t"/>
  140. <constraint firstItem="TwP-k8-qik" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="uXE-pg-Yio"/>
  141. <constraint firstItem="36z-pB-RyO" firstAttribute="width" secondItem="gTV-IL-0wX" secondAttribute="width" multiplier="100/375" id="vJn-Hx-JfN"/>
  142. </constraints>
  143. <connections>
  144. <outlet property="myTitleLabel" destination="1TV-Ec-P4L" id="R5z-4m-MEk"/>
  145. <outlet property="oneBtn" destination="Gi1-Py-S5L" id="3KK-76-PWg"/>
  146. <outlet property="tryBtn" destination="36z-pB-RyO" id="hzw-F4-13z"/>
  147. <outlet property="twoBtn" destination="7pw-yS-6uz" id="e16-Js-u6d"/>
  148. </connections>
  149. <point key="canvasLocation" x="136.95652173913044" y="122.20982142857142"/>
  150. </collectionViewCell>
  151. </objects>
  152. <resources>
  153. <image name="simulationExamBg" width="375" height="226"/>
  154. <image name="电脑" width="132" height="117"/>
  155. <systemColor name="systemBackgroundColor">
  156. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  157. </systemColor>
  158. </resources>
  159. </document>