YBGiftView.xib 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="17156" 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="17125"/>
  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="YBGiftView">
  13. <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  14. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  15. <subviews>
  16. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="QdH-sN-dPC" userLabel="背景">
  17. <rect key="frame" x="0.0" y="345" width="375" height="322"/>
  18. <subviews>
  19. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="打赏礼物" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="hU0-PZ-Ueu" userLabel="标题">
  20. <rect key="frame" x="15" y="9" width="49.5" height="26"/>
  21. <constraints>
  22. <constraint firstAttribute="height" constant="26" id="OYc-ug-PZy"/>
  23. </constraints>
  24. <fontDescription key="fontDescription" type="boldSystem" pointSize="12"/>
  25. <color key="textColor" red="0.0" green="0.99215686274509807" blue="1" alpha="0.68308540239726023" colorSpace="custom" customColorSpace="sRGB"/>
  26. <nil key="highlightedColor"/>
  27. </label>
  28. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="sRm-OV-rJh" userLabel="上线">
  29. <rect key="frame" x="0.0" y="44" width="375" height="1"/>
  30. <color key="backgroundColor" red="0.96078431372549022" green="0.96078431372549022" blue="0.96078431372549022" alpha="1" colorSpace="calibratedRGB"/>
  31. <constraints>
  32. <constraint firstAttribute="height" constant="1" id="PqM-LI-6cG"/>
  33. </constraints>
  34. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  35. <nil key="textColor"/>
  36. <nil key="highlightedColor"/>
  37. </label>
  38. <button hidden="YES" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="hnw-fE-DOv" userLabel="关闭">
  39. <rect key="frame" x="341" y="0.0" width="34" height="34"/>
  40. <constraints>
  41. <constraint firstAttribute="height" constant="34" id="At8-Rz-kNd"/>
  42. <constraint firstAttribute="width" constant="34" id="F84-Iu-lPI"/>
  43. </constraints>
  44. <state key="normal" image="礼物-关闭.png"/>
  45. <connections>
  46. <action selector="clickCloseBtn:" destination="iN0-l3-epB" eventType="touchUpInside" id="BVv-Ue-Bk5"/>
  47. </connections>
  48. </button>
  49. <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" pagingEnabled="YES" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" dataMode="none" translatesAutoresizingMaskIntoConstraints="NO" id="Euv-EZ-qxZ" userLabel="列表">
  50. <rect key="frame" x="0.0" y="45" width="375" height="220"/>
  51. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  52. <constraints>
  53. <constraint firstAttribute="width" secondItem="Euv-EZ-qxZ" secondAttribute="height" multiplier="375:220" id="pV4-4j-i54"/>
  54. </constraints>
  55. <collectionViewLayout key="collectionViewLayout" id="OUo-53-ytq" customClass="LWLCollectionViewHorizontalLayout"/>
  56. </collectionView>
  57. <pageControl opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" hidesForSinglePage="YES" numberOfPages="4" translatesAutoresizingMaskIntoConstraints="NO" id="gFe-hG-bnb" userLabel="page" customClass="YBPageControl">
  58. <rect key="frame" x="37.5" y="265" width="300" height="11"/>
  59. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  60. <constraints>
  61. <constraint firstAttribute="height" constant="11" id="rbR-8j-guw"/>
  62. </constraints>
  63. <color key="pageIndicatorTintColor" red="0.58823529411764708" green="0.58823529411764708" blue="0.58823529411764708" alpha="0.29999999999999999" colorSpace="custom" customColorSpace="sRGB"/>
  64. <color key="currentPageIndicatorTintColor" red="0.91764705879999997" green="0.2156862745" blue="0.49803921569999998" alpha="1" colorSpace="calibratedRGB"/>
  65. </pageControl>
  66. <label hidden="YES" opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="NFc-Wz-lxs" userLabel="下线">
  67. <rect key="frame" x="0.0" y="276" width="375" height="1"/>
  68. <color key="backgroundColor" red="0.96078431372549022" green="0.96078431372549022" blue="0.96078431372549022" alpha="1" colorSpace="calibratedRGB"/>
  69. <constraints>
  70. <constraint firstAttribute="height" constant="1" id="nWJ-QJ-S2f"/>
  71. </constraints>
  72. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  73. <nil key="textColor"/>
  74. <nil key="highlightedColor"/>
  75. </label>
  76. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Yao-Yh-vrA" userLabel="底部">
  77. <rect key="frame" x="0.0" y="277" width="375" height="43"/>
  78. <subviews>
  79. <scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Jp0-NQ-Vyt" userLabel="金币列表scor">
  80. <rect key="frame" x="5" y="0.0" width="232" height="43"/>
  81. </scrollView>
  82. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="mTf-xy-7yB" userLabel="赠送">
  83. <rect key="frame" x="302" y="8.5" width="58" height="26"/>
  84. <color key="backgroundColor" red="0.89411764709999997" green="0.19215686269999999" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  85. <constraints>
  86. <constraint firstAttribute="width" constant="58" id="HU0-FM-7By"/>
  87. <constraint firstAttribute="height" constant="26" id="mh6-tK-2Aa"/>
  88. </constraints>
  89. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  90. <state key="normal" title="赠送"/>
  91. <userDefinedRuntimeAttributes>
  92. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  93. <real key="value" value="13"/>
  94. </userDefinedRuntimeAttribute>
  95. </userDefinedRuntimeAttributes>
  96. <connections>
  97. <action selector="clickSendBtn:" destination="iN0-l3-epB" eventType="touchUpInside" id="DsE-FM-Vxv"/>
  98. </connections>
  99. </button>
  100. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="9xf-7v-idZ" userLabel="连送">
  101. <rect key="frame" x="301" y="-18.5" width="60" height="60"/>
  102. <color key="backgroundColor" red="0.89411764709999997" green="0.19215686269999999" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  103. <constraints>
  104. <constraint firstAttribute="width" constant="60" id="AUj-Ak-san"/>
  105. <constraint firstAttribute="height" constant="60" id="Cxx-GI-Dlv"/>
  106. </constraints>
  107. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  108. <state key="normal" title="连送"/>
  109. <userDefinedRuntimeAttributes>
  110. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  111. <real key="value" value="30"/>
  112. </userDefinedRuntimeAttribute>
  113. </userDefinedRuntimeAttributes>
  114. <connections>
  115. <action selector="clickContinueSendBtn:" destination="iN0-l3-epB" eventType="touchUpInside" id="aoP-YP-4qL"/>
  116. </connections>
  117. </button>
  118. </subviews>
  119. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  120. <constraints>
  121. <constraint firstItem="mTf-xy-7yB" firstAttribute="centerY" secondItem="Yao-Yh-vrA" secondAttribute="centerY" id="DSs-bz-Kfi"/>
  122. <constraint firstAttribute="trailing" secondItem="mTf-xy-7yB" secondAttribute="trailing" constant="15" id="DmG-KY-ZTV"/>
  123. <constraint firstAttribute="height" constant="43" id="KBj-tq-g9r"/>
  124. <constraint firstItem="Jp0-NQ-Vyt" firstAttribute="leading" secondItem="Yao-Yh-vrA" secondAttribute="leading" constant="5" id="LdN-pC-Qmh"/>
  125. <constraint firstItem="9xf-7v-idZ" firstAttribute="centerX" secondItem="mTf-xy-7yB" secondAttribute="centerX" id="NnV-au-9h5"/>
  126. <constraint firstItem="Jp0-NQ-Vyt" firstAttribute="centerY" secondItem="Yao-Yh-vrA" secondAttribute="centerY" id="g9N-r7-SXb"/>
  127. <constraint firstItem="Jp0-NQ-Vyt" firstAttribute="trailing" secondItem="mTf-xy-7yB" secondAttribute="leading" constant="-65" id="gVd-bb-J05"/>
  128. <constraint firstItem="9xf-7v-idZ" firstAttribute="centerY" secondItem="mTf-xy-7yB" secondAttribute="centerY" constant="-10" id="px6-Fs-vHH"/>
  129. <constraint firstItem="Jp0-NQ-Vyt" firstAttribute="height" secondItem="Yao-Yh-vrA" secondAttribute="height" id="xRy-PB-3fW"/>
  130. </constraints>
  131. </view>
  132. </subviews>
  133. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  134. <constraints>
  135. <constraint firstItem="gFe-hG-bnb" firstAttribute="width" secondItem="QdH-sN-dPC" secondAttribute="width" multiplier="0.8" id="3sr-Em-9fl"/>
  136. <constraint firstItem="NFc-Wz-lxs" firstAttribute="width" secondItem="QdH-sN-dPC" secondAttribute="width" id="4ku-3p-iZa"/>
  137. <constraint firstItem="Euv-EZ-qxZ" firstAttribute="top" secondItem="sRm-OV-rJh" secondAttribute="bottom" id="5Cv-ed-NpM"/>
  138. <constraint firstItem="Euv-EZ-qxZ" firstAttribute="width" secondItem="QdH-sN-dPC" secondAttribute="width" id="6ka-Bz-O2x"/>
  139. <constraint firstItem="Euv-EZ-qxZ" firstAttribute="centerX" secondItem="QdH-sN-dPC" secondAttribute="centerX" id="8Vh-qH-iG6"/>
  140. <constraint firstItem="hnw-fE-DOv" firstAttribute="top" secondItem="QdH-sN-dPC" secondAttribute="top" id="CYZ-Rn-KxF"/>
  141. <constraint firstItem="sRm-OV-rJh" firstAttribute="centerX" secondItem="QdH-sN-dPC" secondAttribute="centerX" id="HAX-fQ-YdB"/>
  142. <constraint firstItem="hU0-PZ-Ueu" firstAttribute="top" secondItem="QdH-sN-dPC" secondAttribute="top" constant="9" id="JOw-ko-ARs"/>
  143. <constraint firstItem="gFe-hG-bnb" firstAttribute="centerX" secondItem="QdH-sN-dPC" secondAttribute="centerX" id="MWx-67-mKa"/>
  144. <constraint firstItem="Yao-Yh-vrA" firstAttribute="width" secondItem="QdH-sN-dPC" secondAttribute="width" id="PTM-cV-8qO"/>
  145. <constraint firstItem="gFe-hG-bnb" firstAttribute="top" secondItem="Euv-EZ-qxZ" secondAttribute="bottom" id="Skf-ey-dTl"/>
  146. <constraint firstItem="sRm-OV-rJh" firstAttribute="top" secondItem="hU0-PZ-Ueu" secondAttribute="bottom" constant="9" id="TVi-jn-h7I"/>
  147. <constraint firstItem="hU0-PZ-Ueu" firstAttribute="leading" secondItem="QdH-sN-dPC" secondAttribute="leading" constant="15" id="XxN-pg-ptU"/>
  148. <constraint firstItem="NFc-Wz-lxs" firstAttribute="centerX" secondItem="QdH-sN-dPC" secondAttribute="centerX" id="Yn1-ie-Xlo"/>
  149. <constraint firstItem="Yao-Yh-vrA" firstAttribute="centerX" secondItem="QdH-sN-dPC" secondAttribute="centerX" id="eZi-i2-OAC"/>
  150. <constraint firstItem="NFc-Wz-lxs" firstAttribute="top" secondItem="gFe-hG-bnb" secondAttribute="bottom" id="l7i-En-hSV"/>
  151. <constraint firstAttribute="trailing" secondItem="hnw-fE-DOv" secondAttribute="trailing" id="rjq-xQ-ERK"/>
  152. <constraint firstAttribute="height" constant="322" id="stU-E7-nOQ"/>
  153. <constraint firstItem="sRm-OV-rJh" firstAttribute="width" secondItem="QdH-sN-dPC" secondAttribute="width" id="v6M-Ju-Add"/>
  154. <constraint firstItem="Yao-Yh-vrA" firstAttribute="top" secondItem="NFc-Wz-lxs" secondAttribute="bottom" id="ygU-ki-nP5"/>
  155. </constraints>
  156. </view>
  157. </subviews>
  158. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  159. <constraints>
  160. <constraint firstAttribute="bottom" secondItem="QdH-sN-dPC" secondAttribute="bottom" id="3N8-Fw-TMu"/>
  161. <constraint firstItem="QdH-sN-dPC" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="gf3-Me-xAV"/>
  162. <constraint firstItem="QdH-sN-dPC" firstAttribute="width" secondItem="iN0-l3-epB" secondAttribute="width" id="xH4-dM-5Cx"/>
  163. </constraints>
  164. <connections>
  165. <outlet property="GiftLayout" destination="OUo-53-ytq" id="umF-PM-7Wv"/>
  166. <outlet property="bgView" destination="QdH-sN-dPC" id="4Im-B0-NZw"/>
  167. <outlet property="bgViewHeight" destination="stU-E7-nOQ" id="zIZ-4v-aio"/>
  168. <outlet property="bottomMixBg" destination="Yao-Yh-vrA" id="I2D-oQ-dHz"/>
  169. <outlet property="coinScroll" destination="Jp0-NQ-Vyt" id="edk-cg-Gxq"/>
  170. <outlet property="continueSendBtn" destination="9xf-7v-idZ" id="b70-ex-zcj"/>
  171. <outlet property="giftCollectionView" destination="Euv-EZ-qxZ" id="cXO-7g-fqh"/>
  172. <outlet property="giftPage" destination="gFe-hG-bnb" id="9Sp-19-CPD"/>
  173. <outlet property="giftTitleL" destination="hU0-PZ-Ueu" id="R01-k3-TQS"/>
  174. <outlet property="sendBtn" destination="mTf-xy-7yB" id="O5R-8k-WDO"/>
  175. </connections>
  176. <point key="canvasLocation" x="140" y="154"/>
  177. </view>
  178. </objects>
  179. <resources>
  180. <image name="礼物-关闭.png" width="12" height="12"/>
  181. </resources>
  182. </document>