KWMMenuHeader.xib 18 KB
Newer Older
houweibin committed
1
<?xml version="1.0" encoding="UTF-8"?>
lee committed
2
<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">
houweibin committed
3 4 5 6 7
    <device id="retina4_7" orientation="portrait">
        <adaptation id="fullscreen"/>
    </device>
    <dependencies>
        <deployment identifier="iOS"/>
lee committed
8
        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="12088"/>
houweibin committed
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
    </dependencies>
    <objects>
        <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="KWMMenuHeader">
            <connections>
                <outlet property="vView" destination="iN0-l3-epB" id="lxd-bJ-cLo"/>
            </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="100"/>
            <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
            <subviews>
                <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="u4V-4f-pEs" userLabel="快捷入口view">
                    <rect key="frame" x="0.0" y="20" width="375" height="80"/>
                    <subviews>
                        <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Vyx-ed-YkS" userLabel="最新单品">
                            <rect key="frame" x="10" y="0.0" width="89" height="80"/>
                            <subviews>
                                <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="ic_home_new_product" translatesAutoresizingMaskIntoConstraints="NO" id="4Bg-sB-Fk4">
                                    <rect key="frame" x="25" y="0.0" width="40" height="40"/>
                                    <constraints>
                                        <constraint firstAttribute="height" constant="40" id="ROx-Wz-0XX"/>
                                        <constraint firstAttribute="width" constant="40" id="Z7q-xQ-3CA"/>
                                    </constraints>
                                </imageView>
                                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="最新单品" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="c40-0Y-Obt">
                                    <rect key="frame" x="21" y="50" width="48" height="17"/>
                                    <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="12"/>
                                    <color key="textColor" red="0.13725490200000001" green="0.14117647059999999" blue="0.16078431369999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                                    <nil key="highlightedColor"/>
                                </label>
                            </subviews>
                            <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
lee committed
43
                            <gestureRecognizers/>
houweibin committed
44 45 46 47 48 49
                            <constraints>
                                <constraint firstItem="4Bg-sB-Fk4" firstAttribute="top" secondItem="Vyx-ed-YkS" secondAttribute="top" id="Qys-rx-muq"/>
                                <constraint firstItem="4Bg-sB-Fk4" firstAttribute="centerX" secondItem="Vyx-ed-YkS" secondAttribute="centerX" id="WEr-ts-Nib"/>
                                <constraint firstItem="c40-0Y-Obt" firstAttribute="top" secondItem="4Bg-sB-Fk4" secondAttribute="bottom" constant="10" id="u96-ve-TeV"/>
                                <constraint firstItem="c40-0Y-Obt" firstAttribute="centerX" secondItem="Vyx-ed-YkS" secondAttribute="centerX" id="vjx-GI-Sjs"/>
                            </constraints>
lee committed
50 51 52
                            <connections>
                                <outletCollection property="gestureRecognizers" destination="bXR-EM-KIH" appends="YES" id="kSp-hM-baR"/>
                            </connections>
houweibin committed
53 54 55 56 57 58 59 60 61 62 63
                        </view>
                        <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="92D-Xx-Bd9" userLabel="火爆热卖">
                            <rect key="frame" x="99" y="0.0" width="88.5" height="80"/>
                            <subviews>
                                <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="ic_home_hot_product" translatesAutoresizingMaskIntoConstraints="NO" id="JdT-c1-AgH">
                                    <rect key="frame" x="24" y="0.0" width="40" height="40"/>
                                    <constraints>
                                        <constraint firstAttribute="width" constant="40" id="X3i-4k-qD6"/>
                                        <constraint firstAttribute="height" constant="40" id="m2N-Ea-82N"/>
                                    </constraints>
                                </imageView>
lee committed
64
                                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="发现新鲜" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3sg-P6-odK">
houweibin committed
65 66 67 68 69 70 71
                                    <rect key="frame" x="20.5" y="50" width="48" height="17"/>
                                    <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="12"/>
                                    <color key="textColor" red="0.13725490200000001" green="0.14117647059999999" blue="0.16078431369999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                                    <nil key="highlightedColor"/>
                                </label>
                            </subviews>
                            <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
lee committed
72
                            <gestureRecognizers/>
houweibin committed
73 74 75 76 77 78
                            <constraints>
                                <constraint firstItem="JdT-c1-AgH" firstAttribute="top" secondItem="92D-Xx-Bd9" secondAttribute="top" id="4xb-8P-Bfq"/>
                                <constraint firstItem="3sg-P6-odK" firstAttribute="top" secondItem="JdT-c1-AgH" secondAttribute="bottom" constant="10" id="SHS-AO-PBc"/>
                                <constraint firstItem="3sg-P6-odK" firstAttribute="centerX" secondItem="92D-Xx-Bd9" secondAttribute="centerX" id="g4G-UD-0fN"/>
                                <constraint firstItem="JdT-c1-AgH" firstAttribute="centerX" secondItem="92D-Xx-Bd9" secondAttribute="centerX" id="pGd-bq-ZI1"/>
                            </constraints>
