RQPlaceBuyCell.xib 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina6_12" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21678"/>
  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. <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="KGk-i7-Jjw" customClass="RQPlaceBuyCell">
  14. <rect key="frame" x="0.0" y="0.0" width="320" height="88"/>
  15. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  16. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
  17. <rect key="frame" x="0.0" y="0.0" width="320" height="88"/>
  18. <autoresizingMask key="autoresizingMask"/>
  19. <subviews>
  20. <stackView opaque="NO" contentMode="scaleToFill" distribution="equalSpacing" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="wij-vo-gxc">
  21. <rect key="frame" x="16" y="8" width="265" height="20"/>
  22. <subviews>
  23. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="8YV-fE-ymf" customClass="QMUIButton">
  24. <rect key="frame" x="0.0" y="0.0" width="20" height="20"/>
  25. <constraints>
  26. <constraint firstAttribute="width" secondItem="8YV-fE-ymf" secondAttribute="height" id="HJp-0y-dnI"/>
  27. </constraints>
  28. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  29. <state key="normal" backgroundImage="服务协议-未选中"/>
  30. <state key="selected" backgroundImage="服务协议-选中"/>
  31. <connections>
  32. <action selector="userAgreeBtnAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="dxI-Qx-YNe"/>
  33. </connections>
  34. </button>
  35. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="开通前请阅读" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="dIP-Fe-aXT">
  36. <rect key="frame" x="28" y="0.0" width="98" height="20"/>
  37. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  38. <color key="textColor" red="0.36078431370000003" green="0.37647058820000001" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  39. <nil key="highlightedColor"/>
  40. </label>
  41. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="trailing" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="85t-Sj-Jzt" customClass="QMUIButton">
  42. <rect key="frame" x="134" y="0.0" width="131" height="20"/>
  43. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  44. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  45. <state key="normal" title="《用户服务协议》">
  46. <color key="titleColor" red="0.28627450980000002" green="0.5568627451" blue="0.96078431369999995" alpha="1" colorSpace="deviceRGB"/>
  47. </state>
  48. <connections>
  49. <action selector="userAgreementBtnAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="VDj-ez-Blf"/>
  50. </connections>
  51. </button>
  52. </subviews>
  53. <constraints>
  54. <constraint firstAttribute="height" constant="20" id="40V-Ic-gQD"/>
  55. </constraints>
  56. </stackView>
  57. <view hidden="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="I2r-ps-GpO">
  58. <rect key="frame" x="16" y="8" width="265" height="20"/>
  59. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  60. <constraints>
  61. <constraint firstAttribute="height" constant="20" id="3yS-A0-ErW"/>
  62. </constraints>
  63. </view>
  64. <button opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" selected="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="LcT-Jz-Ds7" customClass="QMUIButton">
  65. <rect key="frame" x="16" y="36" width="288" height="46.666666666666657"/>
  66. <constraints>
  67. <constraint firstAttribute="width" secondItem="LcT-Jz-Ds7" secondAttribute="height" multiplier="345/56" id="4qj-TK-5Sv"/>
  68. </constraints>
  69. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="19"/>
  70. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  71. <state key="normal" title="立即支付" backgroundImage="立即支付按钮背景"/>
  72. <state key="selected" title="已购买" image="已购买" backgroundImage="已购买按钮背景">
  73. <color key="titleColor" red="0.72156862745098038" green="0.20784313725490194" blue="0.039215686274509803" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  74. </state>
  75. <userDefinedRuntimeAttributes>
  76. <userDefinedRuntimeAttribute type="number" keyPath="spacingBetweenImageAndTitle">
  77. <real key="value" value="8"/>
  78. </userDefinedRuntimeAttribute>
  79. </userDefinedRuntimeAttributes>
  80. </button>
  81. </subviews>
  82. <constraints>
  83. <constraint firstItem="I2r-ps-GpO" firstAttribute="trailing" secondItem="wij-vo-gxc" secondAttribute="trailing" id="SE6-Z1-pPp"/>
  84. <constraint firstItem="LcT-Jz-Ds7" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="36" id="ThA-PI-BIC"/>
  85. <constraint firstItem="I2r-ps-GpO" firstAttribute="leading" secondItem="wij-vo-gxc" secondAttribute="leading" id="amj-G2-E3p"/>
  86. <constraint firstAttribute="trailing" secondItem="LcT-Jz-Ds7" secondAttribute="trailing" constant="16" id="cof-g4-YdC"/>
  87. <constraint firstItem="I2r-ps-GpO" firstAttribute="top" secondItem="wij-vo-gxc" secondAttribute="top" id="fdN-H4-WoQ"/>
  88. <constraint firstItem="LcT-Jz-Ds7" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="16" id="gPR-cI-zcu"/>
  89. <constraint firstItem="wij-vo-gxc" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="8" id="o65-wh-gjf"/>
  90. <constraint firstItem="wij-vo-gxc" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="16" id="tCb-LR-SnG"/>
  91. </constraints>
  92. </tableViewCellContentView>
  93. <connections>
  94. <outlet property="buyBtn" destination="LcT-Jz-Ds7" id="3qM-xr-bGL"/>
  95. <outlet property="coverView" destination="I2r-ps-GpO" id="7Cf-dv-3fa"/>
  96. <outlet property="userAgreeBtn" destination="8YV-fE-ymf" id="X9G-ms-9kH"/>
  97. <outlet property="userAgreementBtn" destination="85t-Sj-Jzt" id="yaq-j1-mrf"/>
  98. </connections>
  99. <point key="canvasLocation" x="-6.1068702290076331" y="41.549295774647888"/>
  100. </tableViewCell>
  101. </objects>
  102. <resources>
  103. <image name="已购买" width="20" height="20"/>
  104. <image name="已购买按钮背景" width="345" height="56"/>
  105. <image name="服务协议-未选中" width="18" height="18"/>
  106. <image name="服务协议-选中" width="18" height="18"/>
  107. <image name="立即支付按钮背景" width="345" height="56"/>
  108. <systemColor name="systemBackgroundColor">
  109. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  110. </systemColor>
  111. </resources>
  112. </document>