SingleMealDetailController.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="SingleMealDetailController" customModule="ADHTuanCan" customModuleProvider="target">
  12. <connections>
  13. <outlet property="addShopBtn" destination="mRh-a5-aKu" id="RhT-k8-iUO"/>
  14. <outlet property="attentionLab" destination="vzq-y9-PVi" id="1TR-El-gtL"/>
  15. <outlet property="bottonView" destination="L6x-in-qGa" id="Zr2-0C-OsR"/>
  16. <outlet property="priceLab" destination="XZR-uU-YvX" id="k6a-Pb-a8L"/>
  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="L6x-in-qGa">
  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="vzq-y9-PVi">
  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 firstItem="vzq-y9-PVi" firstAttribute="leading" secondItem="L6x-in-qGa" secondAttribute="leading" constant="25" id="LFp-my-f9N"/>
  38. <constraint firstItem="vzq-y9-PVi" firstAttribute="top" secondItem="L6x-in-qGa" secondAttribute="top" constant="5" id="NAl-Sf-uhK"/>
  39. <constraint firstAttribute="height" constant="48" id="qaN-rz-gRW"/>
  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="S7o-U1-UxR">
  48. <rect key="frame" x="0.0" y="776" width="393" height="76"/>
  49. <subviews>
  50. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="s$" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="JOD-zs-8y0">
  51. <rect key="frame" x="25" y="29.666666666666629" width="17.333333333333329" height="17"/>
  52. <fontDescription key="fontDescription" type="boldSystem" pointSize="14"/>
  53. <color key="textColor" red="0.77647058820000003" green="0.1333333333" blue="0.13725490200000001" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
  54. <nil key="highlightedColor"/>
  55. </label>
  56. <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="XZR-uU-YvX">
  57. <rect key="frame" x="42.333333333333343" y="20.333333333333371" width="53.666666666666657" height="31.333333333333329"/>
  58. <fontDescription key="fontDescription" type="system" pointSize="26"/>
  59. <color key="textColor" red="0.77647058820000003" green="0.1333333333" blue="0.13725490200000001" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
  60. <nil key="highlightedColor"/>
  61. </label>
  62. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="mRh-a5-aKu">
  63. <rect key="frame" x="252" y="14" width="116" height="48"/>
  64. <color key="backgroundColor" red="0.77647058820000003" green="0.1333333333" blue="0.13725490200000001" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
  65. <constraints>
  66. <constraint firstAttribute="height" constant="48" id="C30-1L-1Xn"/>
  67. <constraint firstAttribute="width" constant="116" id="sc0-fd-DME"/>
  68. </constraints>
  69. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="14"/>
  70. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  71. <state key="normal" title="加入购物车">
  72. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  73. </state>
  74. <userDefinedRuntimeAttributes>
  75. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  76. <real key="value" value="6"/>
  77. </userDefinedRuntimeAttribute>
  78. </userDefinedRuntimeAttributes>
  79. <connections>
  80. <action selector="addToShoppingcart:" destination="-1" eventType="touchUpInside" id="lfz-0B-8aw"/>
  81. </connections>
  82. </button>
  83. </subviews>
  84. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  85. <constraints>
  86. <constraint firstItem="XZR-uU-YvX" firstAttribute="bottom" secondItem="JOD-zs-8y0" secondAttribute="bottom" constant="5" id="8K9-yt-Tnr"/>
  87. <constraint firstAttribute="height" constant="76" id="JqV-6x-eVB"/>
  88. <constraint firstItem="mRh-a5-aKu" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="XZR-uU-YvX" secondAttribute="trailing" constant="5" id="Krr-A1-TKz"/>
  89. <constraint firstItem="JOD-zs-8y0" firstAttribute="leading" secondItem="S7o-U1-UxR" secondAttribute="leading" constant="25" id="Phr-YM-33L"/>
  90. <constraint firstItem="JOD-zs-8y0" firstAttribute="centerY" secondItem="S7o-U1-UxR" secondAttribute="centerY" id="Rzf-yy-28X"/>
  91. <constraint firstAttribute="trailing" secondItem="mRh-a5-aKu" secondAttribute="trailing" constant="25" id="SPD-2p-KaM"/>
  92. <constraint firstItem="mRh-a5-aKu" firstAttribute="centerY" secondItem="S7o-U1-UxR" secondAttribute="centerY" id="YHI-96-7I6"/>
  93. <constraint firstItem="XZR-uU-YvX" firstAttribute="leading" secondItem="JOD-zs-8y0" secondAttribute="trailing" id="zH9-Yl-gB8"/>
  94. </constraints>
  95. </view>
  96. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="vXf-He-GZp">
  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="cO3-4h-RLv"/>
  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 firstItem="S7o-U1-UxR" firstAttribute="top" secondItem="L6x-in-qGa" secondAttribute="bottom" constant="-24" id="BPf-P9-uzL"/>
  108. <constraint firstAttribute="trailing" secondItem="S7o-U1-UxR" secondAttribute="trailing" id="Eqq-4W-dqC"/>
  109. <constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="vXf-He-GZp" secondAttribute="trailing" id="FNJ-sz-wba"/>
  110. <constraint firstItem="vXf-He-GZp" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" id="LhU-cv-dLA"/>
  111. <constraint firstItem="L6x-in-qGa" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="Pt9-kE-gKz"/>
  112. <constraint firstItem="vXf-He-GZp" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="RO6-Hm-jTO"/>
  113. <constraint firstItem="S7o-U1-UxR" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="b0u-S0-zhU"/>
  114. <constraint firstAttribute="bottom" secondItem="S7o-U1-UxR" secondAttribute="bottom" id="t1r-Un-igl"/>
  115. <constraint firstAttribute="trailing" secondItem="L6x-in-qGa" secondAttribute="trailing" id="taI-8P-OPK"/>
  116. </constraints>
  117. <point key="canvasLocation" x="137" y="0.0"/>
  118. </view>
  119. </objects>
  120. </document>