IHQualityChartsCell.xib 6.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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. <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="166" id="KGk-i7-Jjw" customClass="IHQualityChartsCell" customModule="智能照明" customModuleProvider="target">
  19. <rect key="frame" x="0.0" y="0.0" width="322" height="166"/>
  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="322" height="166"/>
  23. <autoresizingMask key="autoresizingMask"/>
  24. <subviews>
  25. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="CYY-7J-kYZ">
  26. <rect key="frame" x="20" y="10" width="282" height="151"/>
  27. <subviews>
  28. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="今天 · 空气质量指数" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5Dz-lD-bOz">
  29. <rect key="frame" x="22" y="11" width="110" height="17"/>
  30. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  31. <fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="12"/>
  32. <color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
  33. <nil key="highlightedColor"/>
  34. </label>
  35. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="83" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="mv1-T0-gAe">
  36. <rect key="frame" x="242" y="11" width="25" height="29"/>
  37. <fontDescription key="fontDescription" name="AlibabaPuHuiTiM" family="Alibaba PuHuiTi" pointSize="21"/>
  38. <color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
  39. <nil key="highlightedColor"/>
  40. </label>
  41. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="28A-qd-P8C">
  42. <rect key="frame" x="0.0" y="40" width="282" height="111"/>
  43. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  44. </view>
  45. </subviews>
  46. <color key="backgroundColor" red="0.019607843140000001" green="0.81176470590000005" blue="0.6705882353" alpha="1" colorSpace="calibratedRGB"/>
  47. <constraints>
  48. <constraint firstItem="28A-qd-P8C" firstAttribute="top" secondItem="mv1-T0-gAe" secondAttribute="bottom" id="05L-kb-he2"/>
  49. <constraint firstItem="mv1-T0-gAe" firstAttribute="top" secondItem="CYY-7J-kYZ" secondAttribute="top" constant="11" id="Fq3-Wc-M5a"/>
  50. <constraint firstAttribute="trailing" secondItem="28A-qd-P8C" secondAttribute="trailing" id="Wok-hY-fzN"/>
  51. <constraint firstAttribute="bottom" secondItem="28A-qd-P8C" secondAttribute="bottom" id="f50-u8-FEO"/>
  52. <constraint firstAttribute="trailing" secondItem="mv1-T0-gAe" secondAttribute="trailing" constant="15" id="gkG-eK-bl6"/>
  53. <constraint firstItem="28A-qd-P8C" firstAttribute="leading" secondItem="CYY-7J-kYZ" secondAttribute="leading" id="yVM-Jf-2fA"/>
  54. </constraints>
  55. <userDefinedRuntimeAttributes>
  56. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  57. <real key="value" value="5"/>
  58. </userDefinedRuntimeAttribute>
  59. </userDefinedRuntimeAttributes>
  60. </view>
  61. </subviews>
  62. <constraints>
  63. <constraint firstItem="CYY-7J-kYZ" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="10" id="6F2-KJ-y3o"/>
  64. <constraint firstAttribute="bottom" secondItem="CYY-7J-kYZ" secondAttribute="bottom" constant="5" id="WrZ-vd-may"/>
  65. <constraint firstAttribute="trailing" secondItem="CYY-7J-kYZ" secondAttribute="trailing" constant="20" id="nja-M0-K38"/>
  66. <constraint firstItem="CYY-7J-kYZ" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="20" id="thQ-80-TYo"/>
  67. </constraints>
  68. </tableViewCellContentView>
  69. <viewLayoutGuide key="safeArea" id="njF-e1-oar"/>
  70. <connections>
  71. <outlet property="bgView" destination="CYY-7J-kYZ" id="DqF-oR-1GL"/>
  72. <outlet property="chartsBox" destination="28A-qd-P8C" id="Zyy-Jn-qfD"/>
  73. <outlet property="qualityLabel" destination="5Dz-lD-bOz" id="4KK-hY-Ndn"/>
  74. <outlet property="valueLabel" destination="mv1-T0-gAe" id="fkw-51-9hf"/>
  75. </connections>
  76. <point key="canvasLocation" x="139.13043478260872" y="149.33035714285714"/>
  77. </tableViewCell>
  78. </objects>
  79. </document>