KWMCollectionCell.xib 10.9 KB
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="12120" systemVersion="16F73" 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="12088"/>
        <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" reuseIdentifier="KWMCollectionCell" id="gTV-IL-0wX" customClass="KWMCollectionCell">
            <rect key="frame" x="0.0" y="0.0" width="134" height="180"/>
            <autoresizingMask key="autoresizingMask"/>
            <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
                <rect key="frame" x="0.0" y="0.0" width="134" height="180"/>
                <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                <subviews>
                    <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="ic_recommend_shadow" translatesAutoresizingMaskIntoConstraints="NO" id="Lqb-dN-SOP" userLabel="vShadow">
                        <rect key="frame" x="0.0" y="0.0" width="134" height="180"/>
                        <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
                    </imageView>
                    <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="j4S-Pj-0Jm" userLabel="vBg">
                        <rect key="frame" x="10" y="10" width="114" height="160"/>
                        <subviews>
                            <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="oJs-ty-mTn">
                                <rect key="frame" x="32" y="139" width="50.5" height="21"/>
                                <subviews>
                                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="¥245" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="mdo-JD-RUh">
                                        <rect key="frame" x="0.0" y="0.0" width="22" height="21"/>
                                        <constraints>
                                            <constraint firstAttribute="height" constant="21" id="yF7-l7-tAI"/>
                                        </constraints>
                                        <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="9"/>
                                        <color key="textColor" red="0.59215686270000001" green="0.59215686270000001" blue="0.59215686270000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                                        <nil key="highlightedColor"/>
                                    </label>
                                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="¥123" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="QJA-H1-mJd">
                                        <rect key="frame" x="26" y="0.0" width="24.5" height="21"/>
                                        <constraints>
                                            <constraint firstAttribute="height" constant="21" id="0b6-83-YzE"/>
                                        </constraints>
                                        <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="11"/>
                                        <color key="textColor" red="0.94509803921568625" green="0.5725490196078431" blue="0.60392156862745094" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                                        <nil key="highlightedColor"/>
                                    </label>
                                </subviews>
                                <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
                                <constraints>
                                    <constraint firstAttribute="bottom" secondItem="QJA-H1-mJd" secondAttribute="bottom" id="4nY-ED-oHv"/>
                                    <constraint firstAttribute="height" constant="21" id="59a-u7-lnJ"/>
                                    <constraint firstAttribute="trailing" secondItem="QJA-H1-mJd" secondAttribute="trailing" id="6rA-ZV-twP"/>
                                    <constraint firstAttribute="bottom" secondItem="mdo-JD-RUh" secondAttribute="bottom" id="Ug7-jo-2N4"/>
                                    <constraint firstItem="mdo-JD-RUh" firstAttribute="leading" secondItem="oJs-ty-mTn" secondAttribute="leading" id="Yis-Ri-xd4"/>
                                    <constraint firstItem="QJA-H1-mJd" firstAttribute="leading" secondItem="mdo-JD-RUh" secondAttribute="trailing" constant="4" id="gHK-yL-dZ3"/>
                                </constraints>
                            </view>
                        </subviews>
                        <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
                        <constraints>
                            <constraint firstItem="oJs-ty-mTn" firstAttribute="centerX" secondItem="j4S-Pj-0Jm" secondAttribute="centerX" id="Mfc-7F-OHL"/>
                            <constraint firstAttribute="bottom" secondItem="oJs-ty-mTn" secondAttribute="bottom" id="SIq-l9-u3Y"/>
                        </constraints>
                    </view>
                    <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="252" image="ic_loading" translatesAutoresizingMaskIntoConstraints="NO" id="4Y5-kT-G7g">
                        <rect key="frame" x="10" y="10" width="114" height="119"/>
                        <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
                        <constraints>
                            <constraint firstAttribute="height" relation="greaterThanOrEqual" constant="119" id="HR0-ZC-axP"/>
                            <constraint firstAttribute="width" relation="greaterThanOrEqual" constant="114" id="U9w-nj-aat"/>
                            <constraint firstAttribute="width" constant="114" id="lIt-OH-a04"/>
                            <constraint firstAttribute="height" constant="119" id="pUI-ib-Q7Z"/>
                        </constraints>
                    </imageView>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="品牌" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="LfZ-kv-Lcb">
                        <rect key="frame" x="20" y="138" width="94" height="11"/>
                        <fontDescription key="fontDescription" type="system" pointSize="9"/>
                        <color key="textColor" red="0.3411764705882353" green="0.3411764705882353" blue="0.3411764705882353" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                        <nil key="highlightedColor"/>
                    </label>
                </subviews>
            </view>
            <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
            <constraints>
                <constraint firstItem="LfZ-kv-Lcb" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="20" id="4FC-Uc-GOl"/>
                <constraint firstItem="4Y5-kT-G7g" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="10" id="5Ri-3a-lVo"/>
                <constraint firstItem="4Y5-kT-G7g" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="10" id="85s-gm-OFy"/>
                <constraint firstItem="j4S-Pj-0Jm" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="10" id="Bkd-4C-LiV"/>
                <constraint firstItem="j4S-Pj-0Jm" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="10" id="Dkb-sp-DPv"/>
                <constraint firstItem="LfZ-kv-Lcb" firstAttribute="top" secondItem="4Y5-kT-G7g" secondAttribute="bottom" constant="9" id="Hih-1i-3KV"/>
                <constraint firstAttribute="bottom" secondItem="j4S-Pj-0Jm" secondAttribute="bottom" constant="10" id="QNw-5B-Cvq"/>
                <constraint firstAttribute="trailing" secondItem="LfZ-kv-Lcb" secondAttribute="trailing" constant="20" id="Utq-Pv-OJV"/>
                <constraint firstAttribute="trailing" secondItem="4Y5-kT-G7g" secondAttribute="trailing" constant="10" id="c4e-06-wrV"/>
                <constraint firstItem="Lqb-dN-SOP" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="cjj-Hs-hsD"/>
                <constraint firstItem="Lqb-dN-SOP" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="dE5-5Y-muD"/>
                <constraint firstAttribute="trailing" secondItem="j4S-Pj-0Jm" secondAttribute="trailing" constant="10" id="iMA-ja-UYW"/>
                <constraint firstAttribute="trailing" secondItem="Lqb-dN-SOP" secondAttribute="trailing" id="l8a-QN-k7a"/>
                <constraint firstAttribute="bottom" secondItem="Lqb-dN-SOP" secondAttribute="bottom" id="lT8-Mv-gJt"/>
            </constraints>
            <size key="customSize" width="199" height="202"/>
            <connections>
                <outlet property="ivCollectionCell" destination="4Y5-kT-G7g" id="l2b-mP-win"/>
                <outlet property="lbBrand" destination="LfZ-kv-Lcb" id="oKA-x9-tjo"/>
                <outlet property="lbDiscount" destination="QJA-H1-mJd" id="qCj-cg-ksd"/>
                <outlet property="lbPrice" destination="mdo-JD-RUh" id="wFN-oq-HYR"/>
                <outlet property="priceSpace" destination="gHK-yL-dZ3" id="ITE-eD-QTF"/>
            </connections>
            <point key="canvasLocation" x="56" y="115"/>
        </collectionViewCell>
    </objects>
    <resources>
        <image name="ic_loading" width="114" height="118"/>
        <image name="ic_recommend_shadow" width="136" height="182"/>
    </resources>
</document>