123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- <?xml version="1.0" encoding="UTF-8"?>
- <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">
- <device id="retina6_12" orientation="portrait" appearance="light"/>
- <dependencies>
- <deployment identifier="iOS"/>
- <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22130"/>
- <capability name="Safe area layout guides" minToolsVersion="9.0"/>
- <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
- </dependencies>
- <objects>
- <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
- <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
- <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" id="gTV-IL-0wX" customClass="HomeFoodItem" customModule="ADHTuanCan" customModuleProvider="target">
- <rect key="frame" x="0.0" y="0.0" width="164" height="223"/>
- <autoresizingMask key="autoresizingMask"/>
- <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
- <rect key="frame" x="0.0" y="0.0" width="164" height="223"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <subviews>
- <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="U2u-46-ylv">
- <rect key="frame" x="0.0" y="0.0" width="164" height="223"/>
- <subviews>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="海鲜套餐" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vbK-nw-OZ9">
- <rect key="frame" x="12.000000000000004" y="162.33333333333334" width="57.333333333333343" height="17"/>
- <fontDescription key="fontDescription" type="system" weight="medium" pointSize="14"/>
- <color key="textColor" red="0.10980392160000001" green="0.18823529410000001" blue="0.30980392159999998" alpha="1" colorSpace="calibratedRGB"/>
- <nil key="highlightedColor"/>
- </label>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="s$ 29.00" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="i1Z-vb-kIT">
- <rect key="frame" x="12" y="187.33333333333334" width="65.666666666666671" height="19.333333333333343"/>
- <fontDescription key="fontDescription" type="system" weight="medium" pointSize="16"/>
- <color key="textColor" red="0.77647058820000003" green="0.1333333333" blue="0.13725490200000001" alpha="1" colorSpace="calibratedRGB"/>
- <nil key="highlightedColor"/>
- </label>
- <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="bia-Xw-5r2">
- <rect key="frame" x="92" y="185" width="60" height="24"/>
- <color key="backgroundColor" red="0.77647058820000003" green="0.1333333333" blue="0.13725490200000001" alpha="1" colorSpace="calibratedRGB"/>
- <constraints>
- <constraint firstAttribute="height" constant="24" id="AaE-Ww-irG"/>
- <constraint firstAttribute="width" constant="60" id="Rqh-FO-ebV"/>
- </constraints>
- <fontDescription key="fontDescription" type="system" weight="medium" pointSize="12"/>
- <inset key="contentEdgeInsets" minX="5" minY="0.0" maxX="5" maxY="0.0"/>
- <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
- <state key="normal" title="选规格"/>
- <userDefinedRuntimeAttributes>
- <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
- <real key="value" value="2"/>
- </userDefinedRuntimeAttribute>
- </userDefinedRuntimeAttributes>
- </button>
- <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="分类菜品尺寸" translatesAutoresizingMaskIntoConstraints="NO" id="ijZ-6a-yaD">
- <rect key="frame" x="32" y="20" width="100" height="100"/>
- <constraints>
- <constraint firstAttribute="height" constant="100" id="UWY-X8-T3R"/>
- <constraint firstAttribute="width" constant="100" id="z9m-kW-O6a"/>
- </constraints>
- <userDefinedRuntimeAttributes>
- <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
- <real key="value" value="50"/>
- </userDefinedRuntimeAttribute>
- </userDefinedRuntimeAttributes>
- </imageView>
- </subviews>
- <color key="backgroundColor" red="0.98039215690000003" green="0.97254901959999995" blue="0.96862745100000003" alpha="1" colorSpace="calibratedRGB"/>
- <constraints>
- <constraint firstItem="bia-Xw-5r2" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="i1Z-vb-kIT" secondAttribute="trailing" constant="8" symbolic="YES" id="8Zv-wW-eEd"/>
- <constraint firstItem="i1Z-vb-kIT" firstAttribute="leading" secondItem="U2u-46-ylv" secondAttribute="leading" constant="12" id="9Md-KN-gJN"/>
- <constraint firstAttribute="bottom" secondItem="bia-Xw-5r2" secondAttribute="bottom" constant="14" id="AaM-AS-IpW"/>
- <constraint firstAttribute="trailing" secondItem="bia-Xw-5r2" secondAttribute="trailing" constant="12" id="CXh-y6-Ooj"/>
- <constraint firstItem="vbK-nw-OZ9" firstAttribute="leading" secondItem="U2u-46-ylv" secondAttribute="leading" constant="12" id="GQL-1g-ngz"/>
- <constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="vbK-nw-OZ9" secondAttribute="trailing" constant="20" symbolic="YES" id="StM-17-sSW"/>
- <constraint firstItem="i1Z-vb-kIT" firstAttribute="top" secondItem="vbK-nw-OZ9" secondAttribute="bottom" constant="8" id="T0s-0N-Cjr"/>
- <constraint firstItem="i1Z-vb-kIT" firstAttribute="centerY" secondItem="bia-Xw-5r2" secondAttribute="centerY" id="UaQ-ux-qEl"/>
- <constraint firstItem="ijZ-6a-yaD" firstAttribute="centerX" secondItem="U2u-46-ylv" secondAttribute="centerX" id="ruZ-ds-LRy"/>
- <constraint firstItem="ijZ-6a-yaD" firstAttribute="top" secondItem="U2u-46-ylv" secondAttribute="top" constant="20" id="uXa-Ar-MUC"/>
- </constraints>
- <userDefinedRuntimeAttributes>
- <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
- <real key="value" value="4"/>
- </userDefinedRuntimeAttribute>
- </userDefinedRuntimeAttributes>
- </view>
- </subviews>
- </view>
- <viewLayoutGuide key="safeArea" id="ZTg-uK-7eu"/>
- <constraints>
- <constraint firstAttribute="bottom" secondItem="U2u-46-ylv" secondAttribute="bottom" id="ABf-zz-rP8"/>
- <constraint firstItem="U2u-46-ylv" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="HEp-Wi-b5j"/>
- <constraint firstItem="U2u-46-ylv" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="X7n-Za-c63"/>
- <constraint firstAttribute="trailing" secondItem="U2u-46-ylv" secondAttribute="trailing" id="YUu-yd-6ub"/>
- </constraints>
- <size key="customSize" width="164" height="223"/>
- <connections>
- <outlet property="foodImg" destination="ijZ-6a-yaD" id="eYB-yG-peE"/>
- <outlet property="nameLab" destination="vbK-nw-OZ9" id="rTc-Mg-jJI"/>
- <outlet property="priceLab" destination="i1Z-vb-kIT" id="vfj-fT-qf8"/>
- </connections>
- <point key="canvasLocation" x="158.77862595419847" y="81.338028169014095"/>
- </collectionViewCell>
- </objects>
- <resources>
- <image name="分类菜品尺寸" width="100" height="100"/>
- </resources>
- </document>
|