<?xml version="1.0" encoding="UTF-8"?> <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="13529" 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="13527"/> <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="KWMRecommendView"> <connections> <outlet property="cvRecommend" destination="YkQ-i0-Pi8" id="k1I-3x-9pe"/> <outlet property="lbTitle" destination="7Fq-VX-XvA" id="643-OU-gbL"/> <outlet property="vView" destination="iN0-l3-epB" id="4mj-ET-3eS"/> </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="230"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <subviews> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="INK-4h-HDz" userLabel="主推单品title view"> <rect key="frame" x="0.0" y="0.0" width="375" height="50"/> <subviews> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Oxh-Z4-5Du"> <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="height" constant="0.5" id="dN7-5L-uPZ"/> <constraint firstAttribute="width" constant="40" id="u4w-ir-uYu"/> </constraints> </view> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Fhz-dH-m9M"> <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="width" constant="40" id="Q9Q-rN-rC2"/> <constraint firstAttribute="height" constant="0.5" id="mTX-4g-wc5"/> </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="7Fq-VX-XvA"> <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 firstItem="7Fq-VX-XvA" firstAttribute="centerY" secondItem="INK-4h-HDz" secondAttribute="centerY" id="GUe-O7-zhD"/> <constraint firstItem="Oxh-Z4-5Du" firstAttribute="centerY" secondItem="INK-4h-HDz" secondAttribute="centerY" id="ITn-hx-4NT"/> <constraint firstItem="Fhz-dH-m9M" firstAttribute="centerY" secondItem="INK-4h-HDz" secondAttribute="centerY" id="Kf2-Pe-l0z"/> <constraint firstItem="7Fq-VX-XvA" firstAttribute="centerX" secondItem="INK-4h-HDz" secondAttribute="centerX" id="dYW-od-kCg"/> <constraint firstItem="Fhz-dH-m9M" firstAttribute="centerX" secondItem="INK-4h-HDz" secondAttribute="centerX" constant="70" id="i4I-Eo-hi5"/> <constraint firstItem="Oxh-Z4-5Du" firstAttribute="centerX" secondItem="INK-4h-HDz" secondAttribute="centerX" constant="-70" id="i8R-P6-nyJ"/> <constraint firstAttribute="height" constant="50" id="oy0-m9-5BJ"/> </constraints> </view> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="34o-As-5pe" userLabel="主推单品view"> <rect key="frame" x="0.0" y="50" width="375" height="180"/> <subviews> <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" dataMode="none" translatesAutoresizingMaskIntoConstraints="NO" id="YkQ-i0-Pi8"> <rect key="frame" x="0.0" y="0.0" width="375" height="180"/> <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> <collectionViewFlowLayout key="collectionViewLayout" minimumLineSpacing="10" minimumInteritemSpacing="10" id="vfk-q0-t1d"> <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> </subviews> <constraints> <constraint firstItem="YkQ-i0-Pi8" firstAttribute="top" secondItem="34o-As-5pe" secondAttribute="top" id="4Qd-a8-3pl"/> <constraint firstItem="YkQ-i0-Pi8" firstAttribute="leading" secondItem="34o-As-5pe" secondAttribute="leading" id="bgA-TL-ipu"/> <constraint firstAttribute="height" constant="180" id="onq-ka-ELe"/> <constraint firstAttribute="bottom" secondItem="YkQ-i0-Pi8" secondAttribute="bottom" id="r6l-pn-vDm"/> <constraint firstAttribute="trailing" secondItem="YkQ-i0-Pi8" secondAttribute="trailing" id="tpm-sS-9NT"/> </constraints> </view> </subviews> <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <constraints> <constraint firstAttribute="trailing" secondItem="INK-4h-HDz" secondAttribute="trailing" id="1cJ-MT-eT0"/> <constraint firstItem="INK-4h-HDz" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="98o-Bp-hPz"/> <constraint firstItem="34o-As-5pe" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="ALu-k7-LMK"/> <constraint firstItem="INK-4h-HDz" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="Tbg-nl-U5C"/> <constraint firstAttribute="trailing" secondItem="34o-As-5pe" secondAttribute="trailing" id="m0q-mr-OrX"/> <constraint firstItem="34o-As-5pe" firstAttribute="top" secondItem="INK-4h-HDz" secondAttribute="bottom" id="p0w-Sf-0ew"/> </constraints> <nil key="simulatedStatusBarMetrics"/> <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/> <point key="canvasLocation" x="34.5" y="107"/> </view> </objects> </document>