IHAQLevelCell.xib 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina6_1" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/>
  7. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  8. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  9. </dependencies>
  10. <objects>
  11. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  12. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  13. <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="109" id="KGk-i7-Jjw" customClass="IHAQLevelCell" customModule="智能照明" customModuleProvider="target">
  14. <rect key="frame" x="0.0" y="0.0" width="322" height="109"/>
  15. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  16. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
  17. <rect key="frame" x="0.0" y="0.0" width="322" height="109"/>
  18. <autoresizingMask key="autoresizingMask"/>
  19. <subviews>
  20. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="lYh-ki-0dS">
  21. <rect key="frame" x="121" y="15" width="80" height="33"/>
  22. <subviews>
  23. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="9TL-Yb-r4R">
  24. <rect key="frame" x="22" y="14" width="5" height="5"/>
  25. <color key="backgroundColor" red="0.0" green="0.45098039215686275" blue="0.90196078431372551" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  26. <constraints>
  27. <constraint firstAttribute="width" constant="5" id="hzD-9P-g1t"/>
  28. <constraint firstAttribute="height" constant="5" id="q6C-Ai-Amc"/>
  29. </constraints>
  30. <userDefinedRuntimeAttributes>
  31. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  32. <real key="value" value="2"/>
  33. </userDefinedRuntimeAttribute>
  34. </userDefinedRuntimeAttributes>
  35. </view>
  36. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="指数中" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="42m-1U-mN6">
  37. <rect key="frame" x="34" y="8" width="36" height="17"/>
  38. <fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="12"/>
  39. <color key="textColor" red="0.67450980392156867" green="0.70588235294117641" blue="0.74117647058823533" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  40. <nil key="highlightedColor"/>
  41. </label>
  42. </subviews>
  43. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  44. <constraints>
  45. <constraint firstItem="9TL-Yb-r4R" firstAttribute="centerY" secondItem="lYh-ki-0dS" secondAttribute="centerY" id="2gZ-Tm-Zib"/>
  46. <constraint firstItem="42m-1U-mN6" firstAttribute="centerY" secondItem="lYh-ki-0dS" secondAttribute="centerY" id="BwK-ac-g4L"/>
  47. <constraint firstItem="42m-1U-mN6" firstAttribute="leading" secondItem="9TL-Yb-r4R" secondAttribute="trailing" constant="7" id="HCs-mI-LOk"/>
  48. <constraint firstAttribute="trailing" secondItem="42m-1U-mN6" secondAttribute="trailing" constant="10" id="Rj0-H2-vnn"/>
  49. <constraint firstAttribute="width" constant="80" id="Tws-nL-okb"/>
  50. <constraint firstAttribute="height" constant="33" id="UJf-yu-Rln"/>
  51. </constraints>
  52. </view>
  53. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="c8t-9Y-h8i">
  54. <rect key="frame" x="20" y="15" width="80" height="33"/>
  55. <subviews>
  56. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="vea-kE-kgA">
  57. <rect key="frame" x="0.0" y="14" width="5" height="5"/>
  58. <color key="backgroundColor" red="0.019607843137254902" green="0.81176470588235294" blue="0.6705882352941176" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  59. <constraints>
  60. <constraint firstAttribute="height" constant="5" id="25V-dp-qkR"/>
  61. <constraint firstAttribute="width" constant="5" id="ckw-ug-PV3"/>
  62. </constraints>
  63. <userDefinedRuntimeAttributes>
  64. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  65. <real key="value" value="2"/>
  66. </userDefinedRuntimeAttribute>
  67. </userDefinedRuntimeAttributes>
  68. </view>
  69. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="指数优" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8gV-Lt-J0N">
  70. <rect key="frame" x="12" y="8" width="36" height="17"/>
  71. <fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="12"/>
  72. <color key="textColor" red="0.67450980392156867" green="0.70588235294117641" blue="0.74117647058823533" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  73. <nil key="highlightedColor"/>
  74. </label>
  75. </subviews>
  76. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  77. <constraints>
  78. <constraint firstAttribute="width" constant="80" id="3JX-kN-5I8"/>
  79. <constraint firstItem="8gV-Lt-J0N" firstAttribute="centerY" secondItem="c8t-9Y-h8i" secondAttribute="centerY" id="ib3-zl-RFj"/>
  80. <constraint firstItem="vea-kE-kgA" firstAttribute="leading" secondItem="c8t-9Y-h8i" secondAttribute="leading" id="lJ6-z2-t9W"/>
  81. <constraint firstItem="8gV-Lt-J0N" firstAttribute="leading" secondItem="vea-kE-kgA" secondAttribute="trailing" constant="7" id="rfL-hr-oH6"/>
  82. <constraint firstItem="vea-kE-kgA" firstAttribute="centerY" secondItem="c8t-9Y-h8i" secondAttribute="centerY" id="x7j-DB-Y49"/>
  83. <constraint firstAttribute="height" constant="33" id="yAU-Q6-FlA"/>
  84. </constraints>
  85. </view>
  86. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="uGJ-Sg-SR0">
  87. <rect key="frame" x="217" y="15" width="80" height="33"/>
  88. <subviews>
  89. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="wYl-tu-WKx">
  90. <rect key="frame" x="32" y="14" width="5" height="5"/>
  91. <color key="backgroundColor" red="1" green="0.047058823529411764" blue="0.30196078431372547" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  92. <constraints>
  93. <constraint firstAttribute="height" constant="5" id="AFe-JF-xHv"/>
  94. <constraint firstAttribute="width" constant="5" id="Blv-DE-U7b"/>
  95. </constraints>
  96. <userDefinedRuntimeAttributes>
  97. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  98. <real key="value" value="2"/>
  99. </userDefinedRuntimeAttribute>
  100. </userDefinedRuntimeAttributes>
  101. </view>
  102. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="指数差" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="xob-Rd-Srw">
  103. <rect key="frame" x="44" y="8" width="36" height="17"/>
  104. <fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="12"/>
  105. <color key="textColor" red="0.67450980392156867" green="0.70588235294117641" blue="0.74117647058823533" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  106. <nil key="highlightedColor"/>
  107. </label>
  108. </subviews>
  109. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  110. <constraints>
  111. <constraint firstAttribute="width" constant="80" id="4Vk-ce-JRQ"/>
  112. <constraint firstItem="xob-Rd-Srw" firstAttribute="leading" secondItem="wYl-tu-WKx" secondAttribute="trailing" constant="7" id="4xs-wx-ML5"/>
  113. <constraint firstAttribute="trailing" secondItem="xob-Rd-Srw" secondAttribute="trailing" id="81M-iW-dDz"/>
  114. <constraint firstItem="wYl-tu-WKx" firstAttribute="centerY" secondItem="uGJ-Sg-SR0" secondAttribute="centerY" id="Ess-Ue-52k"/>
  115. <constraint firstItem="xob-Rd-Srw" firstAttribute="centerY" secondItem="uGJ-Sg-SR0" secondAttribute="centerY" id="G6f-uI-fPk"/>
  116. <constraint firstAttribute="height" constant="33" id="MQH-9T-3Zc"/>
  117. </constraints>
  118. </view>
  119. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="8473" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="kMn-bN-S2T">
  120. <rect key="frame" x="30" y="48" width="80" height="23"/>
  121. <constraints>
  122. <constraint firstAttribute="width" constant="80" id="lMK-yX-E6f"/>
  123. </constraints>
  124. <fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="16"/>
  125. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  126. <nil key="highlightedColor"/>
  127. </label>
  128. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="859" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="QDM-Sv-kU4">
  129. <rect key="frame" x="121" y="48" width="80" height="23"/>
  130. <constraints>
  131. <constraint firstAttribute="width" constant="80" id="rZm-dv-R0e"/>
  132. </constraints>
  133. <fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="16"/>
  134. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  135. <nil key="highlightedColor"/>
  136. </label>
  137. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="68" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="aRU-AQ-jMC">
  138. <rect key="frame" x="212" y="48" width="80" height="23"/>
  139. <constraints>
  140. <constraint firstAttribute="width" constant="80" id="aNd-hm-WOP"/>
  141. </constraints>
  142. <fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="16"/>
  143. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  144. <nil key="highlightedColor"/>
  145. </label>
  146. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Y0c-rn-IOX">
  147. <rect key="frame" x="23" y="81" width="276" height="4"/>
  148. <constraints>
  149. <constraint firstAttribute="height" constant="4" id="3B5-Su-h1z"/>
  150. <constraint firstAttribute="height" relation="greaterThanOrEqual" constant="4" id="rco-yx-wVl"/>
  151. </constraints>
  152. <userDefinedRuntimeAttributes>
  153. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  154. <real key="value" value="2"/>
  155. </userDefinedRuntimeAttribute>
  156. </userDefinedRuntimeAttributes>
  157. </view>
  158. </subviews>
  159. <constraints>
  160. <constraint firstAttribute="trailing" secondItem="aRU-AQ-jMC" secondAttribute="trailing" constant="30" id="1PH-8v-jfS"/>
  161. <constraint firstItem="QDM-Sv-kU4" firstAttribute="top" secondItem="lYh-ki-0dS" secondAttribute="bottom" id="GT7-rS-qFg"/>
  162. <constraint firstItem="uGJ-Sg-SR0" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="15" id="LPd-2n-MVM"/>
  163. <constraint firstAttribute="trailing" secondItem="Y0c-rn-IOX" secondAttribute="trailing" constant="23" id="Ljl-7Q-od9"/>
  164. <constraint firstItem="kMn-bN-S2T" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="30" id="NUQ-Ju-Ovj"/>
  165. <constraint firstAttribute="trailing" secondItem="uGJ-Sg-SR0" secondAttribute="trailing" constant="25" id="PDP-bW-A6x"/>
  166. <constraint firstItem="Y0c-rn-IOX" firstAttribute="top" secondItem="kMn-bN-S2T" secondAttribute="bottom" constant="10" id="WWX-sT-vEH"/>
  167. <constraint firstItem="lYh-ki-0dS" firstAttribute="centerX" secondItem="H2p-sc-9uM" secondAttribute="centerX" id="ZQ4-X0-s27"/>
  168. <constraint firstItem="kMn-bN-S2T" firstAttribute="top" secondItem="c8t-9Y-h8i" secondAttribute="bottom" id="aXR-ny-SoB"/>
  169. <constraint firstItem="QDM-Sv-kU4" firstAttribute="centerX" secondItem="H2p-sc-9uM" secondAttribute="centerX" id="czP-ML-lJJ"/>
  170. <constraint firstItem="aRU-AQ-jMC" firstAttribute="top" secondItem="uGJ-Sg-SR0" secondAttribute="bottom" id="jXJ-9U-a8u"/>
  171. <constraint firstItem="Y0c-rn-IOX" firstAttribute="top" secondItem="kMn-bN-S2T" secondAttribute="bottom" constant="10" id="lcA-Jw-hxM"/>
  172. <constraint firstItem="c8t-9Y-h8i" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="15" id="mew-qQ-bMs"/>
  173. <constraint firstItem="lYh-ki-0dS" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="15" id="qfU-YT-4iV"/>
  174. <constraint firstItem="c8t-9Y-h8i" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="20" id="uFn-F2-Yam"/>
  175. <constraint firstItem="Y0c-rn-IOX" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="23" id="w2u-vA-aBD"/>
  176. </constraints>
  177. </tableViewCellContentView>
  178. <color key="backgroundColor" red="0.96470588235294119" green="0.97254901960784312" blue="0.96862745098039216" alpha="0.84705882352941175" colorSpace="calibratedRGB"/>
  179. <viewLayoutGuide key="safeArea" id="njF-e1-oar"/>
  180. <connections>
  181. <outlet property="levelBox" destination="Y0c-rn-IOX" id="Sn6-7k-3tz"/>
  182. </connections>
  183. <point key="canvasLocation" x="139.13043478260872" y="138.28125"/>
  184. </tableViewCell>
  185. </objects>
  186. </document>