SLiveRedBagView.xib 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  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="retina4_7" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="20020"/>
  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="SLiveRedBagView">
  13. <rect key="frame" x="0.0" y="0.0" width="404" height="670"/>
  14. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  15. <subviews>
  16. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="O01-GT-rbx">
  17. <rect key="frame" x="0.0" y="0.0" width="404" height="670"/>
  18. <subviews>
  19. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="bg_room_red_BigHead" translatesAutoresizingMaskIntoConstraints="NO" id="TUc-Pd-vGr">
  20. <rect key="frame" x="29.5" y="149.5" width="345" height="371"/>
  21. <constraints>
  22. <constraint firstAttribute="height" constant="371" id="5EU-G7-tek"/>
  23. <constraint firstAttribute="width" constant="345" id="Wob-ZF-dce"/>
  24. </constraints>
  25. </imageView>
  26. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="dV6-Se-pQg">
  27. <rect key="frame" x="120" y="312.5" width="45" height="45"/>
  28. <constraints>
  29. <constraint firstAttribute="height" constant="45" id="1eC-Be-haC"/>
  30. <constraint firstAttribute="width" constant="45" id="2MQ-S5-qyF"/>
  31. </constraints>
  32. </imageView>
  33. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Fec-uj-bin">
  34. <rect key="frame" x="175" y="325" width="150" height="20.5"/>
  35. <constraints>
  36. <constraint firstAttribute="width" constant="150" id="Lq8-l8-QSV"/>
  37. </constraints>
  38. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  39. <color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  40. <nil key="highlightedColor"/>
  41. </label>
  42. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="给你发了一个红包" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="9ry-aK-hoD">
  43. <rect key="frame" x="116.5" y="365.5" width="171" height="25"/>
  44. <constraints>
  45. <constraint firstAttribute="height" constant="25" id="DF6-ro-ovb"/>
  46. </constraints>
  47. <fontDescription key="fontDescription" type="system" pointSize="21"/>
  48. <color key="textColor" red="1" green="0.89803921568627454" blue="0.16470588235294117" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  49. <nil key="highlightedColor"/>
  50. </label>
  51. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="1Ph-p4-Bsi">
  52. <rect key="frame" x="112" y="423" width="180" height="63"/>
  53. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  54. <constraints>
  55. <constraint firstAttribute="height" constant="63" id="3Rl-Dx-2cP"/>
  56. <constraint firstAttribute="width" constant="180" id="XlF-Dr-kr3"/>
  57. </constraints>
  58. <fontDescription key="fontDescription" type="system" pointSize="27"/>
  59. <state key="normal">
  60. <color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  61. </state>
  62. <connections>
  63. <action selector="redButtonClick:" destination="iN0-l3-epB" eventType="touchUpInside" id="fwp-TS-ymN"/>
  64. </connections>
  65. </button>
  66. <view hidden="YES" contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="de3-Dt-ZTi">
  67. <rect key="frame" x="0.0" y="223.5" width="92" height="1"/>
  68. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  69. <color key="backgroundColor" red="0.66666666669999997" green="0.66666666669999997" blue="0.66666666669999997" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  70. </view>
  71. <label hidden="YES" opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="恭喜抢到" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="q19-j7-yjD">
  72. <rect key="frame" x="69.5" y="330" width="265" height="24"/>
  73. <fontDescription key="fontDescription" type="system" pointSize="20"/>
  74. <color key="textColor" red="1" green="0.88235294117647056" blue="0.45882352941176469" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  75. <nil key="highlightedColor"/>
  76. </label>
  77. <imageView hidden="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" image="redpacket_expand.png" translatesAutoresizingMaskIntoConstraints="NO" id="Bir-vd-btu">
  78. <rect key="frame" x="34" y="398.5" width="24" height="24"/>
  79. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  80. </imageView>
  81. <button hidden="YES" opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="AUl-uY-Pz4">
  82. <rect key="frame" x="0.0" y="349" width="92" height="41.5"/>
  83. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  84. <state key="normal" title="看看大家手气">
  85. <color key="titleColor" red="1" green="0.88235294117647056" blue="0.45882352941176469" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  86. </state>
  87. <connections>
  88. <action selector="buttonClick:" destination="iN0-l3-epB" eventType="touchUpInside" id="Fmx-b2-myb"/>
  89. </connections>
  90. </button>
  91. <tableView hidden="YES" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="Rpp-gj-mpg">
  92. <rect key="frame" x="68" y="292.5" width="280" height="240"/>
  93. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  94. <constraints>
  95. <constraint firstAttribute="width" constant="280" id="Y4M-B5-Rdc"/>
  96. <constraint firstAttribute="height" constant="240" id="vRK-QP-yx1"/>
  97. </constraints>
  98. <button key="tableHeaderView" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" id="VFi-TO-Cxn">
  99. <rect key="frame" x="0.0" y="0.0" width="280" height="60"/>
  100. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  101. <color key="backgroundColor" red="0.96470588239999999" green="0.64705882349999999" blue="0.27450980390000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  102. <state key="normal" title="抢红包">
  103. <color key="titleColor" red="1" green="0.96862745100000003" blue="0.91764705879999997" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  104. </state>
  105. <connections>
  106. <action selector="redButtonClick:" destination="iN0-l3-epB" eventType="touchUpInside" id="c3j-gX-jJy"/>
  107. </connections>
  108. </button>
  109. </tableView>
  110. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="M0d-Q1-tzS">
  111. <rect key="frame" x="183" y="539.5" width="38" height="38"/>
  112. <constraints>
  113. <constraint firstAttribute="height" constant="38" id="Quo-te-WlS"/>
  114. <constraint firstAttribute="width" constant="38" id="nGU-qb-6Cq"/>
  115. </constraints>
  116. <state key="normal" image="bg_room_red_Close"/>
  117. <connections>
  118. <action selector="clickClose:" destination="iN0-l3-epB" eventType="touchUpInside" id="oFP-tN-gNz"/>
  119. </connections>
  120. </button>
  121. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="kpZ-Wd-zMc">
  122. <rect key="frame" x="97" y="433" width="210" height="38"/>
  123. <constraints>
  124. <constraint firstAttribute="width" constant="210" id="TUi-PL-B29"/>
  125. <constraint firstAttribute="height" constant="38" id="YbL-Pf-Gkb"/>
  126. </constraints>
  127. <fontDescription key="fontDescription" type="system" pointSize="19"/>
  128. <state key="normal" title="查看大家手气">
  129. <color key="titleColor" red="1" green="0.8980392157" blue="0.1647058824" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  130. </state>
  131. <connections>
  132. <action selector="buttonClick:" destination="iN0-l3-epB" eventType="touchUpInside" id="ldd-m9-hzm"/>
  133. </connections>
  134. </button>
  135. <label hidden="YES" opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="5钻石" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="4vi-BQ-0Jq">
  136. <rect key="frame" x="69.5" y="374" width="265" height="24"/>
  137. <fontDescription key="fontDescription" type="system" pointSize="20"/>
  138. <color key="textColor" red="1" green="0.8980392157" blue="0.1647058824" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  139. <nil key="highlightedColor"/>
  140. </label>
  141. <label hidden="YES" opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="可爱的大胖妞-的红包" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="TcB-FV-M7c">
  142. <rect key="frame" x="125" y="154.5" width="154.5" height="33.5"/>
  143. <constraints>
  144. <constraint firstAttribute="height" constant="33.5" id="AMF-CM-iGx"/>
  145. </constraints>
  146. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  147. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  148. <nil key="highlightedColor"/>
  149. </label>
  150. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="t1r-Wc-9xE">
  151. <rect key="frame" x="170" y="213" width="68" height="68"/>
  152. <constraints>
  153. <constraint firstAttribute="width" constant="68" id="5UP-w9-m98"/>
  154. <constraint firstAttribute="height" constant="68" id="dzK-MI-La5"/>
  155. </constraints>
  156. </imageView>
  157. </subviews>
  158. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  159. <constraints>
  160. <constraint firstItem="dV6-Se-pQg" firstAttribute="centerY" secondItem="Fec-uj-bin" secondAttribute="centerY" id="5bs-mc-mGL"/>
  161. <constraint firstItem="q19-j7-yjD" firstAttribute="top" secondItem="O01-GT-rbx" secondAttribute="top" constant="330" id="9Zi-b0-BTY"/>
  162. <constraint firstItem="kpZ-Wd-zMc" firstAttribute="top" secondItem="4vi-BQ-0Jq" secondAttribute="bottom" constant="35" id="9lV-uZ-i2Q"/>
  163. <constraint firstItem="kpZ-Wd-zMc" firstAttribute="centerX" secondItem="TUc-Pd-vGr" secondAttribute="centerX" id="Bhm-hO-8XD"/>
  164. <constraint firstItem="q19-j7-yjD" firstAttribute="width" secondItem="TUc-Pd-vGr" secondAttribute="width" constant="-80" id="Cz7-AH-9lc"/>
  165. <constraint firstItem="4vi-BQ-0Jq" firstAttribute="centerX" secondItem="TUc-Pd-vGr" secondAttribute="centerX" id="GD3-Z3-jWc"/>
  166. <constraint firstItem="4vi-BQ-0Jq" firstAttribute="width" secondItem="q19-j7-yjD" secondAttribute="width" id="ObZ-gd-IXs"/>
  167. <constraint firstItem="TcB-FV-M7c" firstAttribute="centerX" secondItem="O01-GT-rbx" secondAttribute="centerX" id="Oun-oe-Oo4"/>
  168. <constraint firstItem="Fec-uj-bin" firstAttribute="leading" secondItem="dV6-Se-pQg" secondAttribute="trailing" constant="10" id="Pq3-Fo-4Lp"/>
  169. <constraint firstItem="M0d-Q1-tzS" firstAttribute="centerX" secondItem="TUc-Pd-vGr" secondAttribute="centerX" id="Ttc-bv-TSM"/>
  170. <constraint firstItem="Rpp-gj-mpg" firstAttribute="top" secondItem="dV6-Se-pQg" secondAttribute="top" constant="-20" id="UAo-hn-mE2"/>
  171. <constraint firstItem="1Ph-p4-Bsi" firstAttribute="centerX" secondItem="9ry-aK-hoD" secondAttribute="centerX" id="VuZ-G4-0Yf"/>
  172. <constraint firstItem="9ry-aK-hoD" firstAttribute="centerX" secondItem="O01-GT-rbx" secondAttribute="centerX" id="XJO-5O-ZCF"/>
  173. <constraint firstItem="t1r-Wc-9xE" firstAttribute="top" secondItem="TcB-FV-M7c" secondAttribute="bottom" constant="25" id="Y3J-bd-FyX"/>
  174. <constraint firstItem="dV6-Se-pQg" firstAttribute="leading" secondItem="O01-GT-rbx" secondAttribute="leading" constant="120" id="Ylc-OV-Q67"/>
  175. <constraint firstItem="Rpp-gj-mpg" firstAttribute="centerX" secondItem="TUc-Pd-vGr" secondAttribute="centerX" constant="6" id="a8K-h5-qDY"/>
  176. <constraint firstItem="4vi-BQ-0Jq" firstAttribute="top" secondItem="q19-j7-yjD" secondAttribute="bottom" constant="20" id="bVN-Rj-uVV"/>
  177. <constraint firstItem="M0d-Q1-tzS" firstAttribute="top" secondItem="TUc-Pd-vGr" secondAttribute="bottom" constant="19" id="ecL-um-7cS"/>
  178. <constraint firstItem="TcB-FV-M7c" firstAttribute="top" secondItem="TUc-Pd-vGr" secondAttribute="top" constant="5" id="hLd-Tn-Xpy"/>
  179. <constraint firstItem="TUc-Pd-vGr" firstAttribute="centerY" secondItem="O01-GT-rbx" secondAttribute="centerY" id="hfX-QN-nUN"/>
  180. <constraint firstItem="9ry-aK-hoD" firstAttribute="top" secondItem="dV6-Se-pQg" secondAttribute="bottom" constant="8" id="mt5-bG-vki"/>
  181. <constraint firstItem="TUc-Pd-vGr" firstAttribute="centerX" secondItem="O01-GT-rbx" secondAttribute="centerX" id="p49-lh-h94"/>
  182. <constraint firstItem="Fec-uj-bin" firstAttribute="centerY" secondItem="TUc-Pd-vGr" secondAttribute="centerY" id="qBe-gs-17F"/>
  183. <constraint firstItem="q19-j7-yjD" firstAttribute="centerX" secondItem="TUc-Pd-vGr" secondAttribute="centerX" id="s81-d0-VTw"/>
  184. <constraint firstItem="1Ph-p4-Bsi" firstAttribute="top" secondItem="9ry-aK-hoD" secondAttribute="bottom" constant="32.5" id="sep-hV-L9a"/>
  185. <constraint firstItem="t1r-Wc-9xE" firstAttribute="centerX" secondItem="TcB-FV-M7c" secondAttribute="centerX" constant="2" id="tas-4e-clu"/>
  186. </constraints>
  187. </view>
  188. </subviews>
  189. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  190. <constraints>
  191. <constraint firstItem="O01-GT-rbx" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="7Eu-gJ-5yy"/>
  192. <constraint firstItem="O01-GT-rbx" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="BoS-CK-jwY"/>
  193. <constraint firstAttribute="trailing" secondItem="O01-GT-rbx" secondAttribute="trailing" id="Btn-Qq-Hc8"/>
  194. <constraint firstAttribute="bottom" secondItem="O01-GT-rbx" secondAttribute="bottom" id="PDg-va-6Yr"/>
  195. </constraints>
  196. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  197. <connections>
  198. <outlet property="bottomButton" destination="1Ph-p4-Bsi" id="dEV-sF-ToW"/>
  199. <outlet property="headBackBroundView" destination="TUc-Pd-vGr" id="Yua-Xp-6iK"/>
  200. <outlet property="headImgHeightConstraint" destination="5EU-G7-tek" id="stt-gD-nfG"/>
  201. <outlet property="headImgView" destination="dV6-Se-pQg" id="pfd-Bs-lEB"/>
  202. <outlet property="headImgView3" destination="t1r-Wc-9xE" id="YH2-eB-Jsl"/>
  203. <outlet property="headImgWidthConstraint" destination="Wob-ZF-dce" id="lA1-Y9-0hc"/>
  204. <outlet property="lineView" destination="de3-Dt-ZTi" id="cO5-kD-341"/>
  205. <outlet property="luckButton" destination="AUl-uY-Pz4" id="PGc-bT-Wqi"/>
  206. <outlet property="luckImgView" destination="Bir-vd-btu" id="W9s-PQ-0PC"/>
  207. <outlet property="luckNewButton" destination="kpZ-Wd-zMc" id="SCq-TB-uD5"/>
  208. <outlet property="messageLabel" destination="9ry-aK-hoD" id="9NT-mR-3Qe"/>
  209. <outlet property="messageLabel2" destination="4vi-BQ-0Jq" id="wGz-Df-GD0"/>
  210. <outlet property="myTableView" destination="Rpp-gj-mpg" id="Sux-tG-YtB"/>
  211. <outlet property="nameLabel" destination="Fec-uj-bin" id="x3L-zZ-Y5C"/>
  212. <outlet property="nameLabel2" destination="q19-j7-yjD" id="xKt-cs-psq"/>
  213. <outlet property="nameLabel3" destination="TcB-FV-M7c" id="Oux-Dr-K13"/>
  214. <outlet property="rebbagBigView" destination="O01-GT-rbx" id="igw-fL-hsE"/>
  215. <outlet property="redButton" destination="VFi-TO-Cxn" id="yMN-NF-O7e"/>
  216. </connections>
  217. <point key="canvasLocation" x="-14.4" y="158.32083958020991"/>
  218. </view>
  219. </objects>
  220. <resources>
  221. <image name="bg_room_red_BigHead" width="345" height="371"/>
  222. <image name="bg_room_red_Close" width="38" height="38"/>
  223. <image name="redpacket_expand.png" width="16" height="16"/>
  224. </resources>
  225. </document>