ZCCollectCell.xib 7.85 KB
Newer Older
zhukai committed
1 2 3 4 5 6 7 8 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 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14490.70" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
    <device id="retina6_1" orientation="portrait">
        <adaptation id="fullscreen"/>
    </device>
    <dependencies>
        <deployment identifier="iOS"/>
        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14490.49"/>
        <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"/>
        <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="KGk-i7-Jjw" customClass="ZCCollectCell">
            <rect key="frame" x="0.0" y="0.0" width="320" height="117"/>
            <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
            <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
                <rect key="frame" x="0.0" y="0.0" width="320" height="116.5"/>
                <autoresizingMask key="autoresizingMask"/>
                <subviews>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" usesAttributedText="YES" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fDm-sz-vrz">
                        <rect key="frame" x="137" y="13.5" width="173" height="36.5"/>
                        <constraints>
                            <constraint firstAttribute="height" relation="lessThanOrEqual" constant="44" id="Fel-zo-v7l"/>
                        </constraints>
                        <attributedString key="attributedText">
                            <fragment content="LabelL LabelL LabelL LabelL LabelL LabelL LabelL LabelL LabelL">
                                <attributes>
                                    <color key="NSColor" name="textColor" catalog="System" colorSpace="catalog"/>
                                    <font key="NSFont" size="13" name="PingFangSC-Regular"/>
                                    <paragraphStyle key="NSParagraphStyle" alignment="left" lineBreakMode="wordWrapping" baseWritingDirection="natural" tighteningFactorForTruncation="0.0" allowsDefaultTighteningForTruncation="NO"/>
                                </attributes>
                            </fragment>
                        </attributedString>
                        <nil key="highlightedColor"/>
                    </label>
                    <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="6TL-Xb-jCI">
                        <rect key="frame" x="37" y="13.5" width="90" height="90"/>
                        <constraints>
                            <constraint firstAttribute="height" constant="90" id="SRJ-WT-lRy"/>
                            <constraint firstAttribute="width" constant="90" id="wQi-zA-ewr"/>
                        </constraints>
                    </imageView>
                    <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="b1U-qi-rA3">
                        <rect key="frame" x="0.0" y="40" width="37" height="37"/>
                        <constraints>
                            <constraint firstAttribute="width" constant="37" id="jrP-Vh-Eea"/>
                            <constraint firstAttribute="height" constant="37" id="shn-iV-Vhe"/>
                        </constraints>
                        <state key="normal" image="ic_radio_unselected"/>
                        <state key="selected" image="ic_radio_selected_orange"/>
                        <connections>
                            <action selector="selectAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="qUD-yC-lLV"/>
                        </connections>
                    </button>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" usesAttributedText="YES" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="w75-AK-g6B">
                        <rect key="frame" x="137" y="81.5" width="173" height="20"/>
                        <attributedString key="attributedText">
                            <fragment content="200">
                                <attributes>
                                    <font key="NSFont" size="14" name="PingFangSC-Medium"/>
                                    <paragraphStyle key="NSParagraphStyle" alignment="natural" lineBreakMode="wordWrapping" baseWritingDirection="natural" tighteningFactorForTruncation="0.0"/>
                                </attributes>
                            </fragment>
                        </attributedString>
                        <nil key="highlightedColor"/>
                    </label>
                </subviews>
                <constraints>
                    <constraint firstItem="b1U-qi-rA3" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="2HE-sh-FW0"/>
                    <constraint firstAttribute="trailing" secondItem="fDm-sz-vrz" secondAttribute="trailing" constant="10" id="4Fc-4p-plo"/>
                    <constraint firstItem="b1U-qi-rA3" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" id="6TV-ef-Vn6"/>
                    <constraint firstItem="w75-AK-g6B" firstAttribute="leading" secondItem="6TL-Xb-jCI" secondAttribute="trailing" constant="10" id="9Tw-FY-9ws"/>
                    <constraint firstItem="fDm-sz-vrz" firstAttribute="top" secondItem="6TL-Xb-jCI" secondAttribute="top" id="J6L-r9-oXR"/>
                    <constraint firstAttribute="trailing" secondItem="w75-AK-g6B" secondAttribute="trailing" constant="10" id="NJT-CT-qaZ"/>
                    <constraint firstItem="6TL-Xb-jCI" firstAttribute="centerY" secondItem="b1U-qi-rA3" secondAttribute="centerY" id="SUd-TI-gHM"/>
                    <constraint firstAttribute="bottom" secondItem="w75-AK-g6B" secondAttribute="bottom" constant="15" id="TPc-mj-XAo"/>
                    <constraint firstItem="fDm-sz-vrz" firstAttribute="leading" secondItem="6TL-Xb-jCI" secondAttribute="trailing" constant="10" id="XV4-mX-Dj9"/>
                    <constraint firstItem="6TL-Xb-jCI" firstAttribute="leading" secondItem="b1U-qi-rA3" secondAttribute="trailing" id="jWU-XG-xna"/>
                </constraints>
            </tableViewCellContentView>
            <connections>
                <outlet property="descLbl" destination="fDm-sz-vrz" id="gkc-6B-duI"/>
                <outlet property="icon" destination="6TL-Xb-jCI" id="WKm-O8-et9"/>
                <outlet property="priceLbl" destination="w75-AK-g6B" id="9vo-jF-Bvn"/>
                <outlet property="selectBtn" destination="b1U-qi-rA3" id="sx4-fq-hgY"/>
                <outlet property="selectBtnWidth" destination="jrP-Vh-Eea" id="qrh-Sh-CXf"/>
            </connections>
            <point key="canvasLocation" x="-17" y="69"/>
        </tableViewCell>
    </objects>
    <resources>
        <image name="ic_radio_selected_orange" width="17" height="17"/>
        <image name="ic_radio_unselected" width="17" height="17"/>
    </resources>
</document>