HomeViewController.xib 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="22505" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="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="22504"/>
  7. <capability name="Safe area layout guides" minToolsVersion="9.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" customClass="HomeViewController" customModule="ADHTuanCan" customModuleProvider="target">
  12. <connections>
  13. <outlet property="bottomY1" destination="hId-w7-gXk" id="l7w-Ci-Awo"/>
  14. <outlet property="bottomY2" destination="Xg2-HP-Cgx" id="0rB-6F-JMO"/>
  15. <outlet property="saleLab" destination="70E-mo-3C3" id="YbU-VO-84d"/>
  16. <outlet property="saleView" destination="in2-W8-B1e" id="KdB-BK-wu7"/>
  17. <outlet property="shopCar" destination="O1Y-3o-ckp" id="BfX-dw-L5Q"/>
  18. <outlet property="shopCarBotton" destination="PuN-47-nB6" id="TBE-pJ-Ede"/>
  19. <outlet property="shopCarPrice" destination="i9n-4q-pD9" id="j2W-ub-bdT"/>
  20. <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
  21. </connections>
  22. </placeholder>
  23. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  24. <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
  25. <rect key="frame" x="0.0" y="0.0" width="393" height="852"/>
  26. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  27. <subviews>
  28. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="O1Y-3o-ckp">
  29. <rect key="frame" x="0.0" y="788" width="393" height="64"/>
  30. <subviews>
  31. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="S$" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="o53-H7-kj0">
  32. <rect key="frame" x="100" y="11.666666666666629" width="22.666666666666671" height="21"/>
  33. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="18"/>
  34. <color key="textColor" red="0.10980392160000001" green="0.18823529410000001" blue="0.30980392159999998" alpha="1" colorSpace="calibratedRGB"/>
  35. <nil key="highlightedColor"/>
  36. </label>
  37. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0.00" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="i9n-4q-pD9">
  38. <rect key="frame" x="122.66666666666667" y="11.666666666666629" width="37.666666666666671" height="21"/>
  39. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="18"/>
  40. <color key="textColor" red="0.10980392160000001" green="0.18823529410000001" blue="0.30980392159999998" alpha="1" colorSpace="calibratedRGB"/>
  41. <nil key="highlightedColor"/>
  42. </label>
  43. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="D3S-TK-8UW">
  44. <rect key="frame" x="248" y="8" width="120" height="48"/>
  45. <color key="backgroundColor" red="0.77647058820000003" green="0.1333333333" blue="0.13725490200000001" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
  46. <constraints>
  47. <constraint firstAttribute="width" constant="120" id="A7s-w1-a1Y"/>
  48. </constraints>
  49. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="16"/>
  50. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  51. <state key="normal" title="去结算">
  52. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  53. </state>
  54. <userDefinedRuntimeAttributes>
  55. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  56. <real key="value" value="6"/>
  57. </userDefinedRuntimeAttribute>
  58. </userDefinedRuntimeAttributes>
  59. <connections>
  60. <action selector="gotoShpCar:" destination="-1" eventType="touchUpInside" id="Yn9-yL-Zm4"/>
  61. </connections>
  62. </button>
  63. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="144-Jx-cpq">
  64. <rect key="frame" x="25" y="4.6666666666666288" width="55" height="55"/>
  65. <constraints>
  66. <constraint firstAttribute="width" constant="55" id="RuL-gz-g5h"/>
  67. <constraint firstAttribute="height" constant="55" id="lsn-58-Lk2"/>
  68. </constraints>
  69. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  70. <state key="normal" image="购物袋"/>
  71. <connections>
  72. <action selector="checkShopCar:" destination="-1" eventType="touchUpInside" id="iSM-DT-ifb"/>
  73. </connections>
  74. </button>
  75. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="in2-W8-B1e">
  76. <rect key="frame" x="100" y="34.666666666666629" width="138" height="29.333333333333329"/>
  77. <subviews>
  78. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="已优惠S$988.00" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="70E-mo-3C3">
  79. <rect key="frame" x="0.0" y="2" width="109" height="17"/>
  80. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  81. <color key="textColor" red="0.10980392160000001" green="0.18823529410000001" blue="0.30980392159999998" alpha="1" colorSpace="calibratedRGB"/>
  82. <nil key="highlightedColor"/>
  83. </label>
  84. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="上箭头红" translatesAutoresizingMaskIntoConstraints="NO" id="ctw-no-PqW">
  85. <rect key="frame" x="109" y="0.33333333333337123" width="20" height="20"/>
  86. <constraints>
  87. <constraint firstAttribute="width" constant="20" id="A0f-uK-g8s"/>
  88. <constraint firstAttribute="height" constant="20" id="XdF-Xt-P1A"/>
  89. </constraints>
  90. </imageView>
  91. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Keo-mL-ftc">
  92. <rect key="frame" x="0.0" y="0.0" width="138" height="29.333333333333332"/>
  93. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  94. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  95. <connections>
  96. <action selector="checkSaleDetail:" destination="-1" eventType="touchUpInside" id="wOW-b9-dHh"/>
  97. </connections>
  98. </button>
  99. </subviews>
  100. <color key="backgroundColor" red="0.92941176469999998" green="0.92941176469999998" blue="0.92941176469999998" alpha="1" colorSpace="calibratedRGB"/>
  101. <constraints>
  102. <constraint firstItem="Keo-mL-ftc" firstAttribute="top" secondItem="in2-W8-B1e" secondAttribute="top" id="79U-Wr-EHe"/>
  103. <constraint firstItem="70E-mo-3C3" firstAttribute="top" secondItem="in2-W8-B1e" secondAttribute="top" constant="2" id="AcP-uq-Iad"/>
  104. <constraint firstItem="70E-mo-3C3" firstAttribute="leading" secondItem="in2-W8-B1e" secondAttribute="leading" id="Aoz-9c-P1g"/>
  105. <constraint firstAttribute="bottom" secondItem="Keo-mL-ftc" secondAttribute="bottom" id="O0b-ik-SEm"/>
  106. <constraint firstItem="ctw-no-PqW" firstAttribute="leading" secondItem="70E-mo-3C3" secondAttribute="trailing" id="Ryn-SH-H3l"/>
  107. <constraint firstItem="ctw-no-PqW" firstAttribute="centerY" secondItem="70E-mo-3C3" secondAttribute="centerY" id="VOY-mL-xlu"/>
  108. <constraint firstItem="Keo-mL-ftc" firstAttribute="leading" secondItem="in2-W8-B1e" secondAttribute="leading" id="fJK-vT-esN"/>
  109. <constraint firstAttribute="trailing" secondItem="Keo-mL-ftc" secondAttribute="trailing" id="jIk-LW-w4z"/>
  110. </constraints>
  111. </view>
  112. </subviews>
  113. <color key="backgroundColor" red="0.92941176469999998" green="0.92941176469999998" blue="0.92941176469999998" alpha="1" colorSpace="calibratedRGB"/>
  114. <constraints>
  115. <constraint firstAttribute="bottom" secondItem="D3S-TK-8UW" secondAttribute="bottom" constant="8" id="07f-H0-pYi"/>
  116. <constraint firstItem="in2-W8-B1e" firstAttribute="leading" secondItem="o53-H7-kj0" secondAttribute="leading" id="6DI-l3-MOe"/>
  117. <constraint firstItem="144-Jx-cpq" firstAttribute="centerY" secondItem="O1Y-3o-ckp" secondAttribute="centerY" id="7A6-2B-geT"/>
  118. <constraint firstAttribute="height" constant="64" id="DRC-g2-uao"/>
  119. <constraint firstItem="D3S-TK-8UW" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="i9n-4q-pD9" secondAttribute="trailing" id="F6F-eP-emT"/>
  120. <constraint firstItem="in2-W8-B1e" firstAttribute="top" secondItem="o53-H7-kj0" secondAttribute="bottom" constant="2" id="P9C-vG-OIU"/>
  121. <constraint firstItem="D3S-TK-8UW" firstAttribute="leading" secondItem="in2-W8-B1e" secondAttribute="trailing" constant="10" id="VUK-yJ-py6"/>
  122. <constraint firstItem="o53-H7-kj0" firstAttribute="leading" secondItem="144-Jx-cpq" secondAttribute="trailing" constant="20" id="WTb-2U-Xot"/>
  123. <constraint firstItem="i9n-4q-pD9" firstAttribute="centerY" secondItem="O1Y-3o-ckp" secondAttribute="centerY" constant="-10" id="Xg2-HP-Cgx"/>
  124. <constraint firstAttribute="bottom" secondItem="in2-W8-B1e" secondAttribute="bottom" id="amE-v5-Laf"/>
  125. <constraint firstItem="D3S-TK-8UW" firstAttribute="top" secondItem="O1Y-3o-ckp" secondAttribute="top" constant="8" id="ezb-b5-1YE"/>
  126. <constraint firstItem="o53-H7-kj0" firstAttribute="centerY" secondItem="O1Y-3o-ckp" secondAttribute="centerY" constant="-10" id="hId-w7-gXk"/>
  127. <constraint firstItem="D3S-TK-8UW" firstAttribute="centerY" secondItem="O1Y-3o-ckp" secondAttribute="centerY" id="hk2-qg-NZM"/>
  128. <constraint firstAttribute="trailing" secondItem="D3S-TK-8UW" secondAttribute="trailing" constant="25" id="kjr-C7-E4r"/>
  129. <constraint firstItem="i9n-4q-pD9" firstAttribute="leading" secondItem="o53-H7-kj0" secondAttribute="trailing" id="kvi-eP-M21"/>
  130. <constraint firstItem="144-Jx-cpq" firstAttribute="leading" secondItem="O1Y-3o-ckp" secondAttribute="leading" constant="25" id="nvs-GD-SQh"/>
  131. </constraints>
  132. </view>
  133. </subviews>
  134. <viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/>
  135. <color key="backgroundColor" red="0.92941176469999998" green="0.92941176469999998" blue="0.92941176469999998" alpha="1" colorSpace="calibratedRGB"/>
  136. <constraints>
  137. <constraint firstAttribute="bottom" secondItem="O1Y-3o-ckp" secondAttribute="bottom" id="PuN-47-nB6"/>
  138. <constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="O1Y-3o-ckp" secondAttribute="trailing" id="TjU-wh-qr4"/>
  139. <constraint firstItem="O1Y-3o-ckp" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="bfE-7g-mIl"/>
  140. </constraints>
  141. <point key="canvasLocation" x="116.79389312977099" y="20.422535211267608"/>
  142. </view>
  143. </objects>
  144. <resources>
  145. <image name="上箭头红" width="500" height="500"/>
  146. <image name="购物袋" width="500" height="500"/>
  147. </resources>
  148. </document>