HomeBodyView.xib 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" 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="16087"/>
  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. <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="HomeBodyView">
  13. <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
  14. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  15. <subviews>
  16. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="home_top" translatesAutoresizingMaskIntoConstraints="NO" id="UE7-CX-F3s">
  17. <rect key="frame" x="0.0" y="0.0" width="414" height="174.5"/>
  18. <constraints>
  19. <constraint firstAttribute="width" secondItem="UE7-CX-F3s" secondAttribute="height" multiplier="375:158" id="spA-lC-yEg"/>
  20. </constraints>
  21. </imageView>
  22. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="deZ-CC-Tlw">
  23. <rect key="frame" x="16" y="90.5" width="382" height="146"/>
  24. <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
  25. <constraints>
  26. <constraint firstAttribute="height" constant="146" id="2Ow-0T-1Ld"/>
  27. <constraint firstAttribute="width" secondItem="deZ-CC-Tlw" secondAttribute="height" multiplier="191:73" id="oCK-Gi-Vza"/>
  28. </constraints>
  29. <userDefinedRuntimeAttributes>
  30. <userDefinedRuntimeAttribute type="size" keyPath="shadowOffset">
  31. <size key="value" width="0.0" height="2"/>
  32. </userDefinedRuntimeAttribute>
  33. <userDefinedRuntimeAttribute type="color" keyPath="shadowUIColor">
  34. <color key="value" red="0.94117647059999998" green="0.94117647059999998" blue="0.94117647059999998" alpha="1" colorSpace="calibratedRGB"/>
  35. </userDefinedRuntimeAttribute>
  36. <userDefinedRuntimeAttribute type="number" keyPath="shadowOpacity">
  37. <real key="value" value="1"/>
  38. </userDefinedRuntimeAttribute>
  39. <userDefinedRuntimeAttribute type="number" keyPath="shadowRadius">
  40. <real key="value" value="4"/>
  41. </userDefinedRuntimeAttribute>
  42. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  43. <real key="value" value="8"/>
  44. </userDefinedRuntimeAttribute>
  45. </userDefinedRuntimeAttributes>
  46. </view>
  47. <button opaque="NO" tag="1001" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="pm2-TK-yzh">
  48. <rect key="frame" x="364" y="30.5" width="40" height="40"/>
  49. <constraints>
  50. <constraint firstAttribute="height" constant="40" id="C4X-wk-y2Q"/>
  51. <constraint firstAttribute="width" constant="40" id="S9o-kq-zZV"/>
  52. </constraints>
  53. <state key="normal" image="notice_read"/>
  54. <connections>
  55. <action selector="buttonClickAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="WhJ-yF-Z16"/>
  56. </connections>
  57. </button>
  58. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="酷乐秀" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="qJ1-Pm-qsl">
  59. <rect key="frame" x="16" y="34" width="73" height="33"/>
  60. <constraints>
  61. <constraint firstAttribute="height" constant="33" id="SxQ-jk-5Uj"/>
  62. </constraints>
  63. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="24"/>
  64. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  65. <nil key="highlightedColor"/>
  66. </label>
  67. <imageView clipsSubviews="YES" tag="1002" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="book_record" translatesAutoresizingMaskIntoConstraints="NO" id="FTX-tf-JYt">
  68. <rect key="frame" x="12" y="251.5" width="392" height="120.5"/>
  69. <gestureRecognizers/>
  70. <constraints>
  71. <constraint firstAttribute="width" secondItem="FTX-tf-JYt" secondAttribute="height" multiplier="13:4" id="wNV-53-ocO"/>
  72. </constraints>
  73. <connections>
  74. <outletCollection property="gestureRecognizers" destination="0cz-kF-eTZ" appends="YES" id="UGr-Vs-gwh"/>
  75. </connections>
  76. </imageView>
  77. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="报考记录" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="71n-fC-CqF">
  78. <rect key="frame" x="32" y="287" width="74" height="25"/>
  79. <constraints>
  80. <constraint firstAttribute="height" constant="25" id="MxA-yU-X9o"/>
  81. </constraints>
  82. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="18"/>
  83. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  84. <nil key="highlightedColor"/>
  85. </label>
  86. <imageView clipsSubviews="YES" tag="1003" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="exam_record" translatesAutoresizingMaskIntoConstraints="NO" id="X8m-zH-diL">
  87. <rect key="frame" x="12" y="387" width="392" height="120.5"/>
  88. <gestureRecognizers/>
  89. <connections>
  90. <outletCollection property="gestureRecognizers" destination="g0m-kn-yMe" appends="YES" id="J0N-dX-A4b"/>
  91. </connections>
  92. </imageView>
  93. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="您即将进行的考试" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="y0E-93-7ac">
  94. <rect key="frame" x="32" y="454.5" width="114.5" height="20"/>
  95. <constraints>
  96. <constraint firstAttribute="height" constant="20" id="eD7-7U-5gB"/>
  97. </constraints>
  98. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  99. <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
  100. <nil key="highlightedColor"/>
  101. </label>
  102. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="考试记录" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="g1C-Ty-W4n">
  103. <rect key="frame" x="32" y="422.5" width="74" height="25"/>
  104. <constraints>
  105. <constraint firstAttribute="height" constant="25" id="tTe-yW-e14"/>
  106. </constraints>
  107. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="18"/>
  108. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  109. <nil key="highlightedColor"/>
  110. </label>
  111. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="record_detail" translatesAutoresizingMaskIntoConstraints="NO" id="lSQ-oa-URI">
  112. <rect key="frame" x="151.5" y="455.5" width="14" height="18"/>
  113. </imageView>
  114. <imageView clipsSubviews="YES" tag="1004" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="home_library" translatesAutoresizingMaskIntoConstraints="NO" id="6jn-Ca-srp">
  115. <rect key="frame" x="12" y="522.5" width="392" height="121"/>
  116. <gestureRecognizers/>
  117. <constraints>
  118. <constraint firstAttribute="width" secondItem="6jn-Ca-srp" secondAttribute="height" multiplier="13:4" id="We3-pT-D82"/>
  119. </constraints>
  120. <connections>
  121. <outletCollection property="gestureRecognizers" destination="hzg-Cm-ZWb" appends="YES" id="re3-Lm-wRD"/>
  122. </connections>
  123. </imageView>
  124. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="进入考级曲库" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Gd1-H6-mZc">
  125. <rect key="frame" x="32" y="590" width="86" height="20"/>
  126. <constraints>
  127. <constraint firstAttribute="height" constant="20" id="oVm-Ho-adW"/>
  128. </constraints>
  129. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  130. <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
  131. <nil key="highlightedColor"/>
  132. </label>
  133. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="考级曲库" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ylI-OI-Itq">
  134. <rect key="frame" x="32" y="558" width="74" height="25"/>
  135. <constraints>
  136. <constraint firstAttribute="height" constant="25" id="ClN-i1-S5V"/>
  137. </constraints>
  138. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="18"/>
  139. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  140. <nil key="highlightedColor"/>
  141. </label>
  142. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="record_detail" translatesAutoresizingMaskIntoConstraints="NO" id="3du-vq-z5T">
  143. <rect key="frame" x="123" y="591" width="14" height="18"/>
  144. </imageView>
  145. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="您的报考记录" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="aDg-7e-SV3">
  146. <rect key="frame" x="32" y="319" width="86" height="20"/>
  147. <constraints>
  148. <constraint firstAttribute="height" constant="20" id="LRW-oG-3IF"/>
  149. </constraints>
  150. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  151. <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
  152. <nil key="highlightedColor"/>
  153. </label>
  154. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="record_detail" translatesAutoresizingMaskIntoConstraints="NO" id="J1M-Gy-55Y">
  155. <rect key="frame" x="123" y="320" width="14" height="18"/>
  156. </imageView>
  157. </subviews>
  158. <color key="backgroundColor" red="0.95294117647058818" green="0.95686274509803915" blue="0.97254901960784312" alpha="1" colorSpace="calibratedRGB"/>
  159. <constraints>
  160. <constraint firstItem="FTX-tf-JYt" firstAttribute="top" secondItem="deZ-CC-Tlw" secondAttribute="bottom" constant="15" id="0OE-L8-r85"/>
  161. <constraint firstItem="y0E-93-7ac" firstAttribute="leading" secondItem="g1C-Ty-W4n" secondAttribute="leading" id="1hr-61-kkQ"/>
  162. <constraint firstAttribute="trailing" secondItem="FTX-tf-JYt" secondAttribute="trailing" constant="10" id="2ha-2A-PGC"/>
  163. <constraint firstItem="deZ-CC-Tlw" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="16" id="3Kr-dw-VIu"/>
  164. <constraint firstItem="3du-vq-z5T" firstAttribute="leading" secondItem="Gd1-H6-mZc" secondAttribute="trailing" constant="5" id="4kX-qt-wMo"/>
  165. <constraint firstAttribute="trailing" secondItem="UE7-CX-F3s" secondAttribute="trailing" id="7Bf-Td-8s6"/>
  166. <constraint firstItem="X8m-zH-diL" firstAttribute="width" secondItem="X8m-zH-diL" secondAttribute="height" multiplier="13:4" id="7Ow-SZ-xH1"/>
  167. <constraint firstItem="X8m-zH-diL" firstAttribute="leading" secondItem="FTX-tf-JYt" secondAttribute="leading" id="8IJ-cL-MHB"/>
  168. <constraint firstItem="lSQ-oa-URI" firstAttribute="centerY" secondItem="y0E-93-7ac" secondAttribute="centerY" id="9z9-g0-6Xn"/>
  169. <constraint firstItem="pm2-TK-yzh" firstAttribute="centerY" secondItem="qJ1-Pm-qsl" secondAttribute="centerY" id="AjB-gW-5Oi"/>
  170. <constraint firstItem="6jn-Ca-srp" firstAttribute="trailing" secondItem="FTX-tf-JYt" secondAttribute="trailing" id="EMt-8Q-idq"/>
  171. <constraint firstItem="UE7-CX-F3s" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="ES7-0O-HYY"/>
  172. <constraint firstItem="g1C-Ty-W4n" firstAttribute="bottom" secondItem="X8m-zH-diL" secondAttribute="centerY" id="FYP-mc-9EX"/>
  173. <constraint firstItem="6jn-Ca-srp" firstAttribute="leading" secondItem="FTX-tf-JYt" secondAttribute="leading" id="IZb-ZI-5x6"/>
  174. <constraint firstItem="J1M-Gy-55Y" firstAttribute="leading" secondItem="aDg-7e-SV3" secondAttribute="trailing" constant="5" id="KkW-2E-C2m"/>
  175. <constraint firstAttribute="trailing" secondItem="deZ-CC-Tlw" secondAttribute="trailing" constant="16" id="Nek-Xb-k8j"/>
  176. <constraint firstItem="g1C-Ty-W4n" firstAttribute="leading" secondItem="X8m-zH-diL" secondAttribute="leading" constant="20" id="Se2-In-qdn"/>
  177. <constraint firstItem="Gd1-H6-mZc" firstAttribute="top" secondItem="ylI-OI-Itq" secondAttribute="bottom" constant="7" id="TEV-is-ZS3"/>
  178. <constraint firstItem="71n-fC-CqF" firstAttribute="leading" secondItem="FTX-tf-JYt" secondAttribute="leading" constant="20" id="VpC-SF-2LZ"/>
  179. <constraint firstItem="3du-vq-z5T" firstAttribute="centerY" secondItem="Gd1-H6-mZc" secondAttribute="centerY" id="WOA-Fd-oVt"/>
  180. <constraint firstItem="qJ1-Pm-qsl" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="16" id="XWG-Hi-LXu"/>
  181. <constraint firstItem="6jn-Ca-srp" firstAttribute="top" secondItem="X8m-zH-diL" secondAttribute="bottom" constant="15" id="Xdu-ZS-WnO"/>
  182. <constraint firstItem="lSQ-oa-URI" firstAttribute="leading" secondItem="y0E-93-7ac" secondAttribute="trailing" constant="5" id="duC-ZB-gBe"/>
  183. <constraint firstItem="X8m-zH-diL" firstAttribute="trailing" secondItem="FTX-tf-JYt" secondAttribute="trailing" id="eLs-5L-Yai"/>
  184. <constraint firstItem="ylI-OI-Itq" firstAttribute="leading" secondItem="6jn-Ca-srp" secondAttribute="leading" constant="20" id="gmk-5l-Qbf"/>
  185. <constraint firstItem="UE7-CX-F3s" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="hKP-bb-VyG"/>
  186. <constraint firstItem="deZ-CC-Tlw" firstAttribute="top" secondItem="pm2-TK-yzh" secondAttribute="bottom" constant="20" id="iLw-WW-Lf8"/>
  187. <constraint firstItem="J1M-Gy-55Y" firstAttribute="centerY" secondItem="aDg-7e-SV3" secondAttribute="centerY" id="oiT-pM-V6J"/>
  188. <constraint firstItem="FTX-tf-JYt" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="12" id="ond-pM-vCq"/>
  189. <constraint firstItem="aDg-7e-SV3" firstAttribute="top" secondItem="71n-fC-CqF" secondAttribute="bottom" constant="7" id="sZM-2r-jhV"/>
  190. <constraint firstItem="y0E-93-7ac" firstAttribute="top" secondItem="g1C-Ty-W4n" secondAttribute="bottom" constant="7" id="tGA-jG-Bm1"/>
  191. <constraint firstItem="71n-fC-CqF" firstAttribute="bottom" secondItem="FTX-tf-JYt" secondAttribute="centerY" id="upB-i4-JqE"/>
  192. <constraint firstItem="Gd1-H6-mZc" firstAttribute="leading" secondItem="ylI-OI-Itq" secondAttribute="leading" id="wQf-uF-w9i"/>
  193. <constraint firstAttribute="trailing" secondItem="pm2-TK-yzh" secondAttribute="trailing" constant="10" id="wWc-Ul-kmu"/>
  194. <constraint firstItem="ylI-OI-Itq" firstAttribute="bottom" secondItem="6jn-Ca-srp" secondAttribute="centerY" id="xHE-4u-yL6"/>
  195. <constraint firstItem="aDg-7e-SV3" firstAttribute="leading" secondItem="71n-fC-CqF" secondAttribute="leading" id="xNP-fv-2MS"/>
  196. <constraint firstItem="qJ1-Pm-qsl" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="34" id="z7t-8v-nwm"/>
  197. <constraint firstItem="X8m-zH-diL" firstAttribute="top" secondItem="FTX-tf-JYt" secondAttribute="bottom" constant="15" id="zqL-CI-vbV"/>
  198. </constraints>
  199. <connections>
  200. <outlet property="bgHeight" destination="2Ow-0T-1Ld" id="wrY-ii-pAl"/>
  201. <outlet property="noticeButton" destination="pm2-TK-yzh" id="D24-BB-F6h"/>
  202. <outlet property="scollBgView" destination="deZ-CC-Tlw" id="3il-Dh-Bet"/>
  203. <outlet property="topMargin" destination="z7t-8v-nwm" id="tlh-RE-qoY"/>
  204. </connections>
  205. <point key="canvasLocation" x="131.8840579710145" y="105.80357142857143"/>
  206. </view>
  207. <tapGestureRecognizer id="0cz-kF-eTZ">
  208. <connections>
  209. <action selector="tapAction:" destination="iN0-l3-epB" id="2oP-m7-QR3"/>
  210. </connections>
  211. </tapGestureRecognizer>
  212. <tapGestureRecognizer id="g0m-kn-yMe">
  213. <connections>
  214. <action selector="tapAction:" destination="iN0-l3-epB" id="xmA-Kb-uvf"/>
  215. </connections>
  216. </tapGestureRecognizer>
  217. <tapGestureRecognizer id="hzg-Cm-ZWb">
  218. <connections>
  219. <action selector="tapAction:" destination="iN0-l3-epB" id="0B2-Pn-fxB"/>
  220. </connections>
  221. </tapGestureRecognizer>
  222. </objects>
  223. <resources>
  224. <image name="book_record" width="351" height="120"/>
  225. <image name="exam_record" width="351" height="120"/>
  226. <image name="home_library" width="351" height="120"/>
  227. <image name="home_top" width="375" height="158"/>
  228. <image name="notice_read" width="19" height="22"/>
  229. <image name="record_detail" width="14" height="18"/>
  230. </resources>
  231. </document>