HomeViewController.xib 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="22154" 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="22130"/>
  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="shopCar" destination="O1Y-3o-ckp" id="BfX-dw-L5Q"/>
  14. <outlet property="shopCarBotton" destination="PuN-47-nB6" id="TBE-pJ-Ede"/>
  15. <outlet property="shopCarPrice" destination="i9n-4q-pD9" id="j2W-ub-bdT"/>
  16. <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
  17. </connections>
  18. </placeholder>
  19. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  20. <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
  21. <rect key="frame" x="0.0" y="0.0" width="393" height="852"/>
  22. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  23. <subviews>
  24. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="O1Y-3o-ckp">
  25. <rect key="frame" x="0.0" y="788" width="393" height="64"/>
  26. <subviews>
  27. <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">
  28. <rect key="frame" x="100" y="21.666666666666629" width="20.666666666666671" height="21"/>
  29. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="18"/>
  30. <color key="textColor" red="0.10980392160000001" green="0.18823529410000001" blue="0.30980392159999998" alpha="1" colorSpace="calibratedRGB"/>
  31. <nil key="highlightedColor"/>
  32. </label>
  33. <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">
  34. <rect key="frame" x="120.66666666666667" y="21.666666666666629" width="37.666666666666671" height="21"/>
  35. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="18"/>
  36. <color key="textColor" red="0.10980392160000001" green="0.18823529410000001" blue="0.30980392159999998" alpha="1" colorSpace="calibratedRGB"/>
  37. <nil key="highlightedColor"/>
  38. </label>
  39. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="D3S-TK-8UW">
  40. <rect key="frame" x="248" y="8" width="120" height="48"/>
  41. <color key="backgroundColor" red="0.77647058820000003" green="0.1333333333" blue="0.13725490200000001" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
  42. <constraints>
  43. <constraint firstAttribute="width" constant="120" id="A7s-w1-a1Y"/>
  44. </constraints>
  45. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="16"/>
  46. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  47. <state key="normal" title="去结算">
  48. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  49. </state>
  50. <userDefinedRuntimeAttributes>
  51. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  52. <real key="value" value="6"/>
  53. </userDefinedRuntimeAttribute>
  54. </userDefinedRuntimeAttributes>
  55. <connections>
  56. <action selector="gotoShpCar:" destination="-1" eventType="touchUpInside" id="Yn9-yL-Zm4"/>
  57. </connections>
  58. </button>
  59. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="144-Jx-cpq">
  60. <rect key="frame" x="25" y="4.6666666666666288" width="55" height="55"/>
  61. <constraints>
  62. <constraint firstAttribute="width" constant="55" id="RuL-gz-g5h"/>
  63. <constraint firstAttribute="height" constant="55" id="lsn-58-Lk2"/>
  64. </constraints>
  65. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  66. <state key="normal" image="购物袋"/>
  67. <connections>
  68. <action selector="checkShopCar:" destination="-1" eventType="touchUpInside" id="iSM-DT-ifb"/>
  69. </connections>
  70. </button>
  71. </subviews>
  72. <color key="backgroundColor" red="0.92941176469999998" green="0.92941176469999998" blue="0.92941176469999998" alpha="1" colorSpace="calibratedRGB"/>
  73. <constraints>
  74. <constraint firstAttribute="bottom" secondItem="D3S-TK-8UW" secondAttribute="bottom" constant="8" id="07f-H0-pYi"/>
  75. <constraint firstAttribute="height" constant="64" id="DRC-g2-uao"/>
  76. <constraint firstItem="D3S-TK-8UW" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="i9n-4q-pD9" secondAttribute="trailing" id="F6F-eP-emT"/>
  77. <constraint firstItem="o53-H7-kj0" firstAttribute="leading" secondItem="144-Jx-cpq" secondAttribute="trailing" constant="20" id="WTb-2U-Xot"/>
  78. <constraint firstItem="i9n-4q-pD9" firstAttribute="centerY" secondItem="O1Y-3o-ckp" secondAttribute="centerY" id="Xg2-HP-Cgx"/>
  79. <constraint firstItem="144-Jx-cpq" firstAttribute="centerY" secondItem="o53-H7-kj0" secondAttribute="centerY" id="ewW-59-izB"/>
  80. <constraint firstItem="D3S-TK-8UW" firstAttribute="top" secondItem="O1Y-3o-ckp" secondAttribute="top" constant="8" id="ezb-b5-1YE"/>
  81. <constraint firstItem="o53-H7-kj0" firstAttribute="centerY" secondItem="O1Y-3o-ckp" secondAttribute="centerY" id="hId-w7-gXk"/>
  82. <constraint firstItem="D3S-TK-8UW" firstAttribute="centerY" secondItem="O1Y-3o-ckp" secondAttribute="centerY" id="hk2-qg-NZM"/>
  83. <constraint firstAttribute="trailing" secondItem="D3S-TK-8UW" secondAttribute="trailing" constant="25" id="kjr-C7-E4r"/>
  84. <constraint firstItem="i9n-4q-pD9" firstAttribute="leading" secondItem="o53-H7-kj0" secondAttribute="trailing" id="kvi-eP-M21"/>
  85. <constraint firstItem="144-Jx-cpq" firstAttribute="leading" secondItem="O1Y-3o-ckp" secondAttribute="leading" constant="25" id="nvs-GD-SQh"/>
  86. </constraints>
  87. </view>
  88. </subviews>
  89. <viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/>
  90. <color key="backgroundColor" red="0.92941176469999998" green="0.92941176469999998" blue="0.92941176469999998" alpha="1" colorSpace="calibratedRGB"/>
  91. <constraints>
  92. <constraint firstAttribute="bottom" secondItem="O1Y-3o-ckp" secondAttribute="bottom" id="PuN-47-nB6"/>
  93. <constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="O1Y-3o-ckp" secondAttribute="trailing" id="TjU-wh-qr4"/>
  94. <constraint firstItem="O1Y-3o-ckp" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="bfE-7g-mIl"/>
  95. </constraints>
  96. <point key="canvasLocation" x="116.79389312977099" y="20.422535211267608"/>
  97. </view>
  98. </objects>
  99. <resources>
  100. <image name="购物袋" width="500" height="500"/>
  101. </resources>
  102. </document>