NearbyCell.xib 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="17156" 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="17125"/>
  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. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" id="gTV-IL-0wX" customClass="NearbyCell">
  13. <rect key="frame" x="0.0" y="0.0" width="205" height="222"/>
  14. <autoresizingMask key="autoresizingMask"/>
  15. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
  16. <rect key="frame" x="0.0" y="0.0" width="205" height="222"/>
  17. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  18. <subviews>
  19. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="tok-Iv-lPd" userLabel="封面">
  20. <rect key="frame" x="0.0" y="0.0" width="205" height="222"/>
  21. </imageView>
  22. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="pub_bot_shadow.png" translatesAutoresizingMaskIntoConstraints="NO" id="2pH-QG-Y1g" userLabel="阴影">
  23. <rect key="frame" x="0.0" y="177.5" width="205" height="44.5"/>
  24. </imageView>
  25. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="Fbr-OP-2D3" userLabel="头像">
  26. <rect key="frame" x="5" y="194" width="24" height="24"/>
  27. <constraints>
  28. <constraint firstAttribute="width" secondItem="Fbr-OP-2D3" secondAttribute="height" multiplier="1:1" id="lQ1-wp-4ui"/>
  29. <constraint firstAttribute="width" constant="24" id="ya0-mg-y6x"/>
  30. </constraints>
  31. </imageView>
  32. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="IOY-gQ-vnp" userLabel="名称">
  33. <rect key="frame" x="34" y="194" width="35.5" height="24"/>
  34. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  35. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  36. <nil key="highlightedColor"/>
  37. </label>
  38. <imageView hidden="YES" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="pink_location.png" translatesAutoresizingMaskIntoConstraints="NO" id="nYv-Lu-dZG" userLabel="定位">
  39. <rect key="frame" x="8" y="175" width="14" height="14"/>
  40. <constraints>
  41. <constraint firstAttribute="width" secondItem="nYv-Lu-dZG" secondAttribute="height" multiplier="1:1" id="32o-ia-bAJ"/>
  42. <constraint firstAttribute="width" constant="14" id="jok-S1-5ly"/>
  43. </constraints>
  44. </imageView>
  45. <label hidden="YES" opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="BFg-n8-gb1" userLabel="距离">
  46. <rect key="frame" x="27" y="175" width="33" height="14"/>
  47. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  48. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  49. <nil key="highlightedColor"/>
  50. </label>
  51. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="dEz-mR-ZxO" userLabel="价格">
  52. <rect key="frame" x="134" y="5" width="65" height="24"/>
  53. <constraints>
  54. <constraint firstAttribute="height" constant="24" id="TKU-pG-KRk"/>
  55. </constraints>
  56. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  57. <inset key="contentEdgeInsets" minX="10" minY="0.0" maxX="5" maxY="0.0"/>
  58. <inset key="imageEdgeInsets" minX="-5" minY="0.0" maxX="0.0" maxY="0.0"/>
  59. <state key="normal" title="Button" image="礼物-金币.png"/>
  60. <userDefinedRuntimeAttributes>
  61. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  62. <real key="value" value="12"/>
  63. </userDefinedRuntimeAttribute>
  64. </userDefinedRuntimeAttributes>
  65. </button>
  66. <label hidden="YES" opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="xZV-hS-uyT" userLabel="标题">
  67. <rect key="frame" x="10" y="173" width="185" height="16"/>
  68. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  69. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  70. <nil key="highlightedColor"/>
  71. </label>
  72. </subviews>
  73. </view>
  74. <constraints>
  75. <constraint firstItem="xZV-hS-uyT" firstAttribute="bottom" secondItem="Fbr-OP-2D3" secondAttribute="top" constant="-5" id="17s-gq-rmG"/>
  76. <constraint firstItem="BFg-n8-gb1" firstAttribute="centerY" secondItem="nYv-Lu-dZG" secondAttribute="centerY" id="4w7-Sm-WgW"/>
  77. <constraint firstItem="2pH-QG-Y1g" firstAttribute="bottom" secondItem="tok-Iv-lPd" secondAttribute="bottom" id="7os-4m-ghn"/>
  78. <constraint firstItem="BFg-n8-gb1" firstAttribute="height" secondItem="nYv-Lu-dZG" secondAttribute="height" id="7yv-uR-5lz"/>
  79. <constraint firstItem="2pH-QG-Y1g" firstAttribute="centerX" secondItem="tok-Iv-lPd" secondAttribute="centerX" id="BMq-gy-HfV"/>
  80. <constraint firstItem="tok-Iv-lPd" firstAttribute="height" secondItem="gTV-IL-0wX" secondAttribute="height" id="J4Y-3P-el8"/>
  81. <constraint firstItem="nYv-Lu-dZG" firstAttribute="bottom" secondItem="Fbr-OP-2D3" secondAttribute="top" constant="-5" id="Mz3-oZ-FNV"/>
  82. <constraint firstItem="xZV-hS-uyT" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="10" id="SFv-yT-TDb"/>
  83. <constraint firstItem="BFg-n8-gb1" firstAttribute="leading" secondItem="nYv-Lu-dZG" secondAttribute="trailing" constant="5" id="Skm-tp-rvo"/>
  84. <constraint firstItem="IOY-gQ-vnp" firstAttribute="height" secondItem="Fbr-OP-2D3" secondAttribute="height" id="Ydz-7S-n1y"/>
  85. <constraint firstItem="dEz-mR-ZxO" firstAttribute="top" secondItem="tok-Iv-lPd" secondAttribute="top" constant="5" id="Zbr-RO-AIp"/>
  86. <constraint firstItem="tok-Iv-lPd" firstAttribute="width" secondItem="gTV-IL-0wX" secondAttribute="width" id="bsS-DE-PbC"/>
  87. <constraint firstItem="IOY-gQ-vnp" firstAttribute="centerY" secondItem="Fbr-OP-2D3" secondAttribute="centerY" id="eSk-WY-jUI"/>
  88. <constraint firstItem="dEz-mR-ZxO" firstAttribute="trailing" secondItem="tok-Iv-lPd" secondAttribute="trailing" constant="-6" id="hKc-HM-sJY"/>
  89. <constraint firstItem="tok-Iv-lPd" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" id="hf3-xU-Z2Q"/>
  90. <constraint firstItem="nYv-Lu-dZG" firstAttribute="leading" secondItem="Fbr-OP-2D3" secondAttribute="leading" constant="3" id="iiw-qH-Xrg"/>
  91. <constraint firstItem="tok-Iv-lPd" firstAttribute="centerY" secondItem="gTV-IL-0wX" secondAttribute="centerY" id="mUY-y3-x5C"/>
  92. <constraint firstItem="Fbr-OP-2D3" firstAttribute="bottom" secondItem="tok-Iv-lPd" secondAttribute="bottom" constant="-4" id="sQd-qn-wew"/>
  93. <constraint firstAttribute="trailing" secondItem="xZV-hS-uyT" secondAttribute="trailing" constant="10" id="tnQ-Zf-zYq"/>
  94. <constraint firstItem="2pH-QG-Y1g" firstAttribute="width" secondItem="tok-Iv-lPd" secondAttribute="width" id="xrb-te-Zuq"/>
  95. <constraint firstItem="2pH-QG-Y1g" firstAttribute="height" secondItem="tok-Iv-lPd" secondAttribute="height" multiplier="0.2" id="yPY-zL-XI4"/>
  96. <constraint firstItem="Fbr-OP-2D3" firstAttribute="leading" secondItem="tok-Iv-lPd" secondAttribute="leading" constant="5" id="yb4-ch-k2y"/>
  97. <constraint firstItem="IOY-gQ-vnp" firstAttribute="leading" secondItem="Fbr-OP-2D3" secondAttribute="trailing" constant="5" id="zO3-hy-2W6"/>
  98. </constraints>
  99. <size key="customSize" width="205" height="222"/>
  100. <connections>
  101. <outlet property="coverIV" destination="tok-Iv-lPd" id="iDt-aR-63X"/>
  102. <outlet property="distanceL" destination="BFg-n8-gb1" id="bbf-ku-NMJ"/>
  103. <outlet property="iconIV" destination="Fbr-OP-2D3" id="7sQ-Z2-k3o"/>
  104. <outlet property="locIV" destination="nYv-Lu-dZG" id="tS6-5N-R2u"/>
  105. <outlet property="unameL" destination="IOY-gQ-vnp" id="6Al-TB-1sI"/>
  106. <outlet property="videoCoinBtn" destination="dEz-mR-ZxO" id="5VN-7Y-udb"/>
  107. <outlet property="videoTitleL" destination="xZV-hS-uyT" id="GB5-9Z-v5Q"/>
  108. </connections>
  109. <point key="canvasLocation" x="111.5" y="140"/>
  110. </collectionViewCell>
  111. </objects>
  112. <resources>
  113. <image name="pink_location.png" width="14" height="14"/>
  114. <image name="pub_bot_shadow.png" width="186" height="40"/>
  115. <image name="礼物-金币.png" width="12" height="12"/>
  116. </resources>
  117. </document>