lee committed
79 80 81
                            <connections>
                                <outletCollection property="gestureRecognizers" destination="cF7-BX-xa9" appends="YES" id="7rg-sB-lvS"/>
                            </connections>
houweibin committed
82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
                        </view>
                        <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="PAq-6Z-msb" userLabel="我喜欢的">
                            <rect key="frame" x="187.5" y="0.0" width="89" height="80"/>
                            <subviews>
                                <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="ic_home_favorite_product" translatesAutoresizingMaskIntoConstraints="NO" id="Pfa-Sa-Cv9">
                                    <rect key="frame" x="25" y="0.0" width="40" height="40"/>
                                    <constraints>
                                        <constraint firstAttribute="height" constant="40" id="8i5-Xk-Yzu"/>
                                        <constraint firstAttribute="width" constant="40" id="p2z-yO-hLm"/>
                                    </constraints>
                                </imageView>
                                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="我喜欢的" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2Fh-Tj-POc">
                                    <rect key="frame" x="20.5" y="50" width="48" height="17"/>
                                    <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="12"/>
                                    <color key="textColor" red="0.13725490200000001" green="0.14117647059999999" blue="0.16078431369999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                                    <nil key="highlightedColor"/>
                                </label>
                            </subviews>
                            <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
lee committed
101
                            <gestureRecognizers/>
houweibin committed
102 103 104 105 106 107
                            <constraints>
                                <constraint firstItem="2Fh-Tj-POc" firstAttribute="centerX" secondItem="PAq-6Z-msb" secondAttribute="centerX" id="SWN-bO-gb1"/>
                                <constraint firstItem="Pfa-Sa-Cv9" firstAttribute="centerX" secondItem="PAq-6Z-msb" secondAttribute="centerX" id="bqR-bR-Fwr"/>
                                <constraint firstItem="2Fh-Tj-POc" firstAttribute="top" secondItem="Pfa-Sa-Cv9" secondAttribute="bottom" constant="10" id="dJl-Bc-0PQ"/>
                                <constraint firstItem="Pfa-Sa-Cv9" firstAttribute="top" secondItem="PAq-6Z-msb" secondAttribute="top" id="szi-Li-o6n"/>
                            </constraints>
lee committed
108 109 110
                            <connections>
                                <outletCollection property="gestureRecognizers" destination="kA5-mN-m1r" appends="YES" id="wpR-al-fIV"/>
                            </connections>
houweibin committed
111 112 113 114 115 116 117 118 119 120 121
                        </view>
                        <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="fxs-MB-T7q" userLabel="直邮说明">
                            <rect key="frame" x="276.5" y="0.0" width="88.5" height="80"/>
                            <subviews>
                                <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="ic_home_about_shipping" translatesAutoresizingMaskIntoConstraints="NO" id="keV-Nx-QNu">
                                    <rect key="frame" x="24" y="0.0" width="40" height="40"/>
                                    <constraints>
                                        <constraint firstAttribute="height" constant="40" id="39o-Op-HHl"/>
                                        <constraint firstAttribute="width" constant="40" id="n6V-12-EnZ"/>
                                    </constraints>
                                </imageView>
lee committed
122
                                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="服务说明" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Izf-6L-av5">
houweibin committed
123 124 125 126 127 128 129
                                    <rect key="frame" x="20.5" y="50" width="48" height="17"/>
                                    <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="12"/>
                                    <color key="textColor" red="0.13725490200000001" green="0.14117647059999999" blue="0.16078431369999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                                    <nil key="highlightedColor"/>
                                </label>
                            </subviews>
                            <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
lee committed
130
                            <gestureRecognizers/>
houweibin committed
131 132 133 134 135 136
                            <constraints>
                                <constraint firstItem="Izf-6L-av5" firstAttribute="top" secondItem="keV-Nx-QNu" secondAttribute="bottom" constant="10" id="2b4-9n-z6h"/>
                                <constraint firstItem="keV-Nx-QNu" firstAttribute="top" secondItem="fxs-MB-T7q" secondAttribute="top" id="2dK-0c-oKe"/>
                                <constraint firstItem="Izf-6L-av5" firstAttribute="centerX" secondItem="fxs-MB-T7q" secondAttribute="centerX" id="3rs-0K-XLv"/>
                                <constraint firstItem="keV-Nx-QNu" firstAttribute="centerX" secondItem="fxs-MB-T7q" secondAttribute="centerX" id="8go-Zp-Y2W"/>
                            </constraints>
lee committed
137 138 139
                            <connections>
                                <outletCollection property="gestureRecognizers" destination="Nlw-ai-eZC" appends="YES" id="8rJ-FV-Jyr"/>
                            </connections>
