IHSeviceListCell.xib 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" 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. <customFonts key="customFonts">
  11. <array key="Alibaba-PuHuiTi-Medium.otf">
  12. <string>AlibabaPuHuiTiM</string>
  13. </array>
  14. </customFonts>
  15. <objects>
  16. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  17. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  18. <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="191" id="KGk-i7-Jjw" customClass="IHSeviceListCell" customModule="教育照明" customModuleProvider="target">
  19. <rect key="frame" x="0.0" y="0.0" width="334" height="191"/>
  20. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  21. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
  22. <rect key="frame" x="0.0" y="0.0" width="334" height="191"/>
  23. <autoresizingMask key="autoresizingMask"/>
  24. <subviews>
  25. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Uxc-qU-ide">
  26. <rect key="frame" x="20" y="10" width="294" height="171"/>
  27. <subviews>
  28. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" image="No maintenance" translatesAutoresizingMaskIntoConstraints="NO" id="E0b-7U-l3x">
  29. <rect key="frame" x="20" y="18" width="30" height="30"/>
  30. <constraints>
  31. <constraint firstAttribute="width" constant="30" id="1qn-9W-br3"/>
  32. <constraint firstAttribute="height" constant="30" id="4Ff-i9-JYY"/>
  33. </constraints>
  34. </imageView>
  35. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Light1-8392" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="QlQ-T7-yNf">
  36. <rect key="frame" x="60" y="15" width="81.5" height="19.5"/>
  37. <fontDescription key="fontDescription" name="AlibabaPuHuiTiM" family="Alibaba PuHuiTi" pointSize="14"/>
  38. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  39. <nil key="highlightedColor"/>
  40. </label>
  41. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="A1-1203" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="FU2-ce-TKt">
  42. <rect key="frame" x="60" y="35.5" width="45" height="15.5"/>
  43. <fontDescription key="fontDescription" name="AlibabaPuHuiTiM" family="Alibaba PuHuiTi" pointSize="11"/>
  44. <color key="textColor" red="0.396078431372549" green="0.4392156862745098" blue="0.52156862745098043" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  45. <nil key="highlightedColor"/>
  46. </label>
  47. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="未维修" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="KMK-wV-EG2">
  48. <rect key="frame" x="164" y="32" width="110" height="20"/>
  49. <color key="backgroundColor" red="1" green="0.047058823529411764" blue="0.30196078431372547" alpha="0.1985914689781022" colorSpace="custom" customColorSpace="sRGB"/>
  50. <constraints>
  51. <constraint firstAttribute="width" constant="110" id="TCu-Ot-eHH"/>
  52. <constraint firstAttribute="height" constant="20" id="gzG-ER-7jW"/>
  53. </constraints>
  54. <fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="12"/>
  55. <color key="textColor" red="1" green="0.047058823529411764" blue="0.30196078431372547" alpha="1" colorSpace="calibratedRGB"/>
  56. <nil key="highlightedColor"/>
  57. <userDefinedRuntimeAttributes>
  58. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  59. <real key="value" value="2"/>
  60. </userDefinedRuntimeAttribute>
  61. </userDefinedRuntimeAttributes>
  62. </label>
  63. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="QdU-2G-1aH">
  64. <rect key="frame" x="20" y="61" width="254" height="27"/>
  65. <subviews>
  66. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="hpn-R0-fZf">
  67. <rect key="frame" x="13" y="11.5" width="4" height="4"/>
  68. <color key="backgroundColor" red="1" green="0.047058823529411764" blue="0.30196078431372547" alpha="1" colorSpace="calibratedRGB"/>
  69. <constraints>
  70. <constraint firstAttribute="width" constant="4" id="0nQ-pv-9fk"/>
  71. <constraint firstAttribute="height" constant="4" id="ual-ol-KKu"/>
  72. </constraints>
  73. <userDefinedRuntimeAttributes>
  74. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  75. <real key="value" value="2"/>
  76. </userDefinedRuntimeAttribute>
  77. </userDefinedRuntimeAttributes>
  78. </view>
  79. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="2 light bulb is damage" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="kU9-R8-yoK">
  80. <rect key="frame" x="24" y="5" width="128" height="17"/>
  81. <fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="12"/>
  82. <color key="textColor" red="0.396078431372549" green="0.4392156862745098" blue="0.52156862745098043" alpha="1" colorSpace="calibratedRGB"/>
  83. <nil key="highlightedColor"/>
  84. </label>
  85. </subviews>
  86. <color key="backgroundColor" red="0.96470588235294119" green="0.97254901960784312" blue="0.96862745098039216" alpha="1" colorSpace="calibratedRGB"/>
  87. <constraints>
  88. <constraint firstItem="hpn-R0-fZf" firstAttribute="centerY" secondItem="QdU-2G-1aH" secondAttribute="centerY" id="AAo-75-Ehh"/>
  89. <constraint firstItem="hpn-R0-fZf" firstAttribute="leading" secondItem="QdU-2G-1aH" secondAttribute="leading" constant="13" id="OFQ-Z6-kxt"/>
  90. <constraint firstAttribute="height" constant="27" id="i6Q-rr-ZgA"/>
  91. <constraint firstItem="kU9-R8-yoK" firstAttribute="centerY" secondItem="QdU-2G-1aH" secondAttribute="centerY" id="icc-pc-7He"/>
  92. <constraint firstItem="kU9-R8-yoK" firstAttribute="leading" secondItem="hpn-R0-fZf" secondAttribute="trailing" constant="7" id="mUK-gT-WTT"/>
  93. </constraints>
  94. </view>
  95. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="fZc-Sn-vRb">
  96. <rect key="frame" x="0.0" y="131" width="294" height="30"/>
  97. <subviews>
  98. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="lLd-wN-vrU" customClass="IHServiceButton" customModule="教育照明" customModuleProvider="target">
  99. <rect key="frame" x="0.0" y="0.0" width="97.5" height="30"/>
  100. <fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="12"/>
  101. <state key="normal" title="详情" image="details">
  102. <color key="titleColor" red="0.39607843139999999" green="0.43921568630000002" blue="0.52156862749999999" alpha="1" colorSpace="calibratedRGB"/>
  103. </state>
  104. <connections>
  105. <action selector="detailAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="bF0-fr-du4"/>
  106. </connections>
  107. </button>
  108. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="IV1-f0-lHE" userLabel="line1">
  109. <rect key="frame" x="97.5" y="10" width="0.5" height="10"/>
  110. <color key="backgroundColor" red="0.77647058820000003" green="0.80392156859999997" blue="0.83529411760000005" alpha="1" colorSpace="calibratedRGB"/>
  111. <constraints>
  112. <constraint firstAttribute="width" constant="0.5" id="hdB-IR-wsH"/>
  113. <constraint firstAttribute="height" constant="10" id="ihz-Df-WK2"/>
  114. </constraints>
  115. </view>
  116. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Yue-Hu-Z4X" customClass="IHServiceButton" customModule="教育照明" customModuleProvider="target">
  117. <rect key="frame" x="98" y="0.0" width="98" height="30"/>
  118. <fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="12"/>
  119. <state key="normal" title="调度维修" image="repair">
  120. <color key="titleColor" red="0.39607843139999999" green="0.43921568630000002" blue="0.52156862749999999" alpha="1" colorSpace="calibratedRGB"/>
  121. </state>
  122. <connections>
  123. <action selector="repairAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="ail-J4-DWZ"/>
  124. </connections>
  125. </button>
  126. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="big-7j-OJ8" userLabel="line2">
  127. <rect key="frame" x="196" y="10" width="0.5" height="10"/>
  128. <color key="backgroundColor" red="0.77647058820000003" green="0.80392156859999997" blue="0.83529411760000005" alpha="1" colorSpace="calibratedRGB"/>
  129. <constraints>
  130. <constraint firstAttribute="height" constant="10" id="Ioe-cN-S9C"/>
  131. <constraint firstAttribute="width" constant="0.5" id="n4u-jj-hJv"/>
  132. </constraints>
  133. </view>
  134. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="KYw-YA-lct" customClass="IHServiceButton" customModule="教育照明" customModuleProvider="target">
  135. <rect key="frame" x="196.5" y="0.0" width="97.5" height="30"/>
  136. <fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="12"/>
  137. <state key="normal" title="删除" image="delete">
  138. <color key="titleColor" red="0.39607843139999999" green="0.43921568630000002" blue="0.52156862749999999" alpha="1" colorSpace="calibratedRGB"/>
  139. </state>
  140. <connections>
  141. <action selector="deleteAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="ysg-Zk-9Kj"/>
  142. </connections>
  143. </button>
  144. </subviews>
  145. <constraints>
  146. <constraint firstItem="Yue-Hu-Z4X" firstAttribute="leading" secondItem="IV1-f0-lHE" secondAttribute="trailing" id="0sX-24-okW"/>
  147. <constraint firstAttribute="height" constant="30" id="1kA-s5-EDj"/>
  148. <constraint firstAttribute="bottom" secondItem="lLd-wN-vrU" secondAttribute="bottom" id="6dh-2e-0An"/>
  149. <constraint firstAttribute="trailing" secondItem="KYw-YA-lct" secondAttribute="trailing" id="BYc-yi-Jcg"/>
  150. <constraint firstItem="KYw-YA-lct" firstAttribute="top" secondItem="fZc-Sn-vRb" secondAttribute="top" id="FgJ-8N-h28"/>
  151. <constraint firstItem="KYw-YA-lct" firstAttribute="leading" secondItem="big-7j-OJ8" secondAttribute="trailing" id="GdN-FW-gT3"/>
  152. <constraint firstItem="Yue-Hu-Z4X" firstAttribute="leading" secondItem="IV1-f0-lHE" secondAttribute="trailing" id="Jic-Ev-HGu"/>
  153. <constraint firstItem="lLd-wN-vrU" firstAttribute="leading" secondItem="fZc-Sn-vRb" secondAttribute="leading" id="O4V-76-G2v"/>
  154. <constraint firstItem="big-7j-OJ8" firstAttribute="leading" secondItem="Yue-Hu-Z4X" secondAttribute="trailing" id="RDn-h5-vJY"/>
  155. <constraint firstItem="KYw-YA-lct" firstAttribute="leading" secondItem="big-7j-OJ8" secondAttribute="trailing" id="T1u-JZ-wNH"/>
  156. <constraint firstItem="IV1-f0-lHE" firstAttribute="centerY" secondItem="fZc-Sn-vRb" secondAttribute="centerY" id="VPN-b4-CkK"/>
  157. <constraint firstItem="big-7j-OJ8" firstAttribute="centerY" secondItem="fZc-Sn-vRb" secondAttribute="centerY" id="VSb-Ld-kHR"/>
  158. <constraint firstItem="big-7j-OJ8" firstAttribute="leading" secondItem="Yue-Hu-Z4X" secondAttribute="trailing" id="hHn-UH-UPT"/>
  159. <constraint firstAttribute="bottom" secondItem="Yue-Hu-Z4X" secondAttribute="bottom" id="hxv-Pv-kZk"/>
  160. <constraint firstAttribute="bottom" secondItem="KYw-YA-lct" secondAttribute="bottom" id="kLo-Id-Pyb"/>
  161. <constraint firstItem="KYw-YA-lct" firstAttribute="width" secondItem="lLd-wN-vrU" secondAttribute="width" id="pWG-Ap-bhy"/>
  162. <constraint firstItem="IV1-f0-lHE" firstAttribute="leading" secondItem="lLd-wN-vrU" secondAttribute="trailing" id="pXM-6s-WbH"/>
  163. <constraint firstItem="lLd-wN-vrU" firstAttribute="top" secondItem="fZc-Sn-vRb" secondAttribute="top" id="rji-7o-emh"/>
  164. <constraint firstItem="Yue-Hu-Z4X" firstAttribute="width" secondItem="lLd-wN-vrU" secondAttribute="width" id="uzj-m2-wZF"/>
  165. <constraint firstItem="Yue-Hu-Z4X" firstAttribute="top" secondItem="fZc-Sn-vRb" secondAttribute="top" id="wJ0-xt-WbY"/>
  166. </constraints>
  167. </view>
  168. </subviews>
  169. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  170. <constraints>
  171. <constraint firstItem="QlQ-T7-yNf" firstAttribute="leading" secondItem="E0b-7U-l3x" secondAttribute="trailing" constant="10" id="0xh-tP-kn2"/>
  172. <constraint firstItem="fZc-Sn-vRb" firstAttribute="leading" secondItem="Uxc-qU-ide" secondAttribute="leading" id="1yl-Ir-h3A"/>
  173. <constraint firstItem="FU2-ce-TKt" firstAttribute="leading" secondItem="E0b-7U-l3x" secondAttribute="trailing" constant="10" id="5Yi-xi-sK7"/>
  174. <constraint firstAttribute="bottom" secondItem="fZc-Sn-vRb" secondAttribute="bottom" constant="10" id="A9R-E0-jsK"/>
  175. <constraint firstItem="QdU-2G-1aH" firstAttribute="leading" secondItem="Uxc-qU-ide" secondAttribute="leading" constant="20" id="Ele-AQ-dpC"/>
  176. <constraint firstItem="FU2-ce-TKt" firstAttribute="top" secondItem="QlQ-T7-yNf" secondAttribute="bottom" constant="1" id="FkS-Ta-8e6"/>
  177. <constraint firstItem="E0b-7U-l3x" firstAttribute="top" secondItem="Uxc-qU-ide" secondAttribute="top" constant="18" id="MWm-uK-iaR"/>
  178. <constraint firstItem="E0b-7U-l3x" firstAttribute="leading" secondItem="Uxc-qU-ide" secondAttribute="leading" constant="20" id="P0Z-Qz-Ca4"/>
  179. <constraint firstItem="KMK-wV-EG2" firstAttribute="top" secondItem="Uxc-qU-ide" secondAttribute="top" constant="32" id="Vdf-UI-mDh"/>
  180. <constraint firstAttribute="trailing" secondItem="KMK-wV-EG2" secondAttribute="trailing" constant="20" id="bxM-mR-XZY"/>
  181. <constraint firstAttribute="trailing" secondItem="fZc-Sn-vRb" secondAttribute="trailing" id="ivR-zu-l2c"/>
  182. <constraint firstItem="QdU-2G-1aH" firstAttribute="top" secondItem="FU2-ce-TKt" secondAttribute="bottom" constant="10" id="jIg-am-Pk7"/>
  183. <constraint firstAttribute="trailing" secondItem="QdU-2G-1aH" secondAttribute="trailing" constant="20" id="mdA-70-DKe"/>
  184. <constraint firstItem="QlQ-T7-yNf" firstAttribute="top" secondItem="Uxc-qU-ide" secondAttribute="top" constant="15" id="osg-VA-BDn"/>
  185. </constraints>
  186. <userDefinedRuntimeAttributes>
  187. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  188. <real key="value" value="10"/>
  189. </userDefinedRuntimeAttribute>
  190. </userDefinedRuntimeAttributes>
  191. </view>
  192. </subviews>
  193. <constraints>
  194. <constraint firstAttribute="trailing" secondItem="Uxc-qU-ide" secondAttribute="trailing" constant="20" id="O8C-mX-9kl"/>
  195. <constraint firstAttribute="bottom" secondItem="Uxc-qU-ide" secondAttribute="bottom" constant="10" id="cbC-Mf-aFg"/>
  196. <constraint firstItem="Uxc-qU-ide" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="10" id="qlm-7g-bhj"/>
  197. <constraint firstItem="Uxc-qU-ide" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="20" id="tAi-l1-M4a"/>
  198. </constraints>
  199. </tableViewCellContentView>
  200. <viewLayoutGuide key="safeArea" id="njF-e1-oar"/>
  201. <connections>
  202. <outlet property="contentLabel" destination="kU9-R8-yoK" id="cIJ-Lu-awT"/>
  203. <outlet property="ihContentView" destination="Uxc-qU-ide" id="cNc-gI-NWW"/>
  204. <outlet property="nameLabel" destination="QlQ-T7-yNf" id="9CD-4B-Yio"/>
  205. <outlet property="roomNumberLabel" destination="FU2-ce-TKt" id="lNS-0Z-HX8"/>
  206. </connections>
  207. <point key="canvasLocation" x="147.82608695652175" y="161.04910714285714"/>
  208. </tableViewCell>
  209. </objects>
  210. <resources>
  211. <image name="No maintenance" width="30" height="30"/>
  212. <image name="delete" width="12" height="12"/>
  213. <image name="details" width="15" height="15"/>
  214. <image name="repair" width="12" height="11.5"/>
  215. </resources>
  216. </document>