123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- <?xml version="1.0" encoding="UTF-8"?>
- <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="15505" 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="15510"/>
- <capability name="Safe area layout guides" minToolsVersion="9.0"/>
- <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
- </dependencies>
- <customFonts key="customFonts">
- <array key="PingFangSC Heavy.ttf">
- <string>PingFang-SC-Heavy</string>
- </array>
- </customFonts>
- <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="IHIHRoomListCell" customModule="Inhealth" customModuleProvider="target">
- <rect key="frame" x="0.0" y="0.0" width="154" height="170"/>
- <autoresizingMask key="autoresizingMask"/>
- <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
- <rect key="frame" x="0.0" y="0.0" width="154" height="170"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <subviews>
- <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="启用状态" translatesAutoresizingMaskIntoConstraints="NO" id="WNZ-E0-Ovk">
- <rect key="frame" x="0.0" y="0.0" width="154" height="170"/>
- </imageView>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Light-A" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Qdo-mc-jVl">
- <rect key="frame" x="15" y="15" width="55.5" height="21"/>
- <fontDescription key="fontDescription" name="PingFang-SC-Heavy" family="PingFang SC" pointSize="15"/>
- <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
- <nil key="highlightedColor"/>
- </label>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Lights" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Zdt-kH-YQL">
- <rect key="frame" x="15" y="37" width="38" height="19"/>
- <fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="13"/>
- <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
- <nil key="highlightedColor"/>
- </label>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="30%" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="41E-t5-K2h">
- <rect key="frame" x="15" y="129.5" width="40" height="25.5"/>
- <fontDescription key="fontDescription" name="PingFang-SC-Heavy" family="PingFang SC" pointSize="18"/>
- <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
- <nil key="highlightedColor"/>
- </label>
- <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="U9g-GN-NZM">
- <rect key="frame" x="103" y="132" width="36" height="20"/>
- <subviews>
- <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="IjS-0n-O76">
- <rect key="frame" x="0.0" y="0.0" width="36" height="20"/>
- </button>
- </subviews>
- <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
- <constraints>
- <constraint firstAttribute="height" constant="20" id="31k-MU-ct2"/>
- <constraint firstAttribute="bottom" secondItem="IjS-0n-O76" secondAttribute="bottom" id="BOI-iO-yMd"/>
- <constraint firstAttribute="width" constant="36" id="BbO-Cf-pcV"/>
- <constraint firstItem="IjS-0n-O76" firstAttribute="leading" secondItem="U9g-GN-NZM" secondAttribute="leading" id="Haz-bB-nUS"/>
- <constraint firstAttribute="trailing" secondItem="IjS-0n-O76" secondAttribute="trailing" id="PP8-XH-HiK"/>
- <constraint firstItem="IjS-0n-O76" firstAttribute="top" secondItem="U9g-GN-NZM" secondAttribute="top" id="mhF-gk-Tum"/>
- </constraints>
- </view>
- <imageView hidden="YES" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="gJ8-Hc-KfC">
- <rect key="frame" x="114" y="15" width="25" height="25"/>
- <color key="backgroundColor" systemColor="systemPinkColor" red="1" green="0.1764705882" blue="0.33333333329999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <constraints>
- <constraint firstAttribute="height" constant="25" id="VAD-g7-5GT"/>
- <constraint firstAttribute="width" constant="25" id="XGw-M7-bCB"/>
- </constraints>
- </imageView>
- </subviews>
- </view>
- <constraints>
- <constraint firstAttribute="bottom" secondItem="U9g-GN-NZM" secondAttribute="bottom" constant="18" id="5xZ-2l-kae"/>
- <constraint firstAttribute="bottom" secondItem="41E-t5-K2h" secondAttribute="bottom" constant="15" id="BQ7-UH-7Cf"/>
- <constraint firstItem="41E-t5-K2h" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="15" id="O2K-JU-FHF"/>
- <constraint firstItem="gJ8-Hc-KfC" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="15" id="Oy6-95-Yel"/>
- <constraint firstItem="WNZ-E0-Ovk" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="Ptn-tx-MD4"/>
- <constraint firstItem="Zdt-kH-YQL" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="15" id="Un4-DN-T47"/>
- <constraint firstItem="Zdt-kH-YQL" firstAttribute="top" secondItem="Qdo-mc-jVl" secondAttribute="bottom" constant="1" id="YZJ-vJ-pxl"/>
- <constraint firstAttribute="trailing" secondItem="WNZ-E0-Ovk" secondAttribute="trailing" id="fAc-uj-kQn"/>
- <constraint firstItem="Qdo-mc-jVl" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="15" id="fFH-tn-WLy"/>
- <constraint firstAttribute="trailing" secondItem="U9g-GN-NZM" secondAttribute="trailing" constant="15" id="kvW-TB-LDP"/>
- <constraint firstItem="Qdo-mc-jVl" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="15" id="rnS-fm-IoK"/>
- <constraint firstAttribute="bottom" secondItem="WNZ-E0-Ovk" secondAttribute="bottom" id="uq5-8x-ooD"/>
- <constraint firstAttribute="trailing" secondItem="gJ8-Hc-KfC" secondAttribute="trailing" constant="15" id="wN5-qj-0aK"/>
- <constraint firstItem="WNZ-E0-Ovk" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="wRm-2G-H0t"/>
- </constraints>
- <viewLayoutGuide key="safeArea" id="ZTg-uK-7eu"/>
- <size key="customSize" width="154" height="170"/>
- <userDefinedRuntimeAttributes>
- <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
- <real key="value" value="10"/>
- </userDefinedRuntimeAttribute>
- </userDefinedRuntimeAttributes>
- <connections>
- <outlet property="bgView" destination="WNZ-E0-Ovk" id="W00-KT-Qdu"/>
- <outlet property="devNameLabel" destination="Qdo-mc-jVl" id="ETn-JX-KGz"/>
- <outlet property="devTypeLabel" destination="Zdt-kH-YQL" id="5TT-7d-Tko"/>
- <outlet property="lightnessLabel" destination="41E-t5-K2h" id="wyY-Dg-XvB"/>
- <outlet property="repairIcon" destination="gJ8-Hc-KfC" id="7sn-G6-LQh"/>
- <outlet property="switchBtn" destination="IjS-0n-O76" id="ZVa-UE-5wQ"/>
- </connections>
- <point key="canvasLocation" x="213.04347826086959" y="152.67857142857142"/>
- </collectionViewCell>
- </objects>
- <resources>
- <image name="启用状态" width="155" height="144"/>
- </resources>
- </document>
|