MealHeadView.xib 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  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="System colors in document resources" minToolsVersion="11.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"/>
  12. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  13. <view contentMode="scaleToFill" id="JqI-4Y-l7F" customClass="MealHeadView" customModule="ADHTuanCan" customModuleProvider="target">
  14. <rect key="frame" x="0.0" y="0.0" width="366" height="476"/>
  15. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  16. <subviews>
  17. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Wif-ly-xQG">
  18. <rect key="frame" x="0.0" y="0.0" width="366" height="200"/>
  19. <color key="backgroundColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.1333333333" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  20. <constraints>
  21. <constraint firstAttribute="height" constant="200" id="HJd-cl-qSw"/>
  22. </constraints>
  23. </view>
  24. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="J8c-GB-QAE">
  25. <rect key="frame" x="0.0" y="176" width="366" height="300"/>
  26. <subviews>
  27. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="KIAN SENG随心搭配点心套餐" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="uw2-05-dfa">
  28. <rect key="frame" x="24" y="155" width="266" height="24"/>
  29. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="20"/>
  30. <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.1333333333" alpha="1" colorSpace="calibratedRGB"/>
  31. <nil key="highlightedColor"/>
  32. </label>
  33. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" text="随心搭配5种15元,随心搭配7种18元" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="F3H-9m-Sh0">
  34. <rect key="frame" x="25" y="184" width="316" height="14.666666666666657"/>
  35. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  36. <color key="textColor" red="0.54901960780000003" green="0.58039215690000001" blue="0.69019607839999997" alpha="1" colorSpace="calibratedRGB"/>
  37. <nil key="highlightedColor"/>
  38. </label>
  39. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="fire" translatesAutoresizingMaskIntoConstraints="NO" id="z9e-bM-Eka">
  40. <rect key="frame" x="25" y="203.66666666666669" width="16" height="16"/>
  41. </imageView>
  42. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="门店销冠 3329人吃过" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="FFc-R6-Pa4">
  43. <rect key="frame" x="41.000000000000007" y="205" width="109.66666666666669" height="13.333333333333343"/>
  44. <fontDescription key="fontDescription" type="system" pointSize="11"/>
  45. <color key="textColor" red="0.77647058820000003" green="0.1333333333" blue="0.13725490200000001" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
  46. <nil key="highlightedColor"/>
  47. </label>
  48. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="4.7" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ato-6S-9j3">
  49. <rect key="frame" x="321" y="203" width="20" height="17"/>
  50. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  51. <color key="textColor" red="0.54901960780000003" green="0.58039215690000001" blue="0.69019607839999997" alpha="1" colorSpace="calibratedRGB"/>
  52. <nil key="highlightedColor"/>
  53. </label>
  54. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="黄星星" translatesAutoresizingMaskIntoConstraints="NO" id="Zzv-Ej-kST">
  55. <rect key="frame" x="305" y="203.66666666666669" width="16" height="16"/>
  56. </imageView>
  57. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="pPt-eg-Kdl">
  58. <rect key="frame" x="25" y="229.66666666666669" width="70" height="20"/>
  59. <constraints>
  60. <constraint firstAttribute="height" constant="20" id="SZr-nK-EkW"/>
  61. <constraint firstAttribute="width" constant="70" id="xMC-Rd-ysx"/>
  62. </constraints>
  63. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="17"/>
  64. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  65. <state key="normal" title="详情">
  66. <color key="titleColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  67. </state>
  68. </button>
  69. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Iex-Fr-dFY">
  70. <rect key="frame" x="30" y="254.66666666666669" width="60" height="2.3333333333333144"/>
  71. <color key="backgroundColor" red="0.77647058820000003" green="0.1333333333" blue="0.13725490200000001" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
  72. <constraints>
  73. <constraint firstAttribute="height" constant="2.5" id="BcX-AD-fVG"/>
  74. <constraint firstAttribute="width" constant="60" id="cig-SX-wc6"/>
  75. </constraints>
  76. </view>
  77. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ze7-HR-4JQ">
  78. <rect key="frame" x="105" y="223" width="70" height="33"/>
  79. <constraints>
  80. <constraint firstAttribute="width" constant="70" id="epd-FB-zNp"/>
  81. </constraints>
  82. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="17"/>
  83. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  84. <state key="normal" title="评价">
  85. <color key="titleColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  86. </state>
  87. <connections>
  88. <action selector="evaluateAction:" destination="JqI-4Y-l7F" eventType="touchUpInside" id="mBY-vm-vK6"/>
  89. </connections>
  90. </button>
  91. </subviews>
  92. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  93. <constraints>
  94. <constraint firstItem="ato-6S-9j3" firstAttribute="leading" secondItem="Zzv-Ej-kST" secondAttribute="trailing" id="2ap-79-8HJ"/>
  95. <constraint firstItem="ze7-HR-4JQ" firstAttribute="height" secondItem="pPt-eg-Kdl" secondAttribute="height" multiplier="1.65" id="3CX-6Q-NEW"/>
  96. <constraint firstItem="pPt-eg-Kdl" firstAttribute="leading" secondItem="J8c-GB-QAE" secondAttribute="leading" constant="25" id="Dg5-xs-jOe"/>
  97. <constraint firstItem="z9e-bM-Eka" firstAttribute="leading" secondItem="J8c-GB-QAE" secondAttribute="leading" constant="25" id="FyE-BL-eJg"/>
  98. <constraint firstItem="z9e-bM-Eka" firstAttribute="top" secondItem="F3H-9m-Sh0" secondAttribute="bottom" constant="5" id="HLa-Ef-oEK"/>
  99. <constraint firstAttribute="trailing" secondItem="ato-6S-9j3" secondAttribute="trailing" constant="25" id="HfN-tD-PMQ"/>
  100. <constraint firstItem="FFc-R6-Pa4" firstAttribute="centerY" secondItem="z9e-bM-Eka" secondAttribute="centerY" id="Lai-m8-Tiw"/>
  101. <constraint firstItem="F3H-9m-Sh0" firstAttribute="top" secondItem="uw2-05-dfa" secondAttribute="bottom" constant="5" id="LcR-Mc-wdJ"/>
  102. <constraint firstItem="pPt-eg-Kdl" firstAttribute="top" secondItem="z9e-bM-Eka" secondAttribute="bottom" constant="10" id="MEL-Qd-9RK"/>
  103. <constraint firstItem="uw2-05-dfa" firstAttribute="leading" secondItem="J8c-GB-QAE" secondAttribute="leading" constant="24" id="O3j-Ja-OPS"/>
  104. <constraint firstItem="F3H-9m-Sh0" firstAttribute="leading" secondItem="J8c-GB-QAE" secondAttribute="leading" constant="25" id="Qmf-Da-jbb"/>
  105. <constraint firstAttribute="trailing" secondItem="F3H-9m-Sh0" secondAttribute="trailing" constant="25" id="VNu-KQ-zuB"/>
  106. <constraint firstItem="ze7-HR-4JQ" firstAttribute="leading" secondItem="pPt-eg-Kdl" secondAttribute="trailing" constant="10" id="VRr-0g-ZLS"/>
  107. <constraint firstItem="Iex-Fr-dFY" firstAttribute="top" secondItem="pPt-eg-Kdl" secondAttribute="bottom" constant="5" id="YYz-Jp-pdZ"/>
  108. <constraint firstItem="Zzv-Ej-kST" firstAttribute="centerY" secondItem="ato-6S-9j3" secondAttribute="centerY" id="eS8-DI-IYi"/>
  109. <constraint firstAttribute="bottom" secondItem="Iex-Fr-dFY" secondAttribute="bottom" constant="43" id="eXx-ER-Dmt"/>
  110. <constraint firstItem="Iex-Fr-dFY" firstAttribute="centerX" secondItem="pPt-eg-Kdl" secondAttribute="centerX" id="f4l-rV-P3M"/>
  111. <constraint firstItem="FFc-R6-Pa4" firstAttribute="leading" secondItem="z9e-bM-Eka" secondAttribute="trailing" id="hGB-Sk-hlB"/>
  112. <constraint firstItem="ato-6S-9j3" firstAttribute="centerY" secondItem="FFc-R6-Pa4" secondAttribute="centerY" id="jaN-Vw-Kge"/>
  113. <constraint firstItem="uw2-05-dfa" firstAttribute="top" secondItem="J8c-GB-QAE" secondAttribute="top" constant="155" id="jjN-tz-9Ee"/>
  114. <constraint firstItem="ze7-HR-4JQ" firstAttribute="centerY" secondItem="pPt-eg-Kdl" secondAttribute="centerY" id="rHw-Mr-2EL"/>
  115. </constraints>
  116. <userDefinedRuntimeAttributes>
  117. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  118. <real key="value" value="24"/>
  119. </userDefinedRuntimeAttribute>
  120. </userDefinedRuntimeAttributes>
  121. </view>
  122. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="分类菜品尺寸" translatesAutoresizingMaskIntoConstraints="NO" id="HLU-We-ajz">
  123. <rect key="frame" x="53" y="46" width="260" height="260"/>
  124. <constraints>
  125. <constraint firstAttribute="height" constant="260" id="OFh-D4-TFY"/>
  126. <constraint firstAttribute="width" constant="260" id="k31-mr-ikp"/>
  127. </constraints>
  128. <userDefinedRuntimeAttributes>
  129. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  130. <real key="value" value="130"/>
  131. </userDefinedRuntimeAttribute>
  132. </userDefinedRuntimeAttributes>
  133. </imageView>
  134. </subviews>
  135. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  136. <constraints>
  137. <constraint firstAttribute="bottom" secondItem="J8c-GB-QAE" secondAttribute="bottom" id="2eU-LJ-zNq"/>
  138. <constraint firstAttribute="trailing" secondItem="Wif-ly-xQG" secondAttribute="trailing" id="DPY-GB-j10"/>
  139. <constraint firstItem="J8c-GB-QAE" firstAttribute="leading" secondItem="JqI-4Y-l7F" secondAttribute="leading" id="GJl-ft-tyZ"/>
  140. <constraint firstItem="Wif-ly-xQG" firstAttribute="top" secondItem="JqI-4Y-l7F" secondAttribute="top" id="Jlx-vg-lHP"/>
  141. <constraint firstItem="J8c-GB-QAE" firstAttribute="top" secondItem="Wif-ly-xQG" secondAttribute="bottom" constant="-24" id="KAh-gv-TGr"/>
  142. <constraint firstItem="HLU-We-ajz" firstAttribute="centerX" secondItem="JqI-4Y-l7F" secondAttribute="centerX" id="QPm-Nn-nNy"/>
  143. <constraint firstItem="HLU-We-ajz" firstAttribute="centerY" secondItem="J8c-GB-QAE" secondAttribute="top" id="RJg-cR-sH8"/>
  144. <constraint firstItem="Wif-ly-xQG" firstAttribute="leading" secondItem="JqI-4Y-l7F" secondAttribute="leading" id="e6q-Pd-rcy"/>
  145. <constraint firstAttribute="trailing" secondItem="J8c-GB-QAE" secondAttribute="trailing" id="eI6-ef-TRT"/>
  146. </constraints>
  147. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  148. <connections>
  149. <outlet property="describLab" destination="F3H-9m-Sh0" id="7u3-lD-LyR"/>
  150. <outlet property="foodImg" destination="HLU-We-ajz" id="esT-XC-3Uq"/>
  151. <outlet property="nameLab" destination="uw2-05-dfa" id="HJ2-nK-ZBD"/>
  152. <outlet property="scoreLab" destination="ato-6S-9j3" id="53m-WD-SWT"/>
  153. <outlet property="sellDetailLab" destination="FFc-R6-Pa4" id="BS6-Pe-nra"/>
  154. </connections>
  155. <point key="canvasLocation" x="126.71755725190839" y="-129.57746478873241"/>
  156. </view>
  157. </objects>
  158. <resources>
  159. <image name="fire" width="16" height="16"/>
  160. <image name="分类菜品尺寸" width="100" height="100"/>
  161. <image name="黄星星" width="16" height="16"/>
  162. <systemColor name="systemBackgroundColor">
  163. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  164. </systemColor>
  165. </resources>
  166. </document>