WomenHealthCell.xib 9.63 KB
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
    <device id="retina6_1" orientation="portrait" appearance="light"/>
    <dependencies>
        <deployment identifier="iOS"/>
        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21678"/>
        <capability name="Safe area layout guides" minToolsVersion="9.0"/>
        <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" id="gTV-IL-0wX" customClass="WomenHealthCell" customModule="HDFwear" customModuleProvider="target">
            <rect key="frame" x="0.0" y="0.0" width="265" height="248"/>
            <autoresizingMask key="autoresizingMask"/>
            <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
                <rect key="frame" x="0.0" y="0.0" width="265" height="248"/>
                <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                <subviews>
                    <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="home_women_health" translatesAutoresizingMaskIntoConstraints="NO" id="E5i-xz-Lcs">
                        <rect key="frame" x="10" y="10" width="22" height="22"/>
                        <constraints>
                            <constraint firstAttribute="width" constant="22" id="AG1-ma-07J"/>
                            <constraint firstAttribute="height" constant="22" id="k5w-fU-2CL"/>
                        </constraints>
                    </imageView>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" usesAttributedText="YES" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="MLv-9B-1FM">
                        <rect key="frame" x="42" y="11.5" width="218" height="19"/>
                        <attributedString key="attributedText">
                            <fragment content="女性健康">
                                <attributes>
                                    <font key="NSFont" size="16" name="PingFangSC-Medium"/>
                                    <paragraphStyle key="NSParagraphStyle" alignment="natural" lineBreakMode="wordWrapping" baseWritingDirection="natural" maximumLineHeight="19" tighteningFactorForTruncation="0.0"/>
                                </attributes>
                            </fragment>
                        </attributedString>
                        <nil key="highlightedColor"/>
                    </label>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="10/25" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Zp6-VG-vYG">
                        <rect key="frame" x="10" y="42" width="65" height="35"/>
                        <constraints>
                            <constraint firstAttribute="height" constant="35" id="Xgr-CW-BeP"/>
                        </constraints>
                        <fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="24"/>
                        <nil key="textColor"/>
                        <nil key="highlightedColor"/>
                    </label>
                    <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="home_women_health_bg" translatesAutoresizingMaskIntoConstraints="NO" id="yk0-3e-D1o">
                        <rect key="frame" x="72.5" y="97" width="120" height="136"/>
                        <constraints>
                            <constraint firstAttribute="width" secondItem="yk0-3e-D1o" secondAttribute="height" multiplier="15:17" id="JDW-sq-Lb1"/>
                        </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="rfD-sy-LGE">
                        <rect key="frame" x="104.5" y="114" width="56" height="20"/>
                        <fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="14"/>
                        <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
                        <nil key="highlightedColor"/>
                    </label>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="--" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="BWi-LD-IOI">
                        <rect key="frame" x="236" y="11" width="17" height="20"/>
                        <fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="14"/>
                        <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
                        <nil key="highlightedColor"/>
                    </label>
                </subviews>
            </view>
            <viewLayoutGuide key="safeArea" id="ZTg-uK-7eu"/>
            <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
            <constraints>
                <constraint firstAttribute="trailing" secondItem="BWi-LD-IOI" secondAttribute="trailing" constant="12" id="0pS-t8-LKf"/>
                <constraint firstAttribute="bottom" secondItem="yk0-3e-D1o" secondAttribute="bottom" constant="15" id="2zo-k5-4Xd"/>
                <constraint firstItem="Zp6-VG-vYG" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="10" id="I4f-h6-duR"/>
                <constraint firstItem="E5i-xz-Lcs" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="10" id="Rys-Yk-E85"/>
                <constraint firstItem="BWi-LD-IOI" firstAttribute="centerY" secondItem="MLv-9B-1FM" secondAttribute="centerY" id="Wp6-2b-fQY"/>
                <constraint firstItem="Zp6-VG-vYG" firstAttribute="top" secondItem="E5i-xz-Lcs" secondAttribute="bottom" constant="10" id="azC-fa-uKZ"/>
                <constraint firstItem="MLv-9B-1FM" firstAttribute="centerY" secondItem="E5i-xz-Lcs" secondAttribute="centerY" id="edC-yR-Iww"/>
                <constraint firstItem="MLv-9B-1FM" firstAttribute="leading" secondItem="E5i-xz-Lcs" secondAttribute="trailing" constant="10" id="fgh-Dm-aTr"/>
                <constraint firstAttribute="trailing" secondItem="MLv-9B-1FM" secondAttribute="trailing" constant="5" id="gVP-0M-qeo"/>
                <constraint firstItem="yk0-3e-D1o" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" id="mDq-iV-DC9"/>
                <constraint firstItem="yk0-3e-D1o" firstAttribute="top" secondItem="Zp6-VG-vYG" secondAttribute="bottom" constant="20" id="qHf-ny-09T"/>
                <constraint firstItem="rfD-sy-LGE" firstAttribute="centerY" secondItem="gTV-IL-0wX" secondAttribute="centerY" id="rSH-Ii-RNZ"/>
                <constraint firstItem="rfD-sy-LGE" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" id="sbc-24-CkX"/>
                <constraint firstItem="E5i-xz-Lcs" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="10" id="t6F-Ab-Mjh"/>
            </constraints>
            <size key="customSize" width="265" height="248"/>
            <userDefinedRuntimeAttributes>
                <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
                    <integer key="value" value="10"/>
                </userDefinedRuntimeAttribute>
            </userDefinedRuntimeAttributes>
            <connections>
                <outlet property="dateLabel" destination="BWi-LD-IOI" id="Wh8-zX-JZ3"/>
                <outlet property="imageView" destination="yk0-3e-D1o" id="uNt-wo-1C6"/>
                <outlet property="lastLabel" destination="Zp6-VG-vYG" id="ows-pE-XmD"/>
                <outlet property="noDataLabel" destination="rfD-sy-LGE" id="tYR-Ig-efy"/>
                <outlet property="titleLabel" destination="MLv-9B-1FM" id="q6Z-Ep-nhj"/>
            </connections>
            <point key="canvasLocation" x="293.47826086956525" y="168.75"/>
        </collectionViewCell>
    </objects>
    <resources>
        <image name="home_women_health" width="23.5" height="24"/>
        <image name="home_women_health_bg" width="60" height="101.5"/>
    </resources>
</document>