KWMCollectionCell.xib 13.3 KB
Newer Older
houweibin committed
1
<?xml version="1.0" encoding="UTF-8"?>
houweibin committed
2
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="12121" systemVersion="16F73" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
houweibin committed
3 4 5 6 7
    <device id="retina4_7" orientation="portrait">
        <adaptation id="fullscreen"/>
    </device>
    <dependencies>
        <deployment identifier="iOS"/>
houweibin committed
8
        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="12089"/>
houweibin committed
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
        <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"/>
lee committed
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
                        <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>
houweibin committed
61
                        <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
lee committed
62 63 64 65
                        <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>
houweibin committed
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82
                    </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>
houweibin committed
83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
                    <view hidden="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="amz-6P-JML" userLabel="more">
                        <rect key="frame" x="10" y="10" width="114" height="160"/>
                        <subviews>
                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="hnM-cO-OAy">
                                <rect key="frame" x="35" y="67" width="45" height="25.5"/>
                                <string key="text">-  更多  -
   MORE…</string>
                                <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" 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>
                        <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
                        <constraints>
                            <constraint firstItem="hnM-cO-OAy" firstAttribute="centerX" secondItem="amz-6P-JML" secondAttribute="centerX" id="Lgt-0C-IXP"/>
                            <constraint firstItem="hnM-cO-OAy" firstAttribute="centerY" secondItem="amz-6P-JML" secondAttribute="centerY" id="xox-b1-Saf"/>
                        </constraints>
                    </view>
houweibin committed
101 102 103 104
                </subviews>
            </view>
            <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
            <constraints>
houweibin committed
105
                <constraint firstItem="amz-6P-JML" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="10" id="3XV-kO-0E1"/>
houweibin committed
106 107 108 109 110 111
                <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"/>
houweibin committed
112
                <constraint firstAttribute="trailing" secondItem="amz-6P-JML" secondAttribute="trailing" constant="10" id="Kom-EE-ghy"/>
houweibin committed
113 114 115 116 117 118
                <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"/>
houweibin committed
119
                <constraint firstItem="amz-6P-JML" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="10" id="jBH-Oa-MWm"/>
houweibin committed
120 121
                <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"/>
houweibin committed
122
                <constraint firstAttribute="bottom" secondItem="amz-6P-JML" secondAttribute="bottom" constant="10" id="w65-DU-il0"/>
houweibin committed
123 124 125 126 127 128 129
            </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"/>
lee committed
130
                <outlet property="priceSpace" destination="gHK-yL-dZ3" id="ITE-eD-QTF"/>
houweibin committed
131
                <outlet property="vMore" destination="amz-6P-JML" id="chb-jd-GPy"/>
houweibin committed
132 133 134 135 136 137 138 139 140
            </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>