ChangeMealCollectItem.xib 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" id="gTV-IL-0wX" customClass="ChangeMealCollectItem" customModule="ADHTuanCan" customModuleProvider="target">
  13. <rect key="frame" x="0.0" y="0.0" width="165" height="165"/>
  14. <autoresizingMask key="autoresizingMask"/>
  15. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
  16. <rect key="frame" x="0.0" y="0.0" width="165" height="165"/>
  17. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  18. <subviews>
  19. <view clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="X7o-Jq-wST">
  20. <rect key="frame" x="0.0" y="0.0" width="165" height="165"/>
  21. <subviews>
  22. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="wFQ-iG-u54">
  23. <rect key="frame" x="0.0" y="0.0" width="165" height="129"/>
  24. <subviews>
  25. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="分类菜品尺寸" translatesAutoresizingMaskIntoConstraints="NO" id="cjh-YK-dfe">
  26. <rect key="frame" x="45" y="15" width="75" height="75"/>
  27. <constraints>
  28. <constraint firstAttribute="height" constant="75" id="FW3-6Z-sWX"/>
  29. <constraint firstAttribute="width" constant="75" id="lfj-oa-hAp"/>
  30. </constraints>
  31. <userDefinedRuntimeAttributes>
  32. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  33. <real key="value" value="37.5"/>
  34. </userDefinedRuntimeAttribute>
  35. </userDefinedRuntimeAttributes>
  36. </imageView>
  37. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="蔬菜沙拉" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="pvU-Dz-vgd">
  38. <rect key="frame" x="6" y="90" width="153" height="39"/>
  39. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  40. <color key="textColor" red="0.10980392160000001" green="0.18823529410000001" blue="0.30980392159999998" alpha="1" colorSpace="calibratedRGB"/>
  41. <nil key="highlightedColor"/>
  42. </label>
  43. </subviews>
  44. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  45. <constraints>
  46. <constraint firstAttribute="trailing" secondItem="pvU-Dz-vgd" secondAttribute="trailing" constant="6" id="75w-1i-JvQ"/>
  47. <constraint firstAttribute="bottom" secondItem="pvU-Dz-vgd" secondAttribute="bottom" id="GDQ-MI-OXX"/>
  48. <constraint firstItem="cjh-YK-dfe" firstAttribute="top" secondItem="wFQ-iG-u54" secondAttribute="top" constant="15" id="Kh7-RY-lRW"/>
  49. <constraint firstItem="pvU-Dz-vgd" firstAttribute="leading" secondItem="wFQ-iG-u54" secondAttribute="leading" constant="6" id="cID-FU-PD6"/>
  50. <constraint firstItem="cjh-YK-dfe" firstAttribute="centerX" secondItem="wFQ-iG-u54" secondAttribute="centerX" id="cY8-Ht-otg"/>
  51. <constraint firstItem="pvU-Dz-vgd" firstAttribute="top" secondItem="cjh-YK-dfe" secondAttribute="bottom" id="go2-v0-uyi"/>
  52. <constraint firstAttribute="height" constant="129" id="lfp-Db-Bx2"/>
  53. </constraints>
  54. </view>
  55. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="mQQ-Hi-2IH">
  56. <rect key="frame" x="12" y="134" width="24" height="26"/>
  57. <constraints>
  58. <constraint firstAttribute="height" constant="26" id="XBA-vN-LtI"/>
  59. </constraints>
  60. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  61. <state key="normal" image="替换"/>
  62. <connections>
  63. <action selector="changeAction:" destination="gTV-IL-0wX" eventType="touchUpInside" id="2J3-VI-YiH"/>
  64. </connections>
  65. </button>
  66. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="kQU-mI-KKW">
  67. <rect key="frame" x="129" y="135" width="24" height="24"/>
  68. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  69. <state key="normal" image="备注"/>
  70. <connections>
  71. <action selector="reMarkAction:" destination="gTV-IL-0wX" eventType="touchUpInside" id="Wgt-AH-6Vm"/>
  72. </connections>
  73. </button>
  74. </subviews>
  75. <color key="backgroundColor" red="0.92549019607843142" green="0.92549019607843142" blue="0.92549019607843142" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  76. <constraints>
  77. <constraint firstItem="wFQ-iG-u54" firstAttribute="leading" secondItem="X7o-Jq-wST" secondAttribute="leading" id="6xR-0y-t79"/>
  78. <constraint firstItem="mQQ-Hi-2IH" firstAttribute="top" secondItem="wFQ-iG-u54" secondAttribute="bottom" constant="5" id="C4S-VH-G32"/>
  79. <constraint firstAttribute="trailing" secondItem="wFQ-iG-u54" secondAttribute="trailing" id="EPD-1V-7qL"/>
  80. <constraint firstItem="mQQ-Hi-2IH" firstAttribute="leading" secondItem="X7o-Jq-wST" secondAttribute="leading" constant="12" id="Mha-UU-EQc"/>
  81. <constraint firstItem="kQU-mI-KKW" firstAttribute="centerY" secondItem="mQQ-Hi-2IH" secondAttribute="centerY" id="RD0-JF-Jdr"/>
  82. <constraint firstAttribute="bottom" secondItem="mQQ-Hi-2IH" secondAttribute="bottom" constant="5" id="RKW-iX-Bxo"/>
  83. <constraint firstAttribute="trailing" secondItem="kQU-mI-KKW" secondAttribute="trailing" constant="12" id="aff-Bp-Kvu"/>
  84. <constraint firstItem="wFQ-iG-u54" firstAttribute="top" secondItem="X7o-Jq-wST" secondAttribute="top" id="eOu-Ve-A7i"/>
  85. </constraints>
  86. <userDefinedRuntimeAttributes>
  87. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  88. <real key="value" value="8"/>
  89. </userDefinedRuntimeAttribute>
  90. </userDefinedRuntimeAttributes>
  91. </view>
  92. </subviews>
  93. </view>
  94. <constraints>
  95. <constraint firstItem="X7o-Jq-wST" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="3ZV-9U-uT6"/>
  96. <constraint firstAttribute="trailing" secondItem="X7o-Jq-wST" secondAttribute="trailing" id="Adj-Bz-8Ri"/>
  97. <constraint firstAttribute="bottom" secondItem="X7o-Jq-wST" secondAttribute="bottom" id="NKh-GA-Uyt"/>
  98. <constraint firstItem="X7o-Jq-wST" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="wqG-XI-ldd"/>
  99. </constraints>
  100. <size key="customSize" width="165" height="165"/>
  101. <connections>
  102. <outlet property="foodImg" destination="cjh-YK-dfe" id="8gn-UW-km9"/>
  103. <outlet property="nameLab" destination="pvU-Dz-vgd" id="RvX-Ub-Bwb"/>
  104. <outlet property="replaceBtn" destination="mQQ-Hi-2IH" id="8RA-Rg-lC5"/>
  105. </connections>
  106. <point key="canvasLocation" x="226.71755725190837" y="40.492957746478872"/>
  107. </collectionViewCell>
  108. </objects>
  109. <resources>
  110. <image name="分类菜品尺寸" width="100" height="100"/>
  111. <image name="备注" width="24" height="24"/>
  112. <image name="替换" width="24" height="24"/>
  113. </resources>
  114. </document>