YBVipHeader.xib 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="23504" 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="23506"/>
  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. <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="YBVipHeader">
  14. <rect key="frame" x="0.0" y="0.0" width="499" height="467"/>
  15. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  16. <subviews>
  17. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="fR2-c7-Zf7" userLabel="上半部">
  18. <rect key="frame" x="0.0" y="0.0" width="499" height="372.5"/>
  19. <subviews>
  20. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="会员-顶部.png" translatesAutoresizingMaskIntoConstraints="NO" id="mrr-90-u3p" userLabel="背景">
  21. <rect key="frame" x="0.0" y="0.0" width="499" height="372.5"/>
  22. </imageView>
  23. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="会员卡.png" translatesAutoresizingMaskIntoConstraints="NO" id="6ut-Yh-5L0" userLabel="卡片">
  24. <rect key="frame" x="26.5" y="117.5" width="446" height="186"/>
  25. <constraints>
  26. <constraint firstAttribute="width" secondItem="6ut-Yh-5L0" secondAttribute="height" multiplier="335:140" id="G81-fF-TvA"/>
  27. </constraints>
  28. </imageView>
  29. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="4Oa-9k-c6V" userLabel="头像">
  30. <rect key="frame" x="37.5" y="135" width="60" height="60"/>
  31. <constraints>
  32. <constraint firstAttribute="width" constant="60" id="RMO-6Q-Lyi"/>
  33. <constraint firstAttribute="height" constant="60" id="zUZ-KD-gR9"/>
  34. </constraints>
  35. <userDefinedRuntimeAttributes>
  36. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  37. <real key="value" value="30"/>
  38. </userDefinedRuntimeAttribute>
  39. </userDefinedRuntimeAttributes>
  40. </imageView>
  41. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="lbx-7L-URC" userLabel="昵称">
  42. <rect key="frame" x="114" y="143" width="47" height="22"/>
  43. <fontDescription key="fontDescription" type="boldSystem" pointSize="18"/>
  44. <nil key="textColor"/>
  45. <nil key="highlightedColor"/>
  46. </label>
  47. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="jiv-W0-o0A" userLabel="详情">
  48. <rect key="frame" x="114" y="171" width="29" height="14"/>
  49. <fontDescription key="fontDescription" type="system" pointSize="11"/>
  50. <color key="textColor" red="0.23921568627450979" green="0.23921568627450979" blue="0.23921568627450979" alpha="1" colorSpace="calibratedRGB"/>
  51. <nil key="highlightedColor"/>
  52. </label>
  53. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="会员用户享有平台尊贵特权" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="yvU-Z7-IKu" userLabel="介绍">
  54. <rect key="frame" x="37.5" y="267.5" width="155" height="16"/>
  55. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  56. <color key="textColor" red="0.61176470588235299" green="0.44705882352941173" blue="0.20784313725490194" alpha="1" colorSpace="calibratedRGB"/>
  57. <nil key="highlightedColor"/>
  58. </label>
  59. </subviews>
  60. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  61. <constraints>
  62. <constraint firstItem="6ut-Yh-5L0" firstAttribute="centerY" secondItem="mrr-90-u3p" secondAttribute="centerY" multiplier="1.13" id="6JZ-zW-Ik2"/>
  63. <constraint firstItem="4Oa-9k-c6V" firstAttribute="top" secondItem="6ut-Yh-5L0" secondAttribute="top" constant="17.5" id="GFh-XU-hRM"/>
  64. <constraint firstItem="lbx-7L-URC" firstAttribute="leading" secondItem="4Oa-9k-c6V" secondAttribute="trailing" constant="16.5" id="JFs-5m-pXS"/>
  65. <constraint firstItem="6ut-Yh-5L0" firstAttribute="centerX" secondItem="mrr-90-u3p" secondAttribute="centerX" id="MCl-N5-Nn9"/>
  66. <constraint firstItem="lbx-7L-URC" firstAttribute="bottom" secondItem="4Oa-9k-c6V" secondAttribute="centerY" multiplier="1.0009" id="MIR-h7-ze3"/>
  67. <constraint firstItem="mrr-90-u3p" firstAttribute="centerY" secondItem="fR2-c7-Zf7" secondAttribute="centerY" id="OBb-77-NG2"/>
  68. <constraint firstAttribute="width" secondItem="fR2-c7-Zf7" secondAttribute="height" multiplier="375:280" id="PZW-fI-DOR"/>
  69. <constraint firstItem="mrr-90-u3p" firstAttribute="width" secondItem="fR2-c7-Zf7" secondAttribute="width" id="QYG-34-rgV"/>
  70. <constraint firstItem="4Oa-9k-c6V" firstAttribute="leading" secondItem="6ut-Yh-5L0" secondAttribute="leading" constant="11" id="UlU-gs-u3g"/>
  71. <constraint firstItem="6ut-Yh-5L0" firstAttribute="width" secondItem="mrr-90-u3p" secondAttribute="width" multiplier="0.893" id="W4R-hC-32l"/>
  72. <constraint firstItem="jiv-W0-o0A" firstAttribute="leading" secondItem="lbx-7L-URC" secondAttribute="leading" id="XTj-0V-m58"/>
  73. <constraint firstItem="jiv-W0-o0A" firstAttribute="top" secondItem="lbx-7L-URC" secondAttribute="bottom" constant="6" id="ZNf-ZQ-tDX"/>
  74. <constraint firstItem="yvU-Z7-IKu" firstAttribute="leading" secondItem="4Oa-9k-c6V" secondAttribute="leading" id="eqT-gg-HzB"/>
  75. <constraint firstItem="mrr-90-u3p" firstAttribute="centerX" secondItem="fR2-c7-Zf7" secondAttribute="centerX" id="msg-6Q-PDE"/>
  76. <constraint firstItem="yvU-Z7-IKu" firstAttribute="bottom" secondItem="6ut-Yh-5L0" secondAttribute="bottom" constant="-20" id="op7-Wr-bR5"/>
  77. <constraint firstItem="mrr-90-u3p" firstAttribute="height" secondItem="fR2-c7-Zf7" secondAttribute="height" id="wXe-Je-DV5"/>
  78. </constraints>
  79. </view>
  80. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Dbc-YP-6nW" userLabel="下半部">
  81. <rect key="frame" x="0.0" y="372.5" width="499" height="94.5"/>
  82. <subviews>
  83. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="x0H-3b-4iG" userLabel="标题">
  84. <rect key="frame" x="0.0" y="34.5" width="499" height="60"/>
  85. <subviews>
  86. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="会员特权.png" translatesAutoresizingMaskIntoConstraints="NO" id="6x3-RO-YdO" userLabel="符号左边">
  87. <rect key="frame" x="199.5" y="25" width="20" height="10"/>
  88. <constraints>
  89. <constraint firstAttribute="height" constant="10" id="cTt-eR-VGm"/>
  90. </constraints>
  91. </imageView>
  92. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="会员特权.png" translatesAutoresizingMaskIntoConstraints="NO" id="OEO-rx-3EQ" userLabel="符号右边">
  93. <rect key="frame" x="279.5" y="25" width="20" height="10"/>
  94. <constraints>
  95. <constraint firstAttribute="height" constant="10" id="dme-Tu-HhE"/>
  96. </constraints>
  97. </imageView>
  98. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="会员特权" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="BeW-C7-Ssh">
  99. <rect key="frame" x="219.5" y="21" width="60" height="18"/>
  100. <fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
  101. <color key="textColor" red="0.69411764705882351" green="0.55686274509803924" blue="0.3529411764705882" alpha="1" colorSpace="calibratedRGB"/>
  102. <nil key="highlightedColor"/>
  103. </label>
  104. </subviews>
  105. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  106. <constraints>
  107. <constraint firstItem="6x3-RO-YdO" firstAttribute="centerY" secondItem="x0H-3b-4iG" secondAttribute="centerY" id="9JL-j0-ne3"/>
  108. <constraint firstItem="6x3-RO-YdO" firstAttribute="trailing" secondItem="BeW-C7-Ssh" secondAttribute="leading" id="BWv-Sf-sQJ"/>
  109. <constraint firstItem="BeW-C7-Ssh" firstAttribute="centerY" secondItem="x0H-3b-4iG" secondAttribute="centerY" id="Lph-jz-7ym"/>
  110. <constraint firstItem="BeW-C7-Ssh" firstAttribute="centerX" secondItem="x0H-3b-4iG" secondAttribute="centerX" id="hh2-5A-Ijn"/>
  111. <constraint firstItem="OEO-rx-3EQ" firstAttribute="centerY" secondItem="6x3-RO-YdO" secondAttribute="centerY" id="ltS-y1-gJx"/>
  112. <constraint firstItem="OEO-rx-3EQ" firstAttribute="leading" secondItem="BeW-C7-Ssh" secondAttribute="trailing" id="rJO-9v-OaD"/>
  113. <constraint firstAttribute="height" constant="60" id="ui9-Td-Hq2"/>
  114. </constraints>
  115. </view>
  116. </subviews>
  117. <color key="backgroundColor" red="0.96078431372549022" green="0.96078431372549022" blue="0.96078431372549022" alpha="1" colorSpace="calibratedRGB"/>
  118. <constraints>
  119. <constraint firstItem="x0H-3b-4iG" firstAttribute="width" secondItem="Dbc-YP-6nW" secondAttribute="width" id="bsc-hc-jDK"/>
  120. <constraint firstItem="x0H-3b-4iG" firstAttribute="centerX" secondItem="Dbc-YP-6nW" secondAttribute="centerX" id="c5i-n8-QUH"/>
  121. <constraint firstAttribute="bottom" secondItem="x0H-3b-4iG" secondAttribute="bottom" id="ua8-bP-gas"/>
  122. </constraints>
  123. </view>
  124. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="vEk-TF-mAh" userLabel="开通会员">
  125. <rect key="frame" x="117.5" y="354.5" width="264" height="36"/>
  126. <color key="backgroundColor" red="0.91764705879999997" green="0.2156862745" blue="0.49803921569999998" alpha="1" colorSpace="calibratedRGB"/>
  127. <constraints>
  128. <constraint firstAttribute="height" constant="36" id="YzI-eO-wA3"/>
  129. </constraints>
  130. <fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
  131. <state key="normal" title="Button">
  132. <color key="titleColor" red="0.5490196078431373" green="0.41176470588235292" blue="0.21176470588235294" alpha="1" colorSpace="calibratedRGB"/>
  133. </state>
  134. <userDefinedRuntimeAttributes>
  135. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  136. <real key="value" value="18"/>
  137. </userDefinedRuntimeAttribute>
  138. </userDefinedRuntimeAttributes>
  139. <connections>
  140. <action selector="clickBuyVipBtn:" destination="iN0-l3-epB" eventType="touchUpInside" id="oe5-tL-Lrz"/>
  141. </connections>
  142. </button>
  143. </subviews>
  144. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  145. <constraints>
  146. <constraint firstItem="fR2-c7-Zf7" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="1FU-RR-0Qd"/>
  147. <constraint firstItem="Dbc-YP-6nW" firstAttribute="top" secondItem="fR2-c7-Zf7" secondAttribute="bottom" id="C57-VI-DR1"/>
  148. <constraint firstItem="vEk-TF-mAh" firstAttribute="width" secondItem="iN0-l3-epB" secondAttribute="width" multiplier="0.53" id="GIM-Cm-wZx"/>
  149. <constraint firstItem="fR2-c7-Zf7" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="Hx3-G4-hwB"/>
  150. <constraint firstAttribute="bottom" secondItem="Dbc-YP-6nW" secondAttribute="bottom" id="NOP-Tf-arI"/>
  151. <constraint firstItem="vEk-TF-mAh" firstAttribute="centerY" secondItem="fR2-c7-Zf7" secondAttribute="bottom" id="TNG-mc-Ar4"/>
  152. <constraint firstItem="vEk-TF-mAh" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="WU7-pw-mWF"/>
  153. <constraint firstItem="Dbc-YP-6nW" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="ZYI-KZ-7uC"/>
  154. <constraint firstItem="fR2-c7-Zf7" firstAttribute="width" secondItem="iN0-l3-epB" secondAttribute="width" id="ezK-Lx-zey"/>
  155. <constraint firstItem="Dbc-YP-6nW" firstAttribute="width" secondItem="iN0-l3-epB" secondAttribute="width" id="fPS-Ua-RkQ"/>
  156. </constraints>
  157. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  158. <connections>
  159. <outlet property="botTitleL" destination="BeW-C7-Ssh" id="BfR-0o-MYg"/>
  160. <outlet property="botTitleView" destination="x0H-3b-4iG" id="bjH-hZ-rd0"/>
  161. <outlet property="botView" destination="Dbc-YP-6nW" id="UoU-UP-dCl"/>
  162. <outlet property="buyVipBtn" destination="vEk-TF-mAh" id="uyf-Yy-Ghq"/>
  163. <outlet property="iconIV" destination="4Oa-9k-c6V" id="oEn-qY-b9S"/>
  164. <outlet property="nameL" destination="lbx-7L-URC" id="UsX-v6-Rlt"/>
  165. <outlet property="timeL" destination="jiv-W0-o0A" id="uLd-Nd-uEV"/>
  166. <outlet property="topDesL" destination="yvU-Z7-IKu" id="dww-UB-kkL"/>
  167. <outlet property="topView" destination="fR2-c7-Zf7" id="A8a-ti-Gv9"/>
  168. </connections>
  169. <point key="canvasLocation" x="301.60000000000002" y="294.60269865067471"/>
  170. </view>
  171. </objects>
  172. <resources>
  173. <image name="会员-顶部.png" width="750" height="560"/>
  174. <image name="会员卡.png" width="670" height="280"/>
  175. <image name="会员特权.png" width="20" height="20"/>
  176. <systemColor name="systemBackgroundColor">
  177. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  178. </systemColor>
  179. </resources>
  180. </document>