BPReportCell.xib 13.4 KB
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="19529" 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="19519"/>
        <capability name="Safe area layout guides" minToolsVersion="9.0"/>
        <capability name="System colors in document resources" minToolsVersion="11.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="BPReportCell" customModule="HDFwear" customModuleProvider="target">
            <rect key="frame" x="0.0" y="0.0" width="388" height="317"/>
            <autoresizingMask key="autoresizingMask"/>
            <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
                <rect key="frame" x="0.0" y="0.0" width="388" height="317"/>
                <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                <subviews>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="血压" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="dkd-Ow-5tn">
                        <rect key="frame" x="15" y="16" width="30" height="21"/>
                        <fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="15"/>
                        <nil key="textColor"/>
                        <nil key="highlightedColor"/>
                    </label>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="2021.12.11" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="wKw-N1-siW">
                        <rect key="frame" x="323" y="18.5" width="50" height="16"/>
                        <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="11"/>
                        <color key="textColor" red="0.50196078430000002" green="0.50196078430000002" blue="0.50196078430000002" alpha="1" colorSpace="calibratedRGB"/>
                        <nil key="highlightedColor"/>
                    </label>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="平均收缩压" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="mxY-LL-hAK">
                        <rect key="frame" x="64.5" y="260.5" width="65" height="18.5"/>
                        <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="13"/>
                        <color key="textColor" red="0.50196078430000002" green="0.50196078430000002" blue="0.50196078430000002" alpha="1" colorSpace="calibratedRGB"/>
                        <nil key="highlightedColor"/>
                    </label>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="平均舒张压" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="RoG-nR-poh">
                        <rect key="frame" x="258.5" y="260.5" width="65" height="18.5"/>
                        <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="13"/>
                        <color key="textColor" red="0.50196078430000002" green="0.50196078430000002" blue="0.50196078430000002" alpha="1" colorSpace="calibratedRGB"/>
                        <nil key="highlightedColor"/>
                    </label>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="5000" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="eh9-Cx-sT3">
                        <rect key="frame" x="254" y="274" width="60" height="35"/>
                        <fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="25"/>
                        <nil key="textColor"/>
                        <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="DD4-s6-5mh">
                        <rect key="frame" x="62.5" y="274" width="55.5" height="35"/>
                        <fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="25"/>
                        <nil key="textColor"/>
                        <nil key="highlightedColor"/>
                    </label>
                    <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="JFh-3F-SFH">
                        <rect key="frame" x="49.5" y="265" width="10" height="10"/>
                        <color key="backgroundColor" red="1" green="0.82352941180000006" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
                        <constraints>
                            <constraint firstAttribute="width" constant="10" id="DyD-ni-cdO"/>
                            <constraint firstAttribute="height" constant="10" id="v91-DD-yeR"/>
                        </constraints>
                        <userDefinedRuntimeAttributes>
                            <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
                                <integer key="value" value="5"/>
                            </userDefinedRuntimeAttribute>
                        </userDefinedRuntimeAttributes>
                    </view>
                    <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="e7x-IM-xax">
                        <rect key="frame" x="243.5" y="265" width="10" height="10"/>
                        <color key="backgroundColor" red="0.0" green="0.80392156862745101" blue="0.87450980392156863" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                        <constraints>
                            <constraint firstAttribute="width" constant="10" id="RYm-DZ-GQ0"/>
                            <constraint firstAttribute="height" constant="10" id="td4-sl-BF4"/>
                        </constraints>
                        <userDefinedRuntimeAttributes>
                            <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
                                <integer key="value" value="5"/>
                            </userDefinedRuntimeAttribute>
                        </userDefinedRuntimeAttributes>
                    </view>
                    <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="9aL-Za-fdp" customClass="LineChartView" customModule="Charts">
                        <rect key="frame" x="0.0" y="44" width="388" height="204.5"/>
                        <color key="backgroundColor" systemColor="systemBackgroundColor"/>
                    </view>
                </subviews>
            </view>
            <viewLayoutGuide key="safeArea" id="ZTg-uK-7eu"/>
            <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
            <constraints>
                <constraint firstItem="eh9-Cx-sT3" firstAttribute="centerY" secondItem="DD4-s6-5mh" secondAttribute="centerY" id="0D4-Iu-XIT"/>
                <constraint firstItem="RoG-nR-poh" firstAttribute="width" relation="lessThanOrEqual" secondItem="gTV-IL-0wX" secondAttribute="width" multiplier="0.4" id="1WF-0m-2Ui"/>
                <constraint firstItem="e7x-IM-xax" firstAttribute="centerY" secondItem="JFh-3F-SFH" secondAttribute="centerY" id="242-k8-3U5"/>
                <constraint firstItem="RoG-nR-poh" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" multiplier="1.5" id="2lc-1o-5hg"/>
                <constraint firstItem="DD4-s6-5mh" firstAttribute="centerX" secondItem="mxY-LL-hAK" secondAttribute="centerX" constant="-7" id="5AJ-od-BJ3"/>
                <constraint firstItem="RoG-nR-poh" firstAttribute="centerY" secondItem="mxY-LL-hAK" secondAttribute="centerY" id="9hm-S3-ATj"/>
                <constraint firstItem="mxY-LL-hAK" firstAttribute="width" relation="lessThanOrEqual" secondItem="gTV-IL-0wX" secondAttribute="width" multiplier="0.4" id="9ww-td-He7"/>
                <constraint firstAttribute="bottom" secondItem="DD4-s6-5mh" secondAttribute="bottom" constant="8" id="CqL-ef-lu6"/>
                <constraint firstItem="mxY-LL-hAK" firstAttribute="leading" secondItem="JFh-3F-SFH" secondAttribute="trailing" constant="5" id="Eyo-Di-XfQ"/>
                <constraint firstItem="dkd-Ow-5tn" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="16" id="F6o-Ex-euj"/>
                <constraint firstItem="9aL-Za-fdp" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="Hb6-3t-gs1"/>
                <constraint firstItem="mxY-LL-hAK" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" multiplier="0.5" id="JUS-j9-AGa"/>
                <constraint firstItem="mxY-LL-hAK" firstAttribute="top" secondItem="9aL-Za-fdp" secondAttribute="bottom" constant="12" id="KKf-uR-UxK"/>
                <constraint firstAttribute="bottom" secondItem="mxY-LL-hAK" secondAttribute="bottom" constant="38" id="R3m-o0-5R9"/>
                <constraint firstAttribute="trailing" secondItem="9aL-Za-fdp" secondAttribute="trailing" id="bpB-nR-7VH"/>
                <constraint firstItem="mxY-LL-hAK" firstAttribute="centerY" secondItem="JFh-3F-SFH" secondAttribute="centerY" id="iGB-iG-i0v"/>
                <constraint firstItem="9aL-Za-fdp" firstAttribute="top" secondItem="dkd-Ow-5tn" secondAttribute="bottom" constant="7" id="iZB-rs-DbJ"/>
                <constraint firstItem="RoG-nR-poh" firstAttribute="leading" secondItem="e7x-IM-xax" secondAttribute="trailing" constant="5" id="od1-AK-bvT"/>
                <constraint firstAttribute="trailing" secondItem="wKw-N1-siW" secondAttribute="trailing" constant="15" id="qIz-ur-E4Q"/>
                <constraint firstItem="wKw-N1-siW" firstAttribute="centerY" secondItem="dkd-Ow-5tn" secondAttribute="centerY" id="rGU-j4-0Pa"/>
                <constraint firstItem="dkd-Ow-5tn" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="15" id="zOk-eW-hMo"/>
                <constraint firstItem="eh9-Cx-sT3" firstAttribute="centerX" secondItem="RoG-nR-poh" secondAttribute="centerX" constant="-7" id="zW9-36-08W"/>
            </constraints>
            <size key="customSize" width="388" height="317"/>
            <userDefinedRuntimeAttributes>
                <userDefinedRuntimeAttribute type="color" keyPath="layer.borderUIColor">
                    <color key="value" red="0.80000000000000004" green="0.80000000000000004" blue="0.80000000000000004" alpha="1" colorSpace="calibratedRGB"/>
                </userDefinedRuntimeAttribute>
                <userDefinedRuntimeAttribute type="number" keyPath="layer.borderWidth">
                    <integer key="value" value="1"/>
                </userDefinedRuntimeAttribute>
                <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
                    <integer key="value" value="10"/>
                </userDefinedRuntimeAttribute>
            </userDefinedRuntimeAttributes>
            <connections>
                <outlet property="dateLabel" destination="wKw-N1-siW" id="75x-ts-6yq"/>
                <outlet property="dbpLabel" destination="eh9-Cx-sT3" id="2ey-ny-GuV"/>
                <outlet property="lineChartView" destination="9aL-Za-fdp" id="RXq-nG-TTi"/>
                <outlet property="sbpLabel" destination="DD4-s6-5mh" id="Giw-vN-a7M"/>
            </connections>
            <point key="canvasLocation" x="382.60869565217394" y="143.63839285714286"/>
        </collectionViewCell>
    </objects>
    <resources>
        <systemColor name="systemBackgroundColor">
            <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
        </systemColor>
    </resources>
</document>