EverybodyLoveItem.xib 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  8. </dependencies>
  9. <objects>
  10. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  11. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  12. <view clipsSubviews="YES" contentMode="scaleToFill" id="0ob-Sz-Gve" customClass="EverybodyLoveItem" customModule="ADHTuanCan" customModuleProvider="target">
  13. <rect key="frame" x="0.0" y="0.0" width="192" height="248"/>
  14. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  15. <subviews>
  16. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="斜杆背景" translatesAutoresizingMaskIntoConstraints="NO" id="iMa-gS-Hlk">
  17. <rect key="frame" x="63" y="0.0" width="129" height="130"/>
  18. </imageView>
  19. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="分类菜品尺寸" translatesAutoresizingMaskIntoConstraints="NO" id="xtk-St-1d0">
  20. <rect key="frame" x="36" y="28" width="120" height="120"/>
  21. <constraints>
  22. <constraint firstAttribute="height" constant="120" id="MXh-u4-2qY"/>
  23. <constraint firstAttribute="width" constant="120" id="iH2-Qh-9j8"/>
  24. </constraints>
  25. <userDefinedRuntimeAttributes>
  26. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  27. <real key="value" value="60"/>
  28. </userDefinedRuntimeAttribute>
  29. </userDefinedRuntimeAttributes>
  30. </imageView>
  31. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="KIAN SENG-经典牛排套餐" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="pBr-Sd-iJg">
  32. <rect key="frame" x="16" y="153" width="160" height="38.333333333333343"/>
  33. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="16"/>
  34. <nil key="textColor"/>
  35. <nil key="highlightedColor"/>
  36. </label>
  37. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="gzx-Gl-ktw">
  38. <rect key="frame" x="132" y="218" width="60" height="30"/>
  39. <color key="backgroundColor" red="0.77647058820000003" green="0.1333333333" blue="0.13725490200000001" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
  40. <constraints>
  41. <constraint firstAttribute="width" constant="60" id="901-rI-JOh"/>
  42. <constraint firstAttribute="height" constant="30" id="kXU-Ce-15E"/>
  43. </constraints>
  44. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="12"/>
  45. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  46. <state key="normal" title="选规格">
  47. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  48. </state>
  49. </button>
  50. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="黄星星" translatesAutoresizingMaskIntoConstraints="NO" id="qlc-Cv-FMT">
  51. <rect key="frame" x="16" y="214" width="16" height="16"/>
  52. </imageView>
  53. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="3.8" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="GzW-4o-aM9">
  54. <rect key="frame" x="37" y="213.66666666666666" width="20.666666666666671" height="17"/>
  55. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  56. <color key="textColor" red="0.10980392160000001" green="0.18823529410000001" blue="0.30980392159999998" alpha="1" colorSpace="calibratedRGB"/>
  57. <nil key="highlightedColor"/>
  58. </label>
  59. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="¥14.00" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="tmS-kf-G6c">
  60. <rect key="frame" x="0.0" y="0.0" width="88" height="30"/>
  61. <color key="backgroundColor" red="0.17263859509999999" green="0.17280229929999999" blue="0.17780208589999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  62. <constraints>
  63. <constraint firstAttribute="width" relation="greaterThanOrEqual" constant="88" id="Vmh-WJ-wQq"/>
  64. <constraint firstAttribute="height" constant="30" id="lTm-Ix-hzZ"/>
  65. </constraints>
  66. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  67. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  68. <nil key="highlightedColor"/>
  69. </label>
  70. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="9JH-p8-Pnu">
  71. <rect key="frame" x="0.0" y="0.0" width="192" height="248"/>
  72. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  73. <connections>
  74. <action selector="touchUpAction:" destination="0ob-Sz-Gve" eventType="touchUpInside" id="SXe-bD-Fk7"/>
  75. </connections>
  76. </button>
  77. </subviews>
  78. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  79. <constraints>
  80. <constraint firstAttribute="bottom" secondItem="9JH-p8-Pnu" secondAttribute="bottom" id="8QD-RS-7mz"/>
  81. <constraint firstItem="tmS-kf-G6c" firstAttribute="leading" secondItem="0ob-Sz-Gve" secondAttribute="leading" id="94s-ur-09I"/>
  82. <constraint firstItem="qlc-Cv-FMT" firstAttribute="leading" secondItem="0ob-Sz-Gve" secondAttribute="leading" constant="16" id="Beu-tB-Vbv"/>
  83. <constraint firstAttribute="bottom" secondItem="gzx-Gl-ktw" secondAttribute="bottom" id="HK4-uY-1GW"/>
  84. <constraint firstItem="xtk-St-1d0" firstAttribute="top" secondItem="0ob-Sz-Gve" secondAttribute="top" constant="28" id="I9i-SM-n2g"/>
  85. <constraint firstItem="9JH-p8-Pnu" firstAttribute="leading" secondItem="0ob-Sz-Gve" secondAttribute="leading" id="Lh4-AA-gCd"/>
  86. <constraint firstItem="pBr-Sd-iJg" firstAttribute="top" secondItem="xtk-St-1d0" secondAttribute="bottom" constant="5" id="Lnu-S6-dEW"/>
  87. <constraint firstItem="9JH-p8-Pnu" firstAttribute="top" secondItem="0ob-Sz-Gve" secondAttribute="top" id="Lx5-dC-vAa"/>
  88. <constraint firstItem="pBr-Sd-iJg" firstAttribute="leading" secondItem="0ob-Sz-Gve" secondAttribute="leading" constant="16" id="Wyv-Gj-5pt"/>
  89. <constraint firstItem="tmS-kf-G6c" firstAttribute="top" secondItem="0ob-Sz-Gve" secondAttribute="top" id="Zsy-gl-8cL"/>
  90. <constraint firstItem="xtk-St-1d0" firstAttribute="centerX" secondItem="0ob-Sz-Gve" secondAttribute="centerX" id="a1a-Gj-DdZ"/>
  91. <constraint firstItem="GzW-4o-aM9" firstAttribute="centerY" secondItem="qlc-Cv-FMT" secondAttribute="centerY" id="aMC-be-72B"/>
  92. <constraint firstAttribute="bottom" secondItem="qlc-Cv-FMT" secondAttribute="bottom" constant="18" id="aQK-OL-7m2"/>
  93. <constraint firstAttribute="trailing" secondItem="iMa-gS-Hlk" secondAttribute="trailing" id="eES-hY-GNe"/>
  94. <constraint firstAttribute="trailing" secondItem="gzx-Gl-ktw" secondAttribute="trailing" id="lzD-Jk-RSp"/>
  95. <constraint firstItem="iMa-gS-Hlk" firstAttribute="top" secondItem="0ob-Sz-Gve" secondAttribute="top" id="o1R-T4-s2t"/>
  96. <constraint firstAttribute="trailing" secondItem="pBr-Sd-iJg" secondAttribute="trailing" constant="16" id="o8c-i5-bxC"/>
  97. <constraint firstAttribute="trailing" secondItem="9JH-p8-Pnu" secondAttribute="trailing" id="oC4-oy-Zse"/>
  98. <constraint firstItem="GzW-4o-aM9" firstAttribute="leading" secondItem="qlc-Cv-FMT" secondAttribute="trailing" constant="5" id="smR-ih-Bls"/>
  99. </constraints>
  100. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  101. <userDefinedRuntimeAttributes>
  102. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  103. <real key="value" value="16"/>
  104. </userDefinedRuntimeAttribute>
  105. </userDefinedRuntimeAttributes>
  106. <connections>
  107. <outlet property="foodImg" destination="xtk-St-1d0" id="gBn-Q5-3Rp"/>
  108. <outlet property="nameLab" destination="pBr-Sd-iJg" id="iAZ-br-V5c"/>
  109. <outlet property="priceLab" destination="tmS-kf-G6c" id="jgM-JZ-noT"/>
  110. <outlet property="rightBtn" destination="gzx-Gl-ktw" id="GFz-aU-fEm"/>
  111. <outlet property="scoreLab" destination="GzW-4o-aM9" id="awP-cv-blO"/>
  112. </connections>
  113. <point key="canvasLocation" x="439.69465648854958" y="-204.22535211267606"/>
  114. </view>
  115. </objects>
  116. <resources>
  117. <image name="分类菜品尺寸" width="100" height="100"/>
  118. <image name="斜杆背景" width="129" height="130"/>
  119. <image name="黄星星" width="16" height="16"/>
  120. </resources>
  121. </document>