<?xml version="1.0" encoding="UTF-8"?> <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="13196" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES"> <device id="retina4_7" orientation="portrait"> <adaptation id="fullscreen"/> </device> <dependencies> <deployment identifier="iOS"/> <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13174"/> <capability name="Aspect ratio constraints" minToolsVersion="5.1"/> <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> </dependencies> <customFonts key="customFonts"> <array key="PingFang.ttc"> <string>PingFangSC-Regular</string> </array> </customFonts> <objects> <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="KWMHotSalesHeader"> <connections> <outlet property="bannerView" destination="Ruv-UI-DGw" id="USH-xg-KHp"/> <outlet property="heightSingleShowView" destination="SEw-Tw-g0a" id="PcT-Pv-gcm"/> <outlet property="singleShowView" destination="UGY-II-IMu" id="wxp-gP-PDh"/> <outlet property="vView" destination="iN0-l3-epB" id="bI2-U9-soo"/> </connections> </placeholder> <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/> <view contentMode="scaleToFill" id="iN0-l3-epB"> <rect key="frame" x="0.0" y="0.0" width="375" height="300"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <subviews> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Ruv-UI-DGw" userLabel="热卖单品Banner"> <rect key="frame" x="0.0" y="0.0" width="375" height="190"/> <color key="backgroundColor" red="0.90588235289999997" green="0.81960784310000001" blue="0.74117647060000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <constraints> <constraint firstAttribute="width" secondItem="Ruv-UI-DGw" secondAttribute="height" multiplier="375:190" id="wq7-qE-RyI"/> </constraints> </view> <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" scrollEnabled="NO" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" dataMode="none" translatesAutoresizingMaskIntoConstraints="NO" id="UGY-II-IMu"> <rect key="frame" x="0.0" y="250" width="375" height="0.0"/> <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> <constraints> <constraint firstAttribute="height" id="SEw-Tw-g0a"/> </constraints> <collectionViewFlowLayout key="collectionViewLayout" minimumLineSpacing="10" minimumInteritemSpacing="10" id="Bjo-LO-kzZ"> <size key="itemSize" width="50" height="50"/> <size key="headerReferenceSize" width="0.0" height="0.0"/> <size key="footerReferenceSize" width="0.0" height="0.0"/> <inset key="sectionInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/> </collectionViewFlowLayout> </collectionView> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="d0n-L5-xP1" userLabel="热卖单品title view"> <rect key="frame" x="0.0" y="200" width="375" height="50"/> <subviews> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="uhq-ZL-9OL"> <rect key="frame" x="97.5" y="24.5" width="40" height="1"/> <color key="backgroundColor" red="0.31764705882352939" green="0.31764705882352939" blue="0.31764705882352939" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <constraints> <constraint firstAttribute="width" constant="40" id="hzU-8w-40e"/> <constraint firstAttribute="height" constant="0.5" id="xaE-u5-Def"/> </constraints> </view> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ILX-tg-IwY"> <rect key="frame" x="237.5" y="24.5" width="40" height="1"/> <color key="backgroundColor" red="0.31764705882352939" green="0.31764705882352939" blue="0.31764705882352939" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <constraints> <constraint firstAttribute="height" constant="0.5" id="Nec-hp-m8B"/> <constraint firstAttribute="width" constant="40" id="Rei-3E-m0o"/> </constraints> </view> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="热卖单品" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="eec-tG-wTs"> <rect key="frame" x="159.5" y="15" width="56" height="20"/> <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="14"/> <color key="textColor" red="0.31764705879999999" green="0.31764705879999999" blue="0.31764705879999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> </label> </subviews> <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> <constraints> <constraint firstAttribute="height" constant="50" id="5Yc-uM-1JE"/> <constraint firstItem="eec-tG-wTs" firstAttribute="centerY" secondItem="d0n-L5-xP1" secondAttribute="centerY" id="I3v-8v-sbb"/> <constraint firstItem="uhq-ZL-9OL" firstAttribute="centerY" secondItem="d0n-L5-xP1" secondAttribute="centerY" id="Kd2-sq-d0s"/> <constraint firstItem="ILX-tg-IwY" firstAttribute="centerX" secondItem="d0n-L5-xP1" secondAttribute="centerX" constant="70" id="ebd-7K-pU1"/> <constraint firstItem="uhq-ZL-9OL" firstAttribute="centerX" secondItem="d0n-L5-xP1" secondAttribute="centerX" constant="-70" id="fE4-tP-dve"/> <constraint firstItem="eec-tG-wTs" firstAttribute="centerX" secondItem="d0n-L5-xP1" secondAttribute="centerX" id="kdF-5D-r65"/> <constraint firstItem="ILX-tg-IwY" firstAttribute="centerY" secondItem="d0n-L5-xP1" secondAttribute="centerY" id="r8p-Ru-bb6"/> </constraints> </view> </subviews> <constraints> <constraint firstAttribute="trailing" secondItem="UGY-II-IMu" secondAttribute="trailing" id="6ji-Iq-sFG"/> <constraint firstItem="Ruv-UI-DGw" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="9fw-Ph-Q4P"/> <constraint firstItem="Ruv-UI-DGw" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="AWZ-Bt-2gv"/> <constraint firstItem="d0n-L5-xP1" firstAttribute="top" secondItem="Ruv-UI-DGw" secondAttribute="bottom" constant="10" id="PCa-LX-p7a"/> <constraint firstAttribute="trailing" secondItem="Ruv-UI-DGw" secondAttribute="trailing" id="RLP-eB-Asb"/> <constraint firstItem="d0n-L5-xP1" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="g82-sr-LTG"/> <constraint firstItem="UGY-II-IMu" firstAttribute="top" secondItem="d0n-L5-xP1" secondAttribute="bottom" id="gsh-qH-TNQ"/> <constraint firstAttribute="trailing" secondItem="d0n-L5-xP1" secondAttribute="trailing" id="iHt-uY-XiY"/> <constraint firstItem="UGY-II-IMu" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="whN-vO-ZIi"/> </constraints> <nil key="simulatedStatusBarMetrics"/> <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/> <point key="canvasLocation" x="34.5" y="107"/> </view> </objects> </document>