DailyQuestCell.xib 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="15705" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15706"/>
  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. <tableViewCell contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="DailyQuest" rowHeight="66" id="KGk-i7-Jjw" customClass="DailyQuestCell">
  13. <rect key="frame" x="0.0" y="0.0" width="490" height="66"/>
  14. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  15. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
  16. <rect key="frame" x="0.0" y="0.0" width="490" height="66"/>
  17. <autoresizingMask key="autoresizingMask"/>
  18. <subviews>
  19. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="h3i-yt-UgG">
  20. <rect key="frame" x="-8" y="0.0" width="483" height="52"/>
  21. <subviews>
  22. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="mg_daily_task_title" translatesAutoresizingMaskIntoConstraints="NO" id="dfy-9v-PC5">
  23. <rect key="frame" x="0.0" y="0.0" width="52" height="52"/>
  24. <constraints>
  25. <constraint firstAttribute="width" constant="52" id="Boa-jL-qfX"/>
  26. <constraint firstAttribute="height" constant="52" id="Jke-MZ-ITs"/>
  27. </constraints>
  28. </imageView>
  29. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="b2E-sF-0Oj">
  30. <rect key="frame" x="10" y="0.0" width="42" height="52"/>
  31. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  32. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  33. <color key="textColor" red="0.98039215686274506" green="0.94509803921568625" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  34. <nil key="highlightedColor"/>
  35. </label>
  36. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="奖励 30" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2mc-lw-lOJ">
  37. <rect key="frame" x="64" y="26.5" width="53.5" height="17"/>
  38. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  39. <color key="textColor" red="0.80000000000000004" green="0.27058823529411763" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  40. <nil key="highlightedColor"/>
  41. </label>
  42. <imageView hidden="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="gm_coin" translatesAutoresizingMaskIntoConstraints="NO" id="B6M-Su-XbE">
  43. <rect key="frame" x="119.5" y="29.5" width="13" height="11.5"/>
  44. <constraints>
  45. <constraint firstAttribute="width" constant="13" id="EV7-aG-TN2"/>
  46. <constraint firstAttribute="height" constant="11.5" id="c7P-s0-6yC"/>
  47. </constraints>
  48. </imageView>
  49. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="v1h-6j-vFb">
  50. <rect key="frame" x="421" y="11" width="62" height="30"/>
  51. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  52. <constraints>
  53. <constraint firstAttribute="width" constant="62" id="2q2-km-nKa"/>
  54. <constraint firstAttribute="height" constant="30" id="BZ1-i7-ygo"/>
  55. </constraints>
  56. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  57. <state key="normal" title="领取" backgroundImage="mg_daily_task_receive">
  58. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  59. </state>
  60. <connections>
  61. <action selector="receiveBtn:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="FmE-uk-gvL"/>
  62. </connections>
  63. </button>
  64. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="观看直播 3 分钟" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="hgw-CA-wqy">
  65. <rect key="frame" x="64" y="6" width="95" height="16"/>
  66. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  67. <color key="textColor" red="0.61568627450980395" green="0.12941176470588234" blue="0.99607843137254903" alpha="1" colorSpace="calibratedRGB"/>
  68. <nil key="highlightedColor"/>
  69. </label>
  70. </subviews>
  71. <color key="backgroundColor" red="0.97254901960784312" green="0.92549019607843142" blue="0.99215686274509807" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  72. <constraints>
  73. <constraint firstAttribute="height" constant="52" id="0Ze-g3-cQP"/>
  74. <constraint firstItem="B6M-Su-XbE" firstAttribute="leading" secondItem="2mc-lw-lOJ" secondAttribute="trailing" constant="2" id="4hg-5v-mk8"/>
  75. <constraint firstItem="dfy-9v-PC5" firstAttribute="top" secondItem="h3i-yt-UgG" secondAttribute="top" id="Ioj-9t-e7t"/>
  76. <constraint firstItem="v1h-6j-vFb" firstAttribute="centerY" secondItem="h3i-yt-UgG" secondAttribute="centerY" id="LbZ-0u-s5O"/>
  77. <constraint firstItem="B6M-Su-XbE" firstAttribute="centerY" secondItem="2mc-lw-lOJ" secondAttribute="centerY" id="RAU-09-iWb"/>
  78. <constraint firstItem="2mc-lw-lOJ" firstAttribute="leading" secondItem="hgw-CA-wqy" secondAttribute="leading" id="f8m-kv-fU8"/>
  79. <constraint firstItem="2mc-lw-lOJ" firstAttribute="top" secondItem="hgw-CA-wqy" secondAttribute="bottom" constant="4.5" id="fBV-e3-2KR"/>
  80. <constraint firstItem="hgw-CA-wqy" firstAttribute="top" secondItem="h3i-yt-UgG" secondAttribute="top" constant="6" id="frc-0t-MyP"/>
  81. <constraint firstItem="hgw-CA-wqy" firstAttribute="leading" secondItem="dfy-9v-PC5" secondAttribute="trailing" constant="12" id="gqa-Gu-5GM"/>
  82. <constraint firstItem="dfy-9v-PC5" firstAttribute="leading" secondItem="h3i-yt-UgG" secondAttribute="leading" id="kfm-XB-pbc"/>
  83. <constraint firstAttribute="trailing" secondItem="v1h-6j-vFb" secondAttribute="trailing" id="xeN-F5-68C"/>
  84. </constraints>
  85. </view>
  86. </subviews>
  87. <constraints>
  88. <constraint firstAttribute="trailing" secondItem="h3i-yt-UgG" secondAttribute="trailing" constant="15" id="BEa-qf-fyg"/>
  89. <constraint firstItem="h3i-yt-UgG" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" id="Yh0-he-pAl"/>
  90. <constraint firstItem="h3i-yt-UgG" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="-8" id="fMb-iV-5mN"/>
  91. </constraints>
  92. </tableViewCellContentView>
  93. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  94. <connections>
  95. <outlet property="img" destination="dfy-9v-PC5" id="Sjw-Ti-cQy"/>
  96. <outlet property="imgTitleL" destination="b2E-sF-0Oj" id="c1L-ue-XOa"/>
  97. <outlet property="receiveBtn" destination="v1h-6j-vFb" id="9ki-CK-Niy"/>
  98. <outlet property="rewardLbl" destination="2mc-lw-lOJ" id="36j-Mb-ZbC"/>
  99. <outlet property="viewVideoLbl" destination="hgw-CA-wqy" id="ZOp-Hx-1Xn"/>
  100. </connections>
  101. <point key="canvasLocation" x="-323" y="174"/>
  102. </tableViewCell>
  103. </objects>
  104. <resources>
  105. <image name="gm_coin" width="19" height="16"/>
  106. <image name="mg_daily_task_receive" width="62" height="30"/>
  107. <image name="mg_daily_task_title" width="52" height="52"/>
  108. </resources>
  109. </document>