MealCollectionView.xib 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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 contentMode="scaleToFill" id="zgV-SZ-bkf" customClass="MealCollectionView" customModule="ADHTuanCan" customModuleProvider="target">
  13. <rect key="frame" x="0.0" y="0.0" width="381" height="635"/>
  14. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  15. <subviews>
  16. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="套餐包含" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="euF-0r-JGV">
  17. <rect key="frame" x="25" y="15" width="69.333333333333329" height="21"/>
  18. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="17"/>
  19. <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.1333333333" alpha="1" colorSpace="calibratedRGB"/>
  20. <nil key="highlightedColor"/>
  21. </label>
  22. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="右箭头" translatesAutoresizingMaskIntoConstraints="NO" id="NP6-Zg-kx3">
  23. <rect key="frame" x="340" y="17.666666666666668" width="16" height="16.000000000000004"/>
  24. </imageView>
  25. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Rka-Jv-Z1V">
  26. <rect key="frame" x="286" y="11.666666666666664" width="54" height="28"/>
  27. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  28. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  29. <state key="normal" title="下单须知">
  30. <color key="titleColor" red="0.41568627450000001" green="0.45882352939999999" blue="0.52156862749999999" alpha="1" colorSpace="calibratedRGB"/>
  31. </state>
  32. <connections>
  33. <action selector="needKnowAction:" destination="zgV-SZ-bkf" eventType="touchUpInside" id="vgt-Hn-MRX"/>
  34. </connections>
  35. </button>
  36. <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" scrollEnabled="NO" dataMode="none" translatesAutoresizingMaskIntoConstraints="NO" id="qka-Fq-5JI">
  37. <rect key="frame" x="0.0" y="46.666666666666686" width="381" height="538.33333333333326"/>
  38. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  39. <collectionViewFlowLayout key="collectionViewLayout" minimumLineSpacing="10" minimumInteritemSpacing="10" id="wzT-aa-ZhB">
  40. <size key="itemSize" width="128" height="128"/>
  41. <size key="headerReferenceSize" width="0.0" height="0.0"/>
  42. <size key="footerReferenceSize" width="0.0" height="0.0"/>
  43. <inset key="sectionInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/>
  44. </collectionViewFlowLayout>
  45. <connections>
  46. <outlet property="dataSource" destination="-1" id="FWQ-54-b4G"/>
  47. <outlet property="delegate" destination="-1" id="kWw-Cp-4aL"/>
  48. </connections>
  49. </collectionView>
  50. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="mjt-wA-kUe">
  51. <rect key="frame" x="163.66666666666666" y="590" width="54" height="40"/>
  52. <constraints>
  53. <constraint firstAttribute="height" constant="40" id="XMY-DJ-ODJ"/>
  54. </constraints>
  55. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  56. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  57. <state key="normal" title="剩余商品">
  58. <color key="titleColor" red="0.41568627450000001" green="0.45882352939999999" blue="0.52156862749999999" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
  59. </state>
  60. <connections>
  61. <action selector="showMoreAction:" destination="zgV-SZ-bkf" eventType="touchUpInside" id="Mq0-mH-x11"/>
  62. </connections>
  63. </button>
  64. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="下箭头" translatesAutoresizingMaskIntoConstraints="NO" id="eXc-qy-o20">
  65. <rect key="frame" x="217.66666666666666" y="602" width="16.666666666666657" height="16"/>
  66. </imageView>
  67. </subviews>
  68. <color key="backgroundColor" red="0.96470588239999999" green="0.96470588239999999" blue="0.97254901959999995" alpha="1" colorSpace="calibratedRGB"/>
  69. <constraints>
  70. <constraint firstItem="qka-Fq-5JI" firstAttribute="top" secondItem="Rka-Jv-Z1V" secondAttribute="bottom" constant="7" id="3Jh-Xk-Dcp"/>
  71. <constraint firstItem="eXc-qy-o20" firstAttribute="centerY" secondItem="mjt-wA-kUe" secondAttribute="centerY" id="AJn-je-dda"/>
  72. <constraint firstAttribute="bottom" secondItem="qka-Fq-5JI" secondAttribute="bottom" constant="50" id="BbL-gx-VtG"/>
  73. <constraint firstItem="mjt-wA-kUe" firstAttribute="centerX" secondItem="zgV-SZ-bkf" secondAttribute="centerX" id="I2g-zr-Ub8"/>
  74. <constraint firstItem="qka-Fq-5JI" firstAttribute="leading" secondItem="zgV-SZ-bkf" secondAttribute="leading" id="KK2-g3-q8u"/>
  75. <constraint firstAttribute="trailing" secondItem="NP6-Zg-kx3" secondAttribute="trailing" constant="25" id="OmA-AF-TrS"/>
  76. <constraint firstItem="NP6-Zg-kx3" firstAttribute="leading" secondItem="Rka-Jv-Z1V" secondAttribute="trailing" id="Qvz-bF-1LL"/>
  77. <constraint firstItem="eXc-qy-o20" firstAttribute="leading" secondItem="mjt-wA-kUe" secondAttribute="trailing" id="SpY-km-BfV"/>
  78. <constraint firstItem="mjt-wA-kUe" firstAttribute="top" secondItem="qka-Fq-5JI" secondAttribute="bottom" constant="5" id="Syc-LV-77o"/>
  79. <constraint firstItem="Rka-Jv-Z1V" firstAttribute="centerY" secondItem="euF-0r-JGV" secondAttribute="centerY" id="Y6U-l9-9hW"/>
  80. <constraint firstItem="euF-0r-JGV" firstAttribute="leading" secondItem="zgV-SZ-bkf" secondAttribute="leading" constant="25" id="cJX-nF-ZHS"/>
  81. <constraint firstItem="euF-0r-JGV" firstAttribute="top" secondItem="zgV-SZ-bkf" secondAttribute="top" constant="15" id="cOH-pS-XL1"/>
  82. <constraint firstAttribute="bottom" secondItem="mjt-wA-kUe" secondAttribute="bottom" constant="5" id="gEB-H4-G2C"/>
  83. <constraint firstAttribute="trailing" secondItem="qka-Fq-5JI" secondAttribute="trailing" id="nBm-71-aql"/>
  84. <constraint firstItem="NP6-Zg-kx3" firstAttribute="centerY" secondItem="euF-0r-JGV" secondAttribute="centerY" id="yHS-S0-RVb"/>
  85. </constraints>
  86. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  87. <userDefinedRuntimeAttributes>
  88. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  89. <real key="value" value="24"/>
  90. </userDefinedRuntimeAttribute>
  91. </userDefinedRuntimeAttributes>
  92. <connections>
  93. <outlet property="collectView" destination="qka-Fq-5JI" id="lY7-oj-Bar"/>
  94. <outlet property="moreBtn" destination="mjt-wA-kUe" id="0MU-lQ-hai"/>
  95. <outlet property="morenBtnView" destination="eXc-qy-o20" id="ABV-Dw-cC3"/>
  96. </connections>
  97. <point key="canvasLocation" x="226.71755725190837" y="-22.183098591549296"/>
  98. </view>
  99. </objects>
  100. <resources>
  101. <image name="下箭头" width="16.666666030883789" height="16"/>
  102. <image name="右箭头" width="16" height="16"/>
  103. </resources>
  104. </document>