houweibin committed
140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172
                        </view>
                    </subviews>
                    <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
                    <constraints>
                        <constraint firstItem="Vyx-ed-YkS" firstAttribute="leading" secondItem="u4V-4f-pEs" secondAttribute="leading" constant="10" id="12i-ls-WaK"/>
                        <constraint firstItem="fxs-MB-T7q" firstAttribute="leading" secondItem="PAq-6Z-msb" secondAttribute="trailing" id="CEM-fa-2oF"/>
                        <constraint firstItem="PAq-6Z-msb" firstAttribute="leading" secondItem="92D-Xx-Bd9" secondAttribute="trailing" id="MyQ-qk-Uer"/>
                        <constraint firstAttribute="height" constant="80" id="TOK-qB-8XU"/>
                        <constraint firstAttribute="bottom" secondItem="PAq-6Z-msb" secondAttribute="bottom" id="VVG-Xg-nZI"/>
                        <constraint firstItem="PAq-6Z-msb" firstAttribute="width" secondItem="Vyx-ed-YkS" secondAttribute="width" id="VtG-T5-cZP"/>
                        <constraint firstItem="92D-Xx-Bd9" firstAttribute="width" secondItem="Vyx-ed-YkS" secondAttribute="width" id="WUk-SN-Cy3"/>
                        <constraint firstItem="fxs-MB-T7q" firstAttribute="top" secondItem="u4V-4f-pEs" secondAttribute="top" id="XV2-4S-sU9"/>
                        <constraint firstItem="92D-Xx-Bd9" firstAttribute="top" secondItem="u4V-4f-pEs" secondAttribute="top" id="aKm-od-9LU"/>
                        <constraint firstAttribute="trailing" secondItem="fxs-MB-T7q" secondAttribute="trailing" constant="10" id="fhj-Mi-TlU"/>
                        <constraint firstAttribute="bottom" secondItem="92D-Xx-Bd9" secondAttribute="bottom" id="gly-WO-Ljh"/>
                        <constraint firstAttribute="bottom" secondItem="Vyx-ed-YkS" secondAttribute="bottom" id="hpt-2c-UNZ"/>
                        <constraint firstItem="Vyx-ed-YkS" firstAttribute="top" secondItem="u4V-4f-pEs" secondAttribute="top" id="k2w-t0-e6Y"/>
                        <constraint firstItem="PAq-6Z-msb" firstAttribute="top" secondItem="u4V-4f-pEs" secondAttribute="top" id="mRl-9q-zMQ"/>
                        <constraint firstItem="fxs-MB-T7q" firstAttribute="width" secondItem="Vyx-ed-YkS" secondAttribute="width" id="ng3-pj-19f"/>
                        <constraint firstItem="92D-Xx-Bd9" firstAttribute="leading" secondItem="Vyx-ed-YkS" secondAttribute="trailing" id="qao-oW-QJs"/>
                        <constraint firstAttribute="bottom" secondItem="fxs-MB-T7q" secondAttribute="bottom" id="y0q-P9-gQt"/>
                    </constraints>
                </view>
            </subviews>
            <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
            <constraints>
                <constraint firstItem="u4V-4f-pEs" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="20" id="JqQ-5R-bub"/>
                <constraint firstAttribute="trailing" secondItem="u4V-4f-pEs" secondAttribute="trailing" id="KH1-LN-xeO"/>
                <constraint firstItem="u4V-4f-pEs" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="dtT-rb-i68"/>
            </constraints>
            <nil key="simulatedStatusBarMetrics"/>
            <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
        </view>
lee committed
173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192
        <tapGestureRecognizer id="bXR-EM-KIH" userLabel="new">
            <connections>
                <action selector="newAction:" destination="-1" id="f8T-3h-3L3"/>
            </connections>
        </tapGestureRecognizer>
        <tapGestureRecognizer id="cF7-BX-xa9" userLabel="discover">
            <connections>
                <action selector="discoverAction:" destination="-1" id="07g-uX-2pJ"/>
            </connections>
        </tapGestureRecognizer>
        <tapGestureRecognizer id="kA5-mN-m1r" userLabel="like">
            <connections>
                <action selector="likeAction:" destination="-1" id="Zig-Z6-MQb"/>
            </connections>
        </tapGestureRecognizer>
        <tapGestureRecognizer id="Nlw-ai-eZC" userLabel="server">
            <connections>
                <action selector="serverAction:" destination="-1" id="TvK-1P-BoK"/>
            </connections>
        </tapGestureRecognizer>
houweibin committed
193 194 195 196 197 198 199 200
    </objects>
    <resources>
        <image name="ic_home_about_shipping" width="40" height="40"/>
        <image name="ic_home_favorite_product" width="40" height="40"/>
        <image name="ic_home_hot_product" width="40" height="40"/>
        <image name="ic_home_new_product" width="40" height="40"/>
    </resources>
</document>