123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138 |
- <?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_0" orientation="portrait" appearance="light"/>
- <dependencies>
- <deployment identifier="iOS"/>
- <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21679"/>
- <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="RDSRoomCell">
- <rect key="frame" x="0.0" y="0.0" width="170" 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="170" height="170"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <subviews>
- <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="DbI-Ub-FRA">
- <rect key="frame" x="0.0" y="0.0" width="170" height="170"/>
- <subviews>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="客厅" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Aot-bh-aOC">
- <rect key="frame" x="20" y="25" width="37" height="22"/>
- <fontDescription key="fontDescription" type="boldSystem" pointSize="18"/>
- <color key="textColor" red="0.15294117647058825" green="0.1803921568627451" blue="0.23137254901960785" alpha="1" colorSpace="calibratedRGB"/>
- <color key="highlightedColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
- </label>
- <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="hbX-2l-27d">
- <rect key="frame" x="108" y="11" width="50" height="50"/>
- <constraints>
- <constraint firstAttribute="width" constant="50" id="H7M-9E-saU"/>
- <constraint firstAttribute="height" constant="50" id="XnE-w9-1Mv"/>
- </constraints>
- <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
- <state key="normal" image="icon_on"/>
- <state key="selected" image="icon_on_sel"/>
- </button>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="15℃" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Q1b-xB-yIB">
- <rect key="frame" x="43" y="77" width="36" height="20"/>
- <fontDescription key="fontDescription" type="system" pointSize="16"/>
- <color key="textColor" red="0.30588235289999999" green="0.34901960780000002" blue="0.41176470590000003" alpha="1" colorSpace="calibratedRGB"/>
- <color key="highlightedColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
- </label>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="59%" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="xPg-wM-ct3">
- <rect key="frame" x="43" y="112" width="34" height="20"/>
- <fontDescription key="fontDescription" type="system" pointSize="16"/>
- <color key="textColor" red="0.30588235289999999" green="0.34901960780000002" blue="0.41176470590000003" alpha="1" colorSpace="calibratedRGB"/>
- <color key="highlightedColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
- </label>
- <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="icon_temperature" highlightedImage="icon_temperature_w" translatesAutoresizingMaskIntoConstraints="NO" id="Sra-QX-Ywa">
- <rect key="frame" x="16" y="75" width="24" height="24"/>
- </imageView>
- <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="icon_humidity" highlightedImage="icon_humidity_w" translatesAutoresizingMaskIntoConstraints="NO" id="X9c-gC-mxz">
- <rect key="frame" x="16" y="110" width="24" height="24"/>
- </imageView>
- <button hidden="YES" opaque="NO" contentMode="center" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="TMp-xl-bWe">
- <rect key="frame" x="108" y="11" width="50" height="50"/>
- <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
- <state key="normal" image="icon_delete"/>
- </button>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="400" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ZXw-hK-Rmy">
- <rect key="frame" x="122.33333333333331" y="75.666666666666671" width="29" height="22.666666666666671"/>
- <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="16"/>
- <color key="textColor" red="0.30588235289999999" green="0.34901960780000002" blue="0.41176470590000003" alpha="1" colorSpace="calibratedRGB"/>
- <color key="highlightedColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
- </label>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="455" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="0yt-r9-7bb">
- <rect key="frame" x="122.33333333333331" y="108.66666666666667" width="29" height="22.666666666666671"/>
- <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="16"/>
- <color key="textColor" red="0.30588235289999999" green="0.34901960780000002" blue="0.41176470590000003" alpha="1" colorSpace="calibratedRGB"/>
- <color key="highlightedColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
- </label>
- <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="icon_pm2.5_off" highlightedImage="icon_pm2.5_on" translatesAutoresizingMaskIntoConstraints="NO" id="1ik-5e-ZJH">
- <rect key="frame" x="95.333333333333329" y="76" width="22" height="22"/>
- </imageView>
- <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="icon_co2_off" highlightedImage="icon_co2_on" translatesAutoresizingMaskIntoConstraints="NO" id="Q89-50-OWS">
- <rect key="frame" x="95.333333333333329" y="109" width="22" height="22"/>
- </imageView>
- </subviews>
- <color key="backgroundColor" red="0.94117647058823528" green="0.96078431372549022" blue="0.96470588235294119" alpha="1" colorSpace="calibratedRGB"/>
- <constraints>
- <constraint firstItem="Q1b-xB-yIB" firstAttribute="leading" secondItem="Sra-QX-Ywa" secondAttribute="trailing" constant="3" id="00t-ac-jt3"/>
- <constraint firstItem="Q89-50-OWS" firstAttribute="top" secondItem="1ik-5e-ZJH" secondAttribute="bottom" constant="11" id="5EA-Jw-TAg"/>
- <constraint firstItem="hbX-2l-27d" firstAttribute="centerY" secondItem="Aot-bh-aOC" secondAttribute="centerY" id="7Lo-bR-Bte"/>
- <constraint firstItem="TMp-xl-bWe" firstAttribute="width" secondItem="hbX-2l-27d" secondAttribute="width" id="Ekq-Xd-xbP"/>
- <constraint firstItem="Q89-50-OWS" firstAttribute="centerX" secondItem="1ik-5e-ZJH" secondAttribute="centerX" id="Esp-8c-zSt"/>
- <constraint firstItem="0yt-r9-7bb" firstAttribute="leading" secondItem="ZXw-hK-Rmy" secondAttribute="leading" id="Hkh-PW-8Ja"/>
- <constraint firstItem="1ik-5e-ZJH" firstAttribute="centerY" secondItem="Sra-QX-Ywa" secondAttribute="centerY" id="KAT-va-DUD"/>
- <constraint firstItem="1ik-5e-ZJH" firstAttribute="centerX" secondItem="DbI-Ub-FRA" secondAttribute="centerX" multiplier="1.25" id="L3w-la-qdi"/>
- <constraint firstItem="Sra-QX-Ywa" firstAttribute="leading" secondItem="Aot-bh-aOC" secondAttribute="leading" multiplier="0.8" id="L6P-IA-DfR"/>
- <constraint firstItem="Q89-50-OWS" firstAttribute="centerY" secondItem="0yt-r9-7bb" secondAttribute="centerY" id="MKU-Es-F07"/>
- <constraint firstItem="Q1b-xB-yIB" firstAttribute="centerY" secondItem="Sra-QX-Ywa" secondAttribute="centerY" id="OdG-Sz-vrE"/>
- <constraint firstItem="Aot-bh-aOC" firstAttribute="top" secondItem="DbI-Ub-FRA" secondAttribute="top" constant="25" id="Qhp-TD-6LE"/>
- <constraint firstItem="TMp-xl-bWe" firstAttribute="height" secondItem="hbX-2l-27d" secondAttribute="height" id="QoS-dO-pK7"/>
- <constraint firstItem="X9c-gC-mxz" firstAttribute="centerY" secondItem="xPg-wM-ct3" secondAttribute="centerY" id="Tkg-Eb-9Q0"/>
- <constraint firstAttribute="trailing" secondItem="TMp-xl-bWe" secondAttribute="trailing" constant="12" id="Tsx-as-OiD"/>
- <constraint firstItem="ZXw-hK-Rmy" firstAttribute="centerY" secondItem="1ik-5e-ZJH" secondAttribute="centerY" id="W0K-WL-hjR"/>
- <constraint firstItem="ZXw-hK-Rmy" firstAttribute="leading" secondItem="1ik-5e-ZJH" secondAttribute="trailing" constant="5" id="cVg-b6-xhd"/>
- <constraint firstItem="X9c-gC-mxz" firstAttribute="centerX" secondItem="Sra-QX-Ywa" secondAttribute="centerX" id="drl-cP-w05"/>
- <constraint firstItem="xPg-wM-ct3" firstAttribute="leading" secondItem="X9c-gC-mxz" secondAttribute="trailing" constant="3" id="eeu-WT-u1H"/>
- <constraint firstItem="Aot-bh-aOC" firstAttribute="leading" secondItem="DbI-Ub-FRA" secondAttribute="leading" constant="20" id="gZy-c4-cWK"/>
- <constraint firstItem="Sra-QX-Ywa" firstAttribute="top" secondItem="Aot-bh-aOC" secondAttribute="bottom" constant="28" id="jJU-sf-bYi"/>
- <constraint firstAttribute="trailing" secondItem="hbX-2l-27d" secondAttribute="trailing" constant="12" id="m5Q-KY-Rtc"/>
- <constraint firstItem="X9c-gC-mxz" firstAttribute="top" secondItem="Sra-QX-Ywa" secondAttribute="bottom" constant="11" id="mDt-8U-jmc"/>
- <constraint firstItem="TMp-xl-bWe" firstAttribute="centerY" secondItem="Aot-bh-aOC" secondAttribute="centerY" id="ofQ-IT-98w"/>
- </constraints>
- <userDefinedRuntimeAttributes>
- <userDefinedRuntimeAttribute type="string" keyPath="layer.cornerRadius" value="20"/>
- <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
- </userDefinedRuntimeAttributes>
- </view>
- </subviews>
- </view>
- <viewLayoutGuide key="safeArea" id="SEy-5g-ep8"/>
- <constraints>
- <constraint firstItem="DbI-Ub-FRA" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="L5M-gK-ZeZ"/>
- <constraint firstAttribute="bottom" secondItem="DbI-Ub-FRA" secondAttribute="bottom" id="dx4-5Z-TTd"/>
- <constraint firstItem="DbI-Ub-FRA" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="t51-FA-ul1"/>
- <constraint firstAttribute="trailing" secondItem="DbI-Ub-FRA" secondAttribute="trailing" id="yFO-E5-08e"/>
- </constraints>
- <point key="canvasLocation" x="136.92307692307691" y="20.616113744075829"/>
- </collectionViewCell>
- </objects>
- <resources>
- <image name="icon_co2_off" width="22" height="22"/>
- <image name="icon_co2_on" width="22" height="22"/>
- <image name="icon_delete" width="50" height="50"/>
- <image name="icon_humidity" width="24" height="24"/>
- <image name="icon_humidity_w" width="24" height="24"/>
- <image name="icon_on" width="50" height="50"/>
- <image name="icon_on_sel" width="50" height="50"/>
- <image name="icon_pm2.5_off" width="22" height="22"/>
- <image name="icon_pm2.5_on" width="22" height="22"/>
- <image name="icon_temperature" width="24" height="24"/>
- <image name="icon_temperature_w" width="24" height="24"/>
- </resources>
- </document>
|