HomeHotLiveCourseView.xib 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="20037" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="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="20020"/>
  7. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  8. </dependencies>
  9. <objects>
  10. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  11. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  12. <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="HomeHotLiveCourseView">
  13. <rect key="frame" x="0.0" y="0.0" width="700" height="224"/>
  14. <autoresizingMask key="autoresizingMask"/>
  15. <subviews>
  16. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="CPc-xV-zzJ">
  17. <rect key="frame" x="641" y="33.5" width="45" height="18"/>
  18. <color key="backgroundColor" red="0.94901960780000005" green="0.94901960780000005" blue="0.94901960780000005" alpha="1" colorSpace="calibratedRGB"/>
  19. <constraints>
  20. <constraint firstAttribute="height" constant="18" id="Zgm-n4-wxD"/>
  21. </constraints>
  22. <userDefinedRuntimeAttributes>
  23. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  24. <real key="value" value="9"/>
  25. </userDefinedRuntimeAttribute>
  26. </userDefinedRuntimeAttributes>
  27. </view>
  28. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="精品直播课" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="rgx-lE-LIf">
  29. <rect key="frame" x="24" y="30" width="92" height="25"/>
  30. <constraints>
  31. <constraint firstAttribute="height" constant="25" id="Qv0-Dh-p2P"/>
  32. </constraints>
  33. <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="18"/>
  34. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  35. <nil key="highlightedColor"/>
  36. </label>
  37. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="MZv-C6-cpr">
  38. <rect key="frame" x="0.0" y="67" width="700" height="157"/>
  39. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  40. <constraints>
  41. <constraint firstAttribute="height" constant="157" id="ZcH-5F-lmM"/>
  42. </constraints>
  43. </view>
  44. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="home_more" translatesAutoresizingMaskIntoConstraints="NO" id="np5-vb-hbP">
  45. <rect key="frame" x="675" y="38.5" width="6" height="8"/>
  46. <constraints>
  47. <constraint firstAttribute="width" constant="6" id="Uki-mb-hwr"/>
  48. <constraint firstAttribute="height" constant="8" id="sKi-cA-cNT"/>
  49. </constraints>
  50. </imageView>
  51. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="更多" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="tJa-YC-kmI">
  52. <rect key="frame" x="647" y="35.5" width="25" height="14.5"/>
  53. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  54. <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
  55. <nil key="highlightedColor"/>
  56. </label>
  57. <button opaque="NO" tag="1008" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="4W2-m4-Hi6">
  58. <rect key="frame" x="647" y="27.5" width="34" height="30"/>
  59. <constraints>
  60. <constraint firstAttribute="height" constant="30" id="8l9-2D-Tp8"/>
  61. </constraints>
  62. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="14"/>
  63. <state key="normal">
  64. <color key="titleColor" red="0.46666666670000001" green="0.46666666670000001" blue="0.46666666670000001" alpha="0.84705882349999995" colorSpace="calibratedRGB"/>
  65. </state>
  66. </button>
  67. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="home_left" translatesAutoresizingMaskIntoConstraints="NO" id="MKo-QN-cJI">
  68. <rect key="frame" x="14" y="33.5" width="4" height="18"/>
  69. <constraints>
  70. <constraint firstAttribute="height" constant="18" id="3Q5-cg-akT"/>
  71. <constraint firstAttribute="width" constant="4" id="nJZ-TE-ZDC"/>
  72. </constraints>
  73. </imageView>
  74. </subviews>
  75. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  76. <constraints>
  77. <constraint firstItem="MKo-QN-cJI" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="14" id="4BM-0d-GWa"/>
  78. <constraint firstItem="4W2-m4-Hi6" firstAttribute="centerY" secondItem="rgx-lE-LIf" secondAttribute="centerY" id="80v-rU-3ZJ"/>
  79. <constraint firstItem="MZv-C6-cpr" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="AbI-ms-0zf"/>
  80. <constraint firstAttribute="trailing" secondItem="MZv-C6-cpr" secondAttribute="trailing" id="DYT-wj-f75"/>
  81. <constraint firstItem="tJa-YC-kmI" firstAttribute="leading" secondItem="CPc-xV-zzJ" secondAttribute="leading" constant="6" id="JI8-Az-zFC"/>
  82. <constraint firstItem="rgx-lE-LIf" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="30" id="L4l-mn-HG0"/>
  83. <constraint firstItem="np5-vb-hbP" firstAttribute="trailing" secondItem="CPc-xV-zzJ" secondAttribute="trailing" constant="-5" id="Nvq-cb-bZQ"/>
  84. <constraint firstItem="np5-vb-hbP" firstAttribute="centerY" secondItem="rgx-lE-LIf" secondAttribute="centerY" id="OBn-m1-odi"/>
  85. <constraint firstItem="rgx-lE-LIf" firstAttribute="leading" secondItem="MKo-QN-cJI" secondAttribute="trailing" constant="6" id="OOl-Sy-HRC"/>
  86. <constraint firstItem="CPc-xV-zzJ" firstAttribute="centerY" secondItem="rgx-lE-LIf" secondAttribute="centerY" id="UG3-ud-d4W"/>
  87. <constraint firstItem="tJa-YC-kmI" firstAttribute="leading" secondItem="4W2-m4-Hi6" secondAttribute="leading" id="ZZt-n7-GIs"/>
  88. <constraint firstItem="rgx-lE-LIf" firstAttribute="centerY" secondItem="MKo-QN-cJI" secondAttribute="centerY" id="gbm-Nd-lG3"/>
  89. <constraint firstItem="MZv-C6-cpr" firstAttribute="top" secondItem="rgx-lE-LIf" secondAttribute="bottom" constant="12" id="lAZ-gg-o8q"/>
  90. <constraint firstItem="np5-vb-hbP" firstAttribute="leading" secondItem="tJa-YC-kmI" secondAttribute="trailing" constant="3" id="mSJ-cS-zI1"/>
  91. <constraint firstItem="tJa-YC-kmI" firstAttribute="centerY" secondItem="rgx-lE-LIf" secondAttribute="centerY" id="sWO-DP-tbx"/>
  92. <constraint firstAttribute="trailing" secondItem="CPc-xV-zzJ" secondAttribute="trailing" constant="14" id="u0g-g0-kNu"/>
  93. <constraint firstItem="np5-vb-hbP" firstAttribute="trailing" secondItem="4W2-m4-Hi6" secondAttribute="trailing" id="yFz-up-wrP"/>
  94. </constraints>
  95. <nil key="simulatedTopBarMetrics"/>
  96. <nil key="simulatedBottomBarMetrics"/>
  97. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  98. <connections>
  99. <outlet property="liveContentView" destination="MZv-C6-cpr" id="CKK-O9-yoq"/>
  100. </connections>
  101. <point key="canvasLocation" x="339.13043478260875" y="-150"/>
  102. </view>
  103. </objects>
  104. <resources>
  105. <image name="home_left" width="4" height="12"/>
  106. <image name="home_more" width="6" height="8"/>
  107. </resources>
  108. </document>