TenantTicketAlert.xib 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina6_12" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21679"/>
  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="TenantTicketAlert">
  13. <rect key="frame" x="0.0" y="0.0" width="417" height="610"/>
  14. <autoresizingMask key="autoresizingMask"/>
  15. <subviews>
  16. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="hfH-61-MQN">
  17. <rect key="frame" x="73.666666666666686" y="169.66666666666663" width="270" height="271"/>
  18. <subviews>
  19. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="tenant_ticketHeader" translatesAutoresizingMaskIntoConstraints="NO" id="JiB-gJ-UMf">
  20. <rect key="frame" x="0.0" y="0.0" width="270" height="271"/>
  21. <constraints>
  22. <constraint firstAttribute="height" constant="271" id="ebB-Ih-5Wn"/>
  23. <constraint firstAttribute="width" constant="270" id="wGB-R2-poC"/>
  24. </constraints>
  25. </imageView>
  26. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="tenant_ticketTitle" translatesAutoresizingMaskIntoConstraints="NO" id="cOa-x8-rSd">
  27. <rect key="frame" x="76" y="0.0" width="118" height="29"/>
  28. <constraints>
  29. <constraint firstAttribute="height" constant="29" id="XoL-Dd-ZS8"/>
  30. <constraint firstAttribute="width" constant="118" id="hO1-tG-PmJ"/>
  31. </constraints>
  32. </imageView>
  33. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="tenant_ticketMiddle" translatesAutoresizingMaskIntoConstraints="NO" id="ydz-bz-3zK">
  34. <rect key="frame" x="22" y="47" width="226" height="137"/>
  35. <constraints>
  36. <constraint firstAttribute="width" constant="226" id="X98-WX-Zqs"/>
  37. <constraint firstAttribute="height" constant="137" id="dvI-1m-mWn"/>
  38. </constraints>
  39. </imageView>
  40. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="tenant_ticketbottom" translatesAutoresizingMaskIntoConstraints="NO" id="F5v-0X-39R">
  41. <rect key="frame" x="0.0" y="164.00000000000003" width="270" height="106.99999999999997"/>
  42. <constraints>
  43. <constraint firstAttribute="width" constant="270" id="4ai-Pp-7k0"/>
  44. <constraint firstAttribute="height" constant="107" id="gn6-Dn-jMZ"/>
  45. </constraints>
  46. </imageView>
  47. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="PFd-1y-cFY">
  48. <rect key="frame" x="30" y="199.00000000000003" width="210" height="46"/>
  49. <constraints>
  50. <constraint firstAttribute="width" constant="210" id="1XU-vy-0qu"/>
  51. <constraint firstAttribute="height" constant="46" id="GcL-vB-BmB"/>
  52. </constraints>
  53. <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="17"/>
  54. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  55. <state key="normal" title="去激活"/>
  56. <connections>
  57. <action selector="sureAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="FcH-pF-OBN"/>
  58. </connections>
  59. </button>
  60. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="pyf-IZ-8Cw">
  61. <rect key="frame" x="96" y="126.00000000000003" width="78" height="28"/>
  62. <subviews>
  63. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="共32个" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3bT-W4-k7D">
  64. <rect key="frame" x="16" y="4" width="46" height="20"/>
  65. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="14"/>
  66. <color key="textColor" red="0.94901960784313721" green="0.3411764705882353" blue="0.33725490196078434" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  67. <nil key="highlightedColor"/>
  68. </label>
  69. </subviews>
  70. <color key="backgroundColor" red="1" green="0.8901960784313725" blue="0.8901960784313725" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  71. <constraints>
  72. <constraint firstAttribute="bottom" secondItem="3bT-W4-k7D" secondAttribute="bottom" constant="4" id="0Y0-Ng-oKG"/>
  73. <constraint firstItem="3bT-W4-k7D" firstAttribute="leading" secondItem="pyf-IZ-8Cw" secondAttribute="leading" constant="16" id="6GG-iU-gd1"/>
  74. <constraint firstAttribute="trailing" secondItem="3bT-W4-k7D" secondAttribute="trailing" constant="16" id="8TS-4J-6k0"/>
  75. <constraint firstAttribute="height" constant="28" id="BaC-mj-2Q1"/>
  76. <constraint firstItem="3bT-W4-k7D" firstAttribute="top" secondItem="pyf-IZ-8Cw" secondAttribute="top" constant="4" id="cwu-jU-xHc"/>
  77. </constraints>
  78. <userDefinedRuntimeAttributes>
  79. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  80. <real key="value" value="14"/>
  81. </userDefinedRuntimeAttribute>
  82. </userDefinedRuntimeAttributes>
  83. </view>
  84. </subviews>
  85. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  86. <constraints>
  87. <constraint firstItem="ydz-bz-3zK" firstAttribute="centerX" secondItem="hfH-61-MQN" secondAttribute="centerX" id="6lf-99-JsT"/>
  88. <constraint firstItem="pyf-IZ-8Cw" firstAttribute="top" secondItem="cOa-x8-rSd" secondAttribute="bottom" constant="97" id="7Cm-by-jjD"/>
  89. <constraint firstAttribute="bottom" secondItem="PFd-1y-cFY" secondAttribute="bottom" constant="26" id="C8c-9q-V6e"/>
  90. <constraint firstAttribute="trailing" secondItem="F5v-0X-39R" secondAttribute="trailing" id="Eoj-T8-X9z"/>
  91. <constraint firstItem="pyf-IZ-8Cw" firstAttribute="centerX" secondItem="hfH-61-MQN" secondAttribute="centerX" id="HoP-Dx-aHs"/>
  92. <constraint firstItem="JiB-gJ-UMf" firstAttribute="leading" secondItem="hfH-61-MQN" secondAttribute="leading" id="KF7-Nl-mQX"/>
  93. <constraint firstAttribute="trailing" secondItem="JiB-gJ-UMf" secondAttribute="trailing" id="aHt-Yi-e22"/>
  94. <constraint firstAttribute="bottom" secondItem="JiB-gJ-UMf" secondAttribute="bottom" id="cqg-n6-sZk"/>
  95. <constraint firstItem="cOa-x8-rSd" firstAttribute="top" secondItem="hfH-61-MQN" secondAttribute="top" id="eaQ-Ry-wR4"/>
  96. <constraint firstItem="PFd-1y-cFY" firstAttribute="centerX" secondItem="hfH-61-MQN" secondAttribute="centerX" id="g9D-Gr-zaL"/>
  97. <constraint firstItem="F5v-0X-39R" firstAttribute="leading" secondItem="hfH-61-MQN" secondAttribute="leading" id="n12-YN-aVB"/>
  98. <constraint firstItem="JiB-gJ-UMf" firstAttribute="top" secondItem="hfH-61-MQN" secondAttribute="top" id="p30-Kn-BjN"/>
  99. <constraint firstAttribute="bottom" secondItem="F5v-0X-39R" secondAttribute="bottom" id="tVl-9w-Qnb"/>
  100. <constraint firstItem="cOa-x8-rSd" firstAttribute="centerX" secondItem="hfH-61-MQN" secondAttribute="centerX" id="uzg-wm-qCF"/>
  101. <constraint firstItem="ydz-bz-3zK" firstAttribute="top" secondItem="cOa-x8-rSd" secondAttribute="bottom" constant="18" id="vCU-o2-F7n"/>
  102. </constraints>
  103. </view>
  104. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="d4J-NK-rTF">
  105. <rect key="frame" x="186.66666666666666" y="463.66666666666669" width="44" height="44"/>
  106. <constraints>
  107. <constraint firstAttribute="height" constant="44" id="C5z-Vg-KbG"/>
  108. <constraint firstAttribute="width" constant="44" id="T00-cZ-4IK"/>
  109. </constraints>
  110. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  111. <state key="normal" image="tenant_close"/>
  112. <connections>
  113. <action selector="cancleAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="O4A-Id-td3"/>
  114. </connections>
  115. </button>
  116. </subviews>
  117. <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.5" colorSpace="custom" customColorSpace="sRGB"/>
  118. <constraints>
  119. <constraint firstItem="hfH-61-MQN" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" id="Bi4-wG-69m"/>
  120. <constraint firstItem="d4J-NK-rTF" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="Qtq-iE-jdg"/>
  121. <constraint firstItem="d4J-NK-rTF" firstAttribute="top" secondItem="hfH-61-MQN" secondAttribute="bottom" constant="23" id="Usw-9t-Enx"/>
  122. <constraint firstItem="hfH-61-MQN" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="lNO-f9-mkp"/>
  123. </constraints>
  124. <nil key="simulatedTopBarMetrics"/>
  125. <nil key="simulatedBottomBarMetrics"/>
  126. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  127. <connections>
  128. <outlet property="countLabel" destination="3bT-W4-k7D" id="HFB-E8-RGk"/>
  129. </connections>
  130. <point key="canvasLocation" x="109.16030534351144" y="-121.83098591549296"/>
  131. </view>
  132. </objects>
  133. <resources>
  134. <image name="tenant_close" width="32" height="32"/>
  135. <image name="tenant_ticketHeader" width="270" height="271"/>
  136. <image name="tenant_ticketMiddle" width="226" height="137"/>
  137. <image name="tenant_ticketTitle" width="118" height="29"/>
  138. <image name="tenant_ticketbottom" width="270" height="107"/>
  139. </resources>
  140. </document>