SetMealDetailVC.xib 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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="SetMealDetailVC" customModule="ADHTuanCan" customModuleProvider="target">
  12. <connections>
  13. <outlet property="addShopBtn" destination="f4m-Zd-wUv" id="2xv-zn-2il"/>
  14. <outlet property="attentionLab" destination="Tr0-wf-Qps" id="syy-l7-U71"/>
  15. <outlet property="bottonView" destination="tXv-Cy-2RL" id="ZDl-WK-taw"/>
  16. <outlet property="priceLab" destination="x5V-5A-6Hn" id="Hpe-wa-j7z"/>
  17. <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
  18. </connections>
  19. </placeholder>
  20. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  21. <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
  22. <rect key="frame" x="0.0" y="0.0" width="393" height="852"/>
  23. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  24. <subviews>
  25. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="tXv-Cy-2RL">
  26. <rect key="frame" x="0.0" y="752" width="393" height="48"/>
  27. <subviews>
  28. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="请先勾选5种或7种点心" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Tr0-wf-Qps">
  29. <rect key="frame" x="25" y="5" width="145.33333333333334" height="17"/>
  30. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="14"/>
  31. <color key="textColor" red="0.77647058820000003" green="0.1333333333" blue="0.13725490200000001" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
  32. <nil key="highlightedColor"/>
  33. </label>
  34. </subviews>
  35. <color key="backgroundColor" red="0.92549019610000005" green="0.92549019610000005" blue="0.92549019610000005" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  36. <constraints>
  37. <constraint firstAttribute="height" constant="48" id="IKy-f4-gaB"/>
  38. <constraint firstItem="Tr0-wf-Qps" firstAttribute="top" secondItem="tXv-Cy-2RL" secondAttribute="top" constant="5" id="LAj-p9-Zf7"/>
  39. <constraint firstItem="Tr0-wf-Qps" firstAttribute="leading" secondItem="tXv-Cy-2RL" secondAttribute="leading" constant="25" id="hdo-kh-FFt"/>
  40. </constraints>
  41. <userDefinedRuntimeAttributes>
  42. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  43. <real key="value" value="24"/>
  44. </userDefinedRuntimeAttribute>
  45. </userDefinedRuntimeAttributes>
  46. </view>
  47. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="OfN-oU-L6s">
  48. <rect key="frame" x="0.0" y="776" width="393" height="76"/>
  49. <subviews>
  50. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="f4m-Zd-wUv">
  51. <rect key="frame" x="252" y="14" width="116" height="48"/>
  52. <color key="backgroundColor" red="0.77647058820000003" green="0.1333333333" blue="0.13725490200000001" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
  53. <constraints>
  54. <constraint firstAttribute="width" constant="116" id="5xw-dQ-So7"/>
  55. <constraint firstAttribute="height" constant="48" id="Xmq-P1-hKq"/>
  56. </constraints>
  57. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="14"/>
  58. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  59. <state key="normal" title="加入购物车">
  60. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  61. </state>
  62. <userDefinedRuntimeAttributes>
  63. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  64. <real key="value" value="6"/>
  65. </userDefinedRuntimeAttribute>
  66. </userDefinedRuntimeAttributes>
  67. <connections>
  68. <action selector="addShoppingAction:" destination="-1" eventType="touchUpInside" id="zUL-nH-lrO"/>
  69. </connections>
  70. </button>
  71. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="s$" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="eL2-QN-Pz3">
  72. <rect key="frame" x="25" y="29.666666666666629" width="17.333333333333329" height="17"/>
  73. <fontDescription key="fontDescription" type="boldSystem" pointSize="14"/>
  74. <color key="textColor" red="0.77647058820000003" green="0.1333333333" blue="0.13725490200000001" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
  75. <nil key="highlightedColor"/>
  76. </label>
  77. <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="x5V-5A-6Hn">
  78. <rect key="frame" x="42.333333333333343" y="20.333333333333371" width="53.666666666666657" height="31.333333333333329"/>
  79. <fontDescription key="fontDescription" type="system" pointSize="26"/>
  80. <color key="textColor" red="0.77647058820000003" green="0.1333333333" blue="0.13725490200000001" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
  81. <nil key="highlightedColor"/>
  82. </label>
  83. </subviews>
  84. <color key="backgroundColor" red="0.97647058819999999" green="0.97647058819999999" blue="0.97647058819999999" alpha="1" colorSpace="calibratedRGB"/>
  85. <constraints>
  86. <constraint firstItem="f4m-Zd-wUv" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="x5V-5A-6Hn" secondAttribute="trailing" constant="5" id="1kr-uh-XSm"/>
  87. <constraint firstItem="x5V-5A-6Hn" firstAttribute="leading" secondItem="eL2-QN-Pz3" secondAttribute="trailing" id="7Az-QQ-umz"/>
  88. <constraint firstAttribute="trailing" secondItem="f4m-Zd-wUv" secondAttribute="trailing" constant="25" id="BNl-c7-aDU"/>
  89. <constraint firstItem="f4m-Zd-wUv" firstAttribute="centerY" secondItem="OfN-oU-L6s" secondAttribute="centerY" id="Htr-0c-dRG"/>
  90. <constraint firstItem="eL2-QN-Pz3" firstAttribute="leading" secondItem="OfN-oU-L6s" secondAttribute="leading" constant="25" id="cUj-Q3-PTt"/>
  91. <constraint firstAttribute="height" constant="76" id="dzh-jW-sPo"/>
  92. <constraint firstItem="x5V-5A-6Hn" firstAttribute="bottom" secondItem="eL2-QN-Pz3" secondAttribute="bottom" constant="5" id="eP8-nX-zoy"/>
  93. <constraint firstItem="eL2-QN-Pz3" firstAttribute="centerY" secondItem="OfN-oU-L6s" secondAttribute="centerY" id="za7-Yy-S6Z"/>
  94. </constraints>
  95. </view>
  96. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Xf5-gS-tOB">
  97. <rect key="frame" x="0.0" y="0.0" width="393" height="300"/>
  98. <color key="backgroundColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.1333333333" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  99. <constraints>
  100. <constraint firstAttribute="height" constant="300" id="4IN-hC-KeN"/>
  101. </constraints>
  102. </view>
  103. </subviews>
  104. <viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/>
  105. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  106. <constraints>
  107. <constraint firstAttribute="bottom" secondItem="OfN-oU-L6s" secondAttribute="bottom" id="20H-0F-ZMf"/>
  108. <constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="OfN-oU-L6s" secondAttribute="trailing" id="67R-QR-CZ7"/>
  109. <constraint firstItem="tXv-Cy-2RL" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="7Xk-g3-RiN"/>
  110. <constraint firstItem="OfN-oU-L6s" firstAttribute="top" secondItem="tXv-Cy-2RL" secondAttribute="bottom" constant="-24" id="AGJ-fR-B15"/>
  111. <constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="Xf5-gS-tOB" secondAttribute="trailing" id="Cr9-OB-Khw"/>
  112. <constraint firstItem="Xf5-gS-tOB" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="I0h-af-EZo"/>
  113. <constraint firstItem="Xf5-gS-tOB" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" id="Q1O-MW-XpU"/>
  114. <constraint firstItem="OfN-oU-L6s" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="s33-WZ-3k1"/>
  115. <constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="tXv-Cy-2RL" secondAttribute="trailing" id="t3V-4J-aay"/>
  116. </constraints>
  117. <point key="canvasLocation" x="158" y="14"/>
  118. </view>
  119. </objects>
  120. </document>