WomenHealthCell.xib 10 KB
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="19455" 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="19454"/>
        <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="43.5" 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>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="2021/11/02" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="f0c-OJ-0Bl">
                        <rect key="frame" x="42" y="29.5" width="58" height="16"/>
                        <constraints>
                            <constraint firstAttribute="height" constant="16" id="O9k-MW-thX"/>
                        </constraints>
                        <fontDescription key="fontDescription" name="PingFangSC-Light" family="PingFang SC" pointSize="11"/>
                        <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="74" y="100.5" width="117" height="132.5"/>
                        <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="rS0-B8-Lyz">
                        <rect key="frame" x="10" y="75.5" width="66" height="16"/>
                        <constraints>
                            <constraint firstAttribute="height" constant="16" id="Fy6-dg-sOn"/>
                        </constraints>
                        <fontDescription key="fontDescription" name="PingFangSC-Light" family="PingFang SC" pointSize="11"/>
                        <color key="textColor" red="0.50196078430000002" green="0.50196078430000002" blue="0.50196078430000002" alpha="0.84705882349999995" 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="bottom" secondItem="yk0-3e-D1o" secondAttribute="bottom" constant="15" id="2zo-k5-4Xd"/>
                <constraint firstItem="rS0-B8-Lyz" firstAttribute="top" secondItem="Zp6-VG-vYG" secondAttribute="bottom" constant="-3" id="HDd-Ml-fnp"/>
                <constraint firstItem="Zp6-VG-vYG" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="10" id="I4f-h6-duR"/>
                <constraint firstItem="Zp6-VG-vYG" firstAttribute="top" secondItem="f0c-OJ-0Bl" secondAttribute="bottom" constant="-2" id="K2f-GN-mml"/>
                <constraint firstItem="E5i-xz-Lcs" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="10" id="Rys-Yk-E85"/>
                <constraint firstItem="yk0-3e-D1o" firstAttribute="top" secondItem="rS0-B8-Lyz" secondAttribute="bottom" constant="9" id="bwH-zS-chm"/>
                <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="f0c-OJ-0Bl" firstAttribute="leading" secondItem="MLv-9B-1FM" secondAttribute="leading" id="jqk-ut-PIq"/>
                <constraint firstItem="yk0-3e-D1o" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" id="mDq-iV-DC9"/>
                <constraint firstItem="f0c-OJ-0Bl" firstAttribute="top" secondItem="MLv-9B-1FM" secondAttribute="bottom" constant="-1" id="oqN-AF-6Uz"/>
                <constraint firstItem="E5i-xz-Lcs" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="10" id="t6F-Ab-Mjh"/>
                <constraint firstItem="rS0-B8-Lyz" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="10" id="wQL-zt-xgN"/>
            </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="f0c-OJ-0Bl" id="0ls-Vm-dFa"/>
                <outlet property="detailLabel" destination="rS0-B8-Lyz" id="i1U-7q-Ajr"/>
                <outlet property="imageView" destination="yk0-3e-D1o" id="uNt-wo-1C6"/>
                <outlet property="lastLabel" destination="Zp6-VG-vYG" id="ows-pE-XmD"/>
                <outlet property="locLabel" destination="rS0-B8-Lyz" id="J8p-Wt-1i5"/>
                <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="22" height="22"/>
        <image name="home_women_health_bg" width="60" height="101.5"/>
    </resources>
</document>