HomeSecondViewController.xib 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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="HomeSecondViewController" customModule="ADHTuanCan" customModuleProvider="target">
  12. <connections>
  13. <outlet property="shopCar" destination="QFk-9B-0gS" id="WeA-oH-OEH"/>
  14. <outlet property="shopCarBotton" destination="un3-cz-P8S" id="OPc-gT-pXs"/>
  15. <outlet property="shopCarPrice" destination="azU-lM-pSQ" id="xBC-RY-DMD"/>
  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="QFk-9B-0gS">
  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="KgJ-Jf-GVV">
  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="azU-lM-pSQ">
  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="Xaj-Y7-V3n">
  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="qgB-aA-ty5"/>
  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="IQM-fd-FzK"/>
  57. </connections>
  58. </button>
  59. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="X9R-lL-0Iw">
  60. <rect key="frame" x="25" y="4.6666666666666288" width="55" height="55"/>
  61. <constraints>
  62. <constraint firstAttribute="width" constant="55" id="3cg-7F-yKu"/>
  63. <constraint firstAttribute="height" constant="55" id="7MN-8A-xUt"/>
  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="pjX-DH-Y0Z"/>
  69. </connections>
  70. </button>
  71. </subviews>
  72. <viewLayoutGuide key="safeArea" id="0dm-hr-10C"/>
  73. <color key="backgroundColor" red="0.92941176469999998" green="0.92941176469999998" blue="0.92941176469999998" alpha="1" colorSpace="calibratedRGB"/>
  74. <constraints>
  75. <constraint firstItem="Xaj-Y7-V3n" firstAttribute="centerY" secondItem="QFk-9B-0gS" secondAttribute="centerY" id="7f3-Sz-CBq"/>
  76. <constraint firstItem="X9R-lL-0Iw" firstAttribute="centerY" secondItem="KgJ-Jf-GVV" secondAttribute="centerY" id="C3g-V8-U9f"/>
  77. <constraint firstItem="azU-lM-pSQ" firstAttribute="leading" secondItem="KgJ-Jf-GVV" secondAttribute="trailing" id="JQl-xs-bte"/>
  78. <constraint firstItem="azU-lM-pSQ" firstAttribute="centerY" secondItem="QFk-9B-0gS" secondAttribute="centerY" id="LEb-zX-KaJ"/>
  79. <constraint firstAttribute="bottom" secondItem="Xaj-Y7-V3n" secondAttribute="bottom" constant="8" id="RYM-BH-rr0"/>
  80. <constraint firstItem="KgJ-Jf-GVV" firstAttribute="leading" secondItem="X9R-lL-0Iw" secondAttribute="trailing" constant="20" id="TNe-Jz-ess"/>
  81. <constraint firstItem="KgJ-Jf-GVV" firstAttribute="centerY" secondItem="QFk-9B-0gS" secondAttribute="centerY" id="XhT-gW-ILu"/>
  82. <constraint firstItem="X9R-lL-0Iw" firstAttribute="leading" secondItem="QFk-9B-0gS" secondAttribute="leading" constant="25" id="Ze3-mu-EOn"/>
  83. <constraint firstItem="Xaj-Y7-V3n" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="azU-lM-pSQ" secondAttribute="trailing" id="pIt-WW-7ry"/>
  84. <constraint firstItem="Xaj-Y7-V3n" firstAttribute="top" secondItem="QFk-9B-0gS" secondAttribute="top" constant="8" id="sJT-m4-s5e"/>
  85. <constraint firstAttribute="trailing" secondItem="Xaj-Y7-V3n" secondAttribute="trailing" constant="25" id="sdq-rC-lT3"/>
  86. <constraint firstAttribute="height" constant="64" id="wJL-7W-2lp"/>
  87. </constraints>
  88. </view>
  89. </subviews>
  90. <viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/>
  91. <color key="backgroundColor" red="0.92941176469999998" green="0.92941176469999998" blue="0.92941176469999998" alpha="1" colorSpace="calibratedRGB"/>
  92. <constraints>
  93. <constraint firstItem="QFk-9B-0gS" firstAttribute="trailing" secondItem="fnl-2z-Ty3" secondAttribute="trailing" id="un3-cz-P8S"/>
  94. <constraint firstItem="QFk-9B-0gS" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="xhK-bP-FSA"/>
  95. <constraint firstAttribute="bottom" secondItem="QFk-9B-0gS" secondAttribute="bottom" id="zRh-uf-4l2"/>
  96. </constraints>
  97. <point key="canvasLocation" x="72" y="0.0"/>
  98. </view>
  99. </objects>
  100. <resources>
  101. <image name="购物袋" width="500" height="500"/>
  102. </resources>
  103. </document>