OOAlertViewController.xib 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="13771" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait">
  4. <adaptation id="fullscreen"/>
  5. </device>
  6. <dependencies>
  7. <deployment identifier="iOS"/>
  8. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13772"/>
  9. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  10. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  11. </dependencies>
  12. <customFonts key="customFonts">
  13. <array key="PingFang.ttc">
  14. <string>PingFangSC-Regular</string>
  15. </array>
  16. </customFonts>
  17. <objects>
  18. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="OOAlertViewController" customModule="o2app" customModuleProvider="target">
  19. <connections>
  20. <outlet property="bodyLabel" destination="Oly-3e-q9R" id="IVc-f1-JFF"/>
  21. <outlet property="buttonContainerView" destination="8jZ-J6-j5B" id="hBU-N8-uR2"/>
  22. <outlet property="categoryIconImageView" destination="bGZ-g8-spp" id="N17-Dr-nam"/>
  23. <outlet property="firstButton" destination="m8k-Kf-Tmi" id="HE5-to-vr8"/>
  24. <outlet property="rightButton" destination="APG-Mr-w8o" id="ROk-Kp-0IR"/>
  25. <outlet property="secondButton" destination="tZl-Sj-CpD" id="RpA-ys-PWu"/>
  26. <outlet property="titleLabel" destination="Sm7-ed-fPF" id="FZ5-Zk-k9U"/>
  27. <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
  28. </connections>
  29. </placeholder>
  30. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  31. <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
  32. <rect key="frame" x="0.0" y="0.0" width="275" height="282"/>
  33. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  34. <subviews>
  35. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="pic_bj_ts" translatesAutoresizingMaskIntoConstraints="NO" id="bGZ-g8-spp">
  36. <rect key="frame" x="0.0" y="0.0" width="275" height="120"/>
  37. <constraints>
  38. <constraint firstAttribute="height" constant="120" id="EG5-Ai-Ku3"/>
  39. </constraints>
  40. </imageView>
  41. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="title" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Sm7-ed-fPF">
  42. <rect key="frame" x="16" y="127" width="243" height="28"/>
  43. <constraints>
  44. <constraint firstAttribute="height" constant="28" id="T4H-JX-yS2"/>
  45. </constraints>
  46. <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="15"/>
  47. <nil key="textColor"/>
  48. <nil key="highlightedColor"/>
  49. </label>
  50. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="body" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="3" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Oly-3e-q9R">
  51. <rect key="frame" x="16" y="163" width="243" height="60"/>
  52. <constraints>
  53. <constraint firstAttribute="height" constant="60" id="gAV-cf-6Ft"/>
  54. </constraints>
  55. <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="14"/>
  56. <color key="textColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/>
  57. <nil key="highlightedColor"/>
  58. </label>
  59. <stackView opaque="NO" contentMode="scaleToFill" distribution="fillEqually" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="8jZ-J6-j5B">
  60. <rect key="frame" x="8" y="242" width="259" height="30"/>
  61. <subviews>
  62. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="m8k-Kf-Tmi">
  63. <rect key="frame" x="0.0" y="0.0" width="124.5" height="30"/>
  64. <color key="backgroundColor" red="0.80000000000000004" green="0.80000000000000004" blue="0.80000000000000004" alpha="1" colorSpace="calibratedRGB"/>
  65. <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="16"/>
  66. <state key="normal" title="取消">
  67. <color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  68. </state>
  69. <connections>
  70. <action selector="didSelectFirstAction:" destination="-1" eventType="touchUpInside" id="syN-II-61v"/>
  71. </connections>
  72. </button>
  73. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="tZl-Sj-CpD">
  74. <rect key="frame" x="134.5" y="0.0" width="124.5" height="30"/>
  75. <color key="backgroundColor" red="0.98431372549019602" green="0.27843137254901962" blue="0.27843137254901962" alpha="1" colorSpace="calibratedRGB"/>
  76. <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="16"/>
  77. <state key="normal" title="确定">
  78. <color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  79. </state>
  80. <connections>
  81. <action selector="didSelectSecondAction:" destination="-1" eventType="touchUpInside" id="b4b-1c-EhD"/>
  82. </connections>
  83. </button>
  84. </subviews>
  85. </stackView>
  86. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="APG-Mr-w8o">
  87. <rect key="frame" x="245" y="8" width="22" height="22"/>
  88. <constraints>
  89. <constraint firstAttribute="height" constant="22" id="K7f-6w-S8R"/>
  90. <constraint firstAttribute="width" constant="22" id="Va3-kN-IMM"/>
  91. </constraints>
  92. <state key="normal" image="icon_off_white"/>
  93. <connections>
  94. <action selector="didCloseAction:" destination="-1" eventType="touchUpInside" id="cGO-GI-eXn"/>
  95. </connections>
  96. </button>
  97. </subviews>
  98. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  99. <constraints>
  100. <constraint firstItem="APG-Mr-w8o" firstAttribute="top" secondItem="fnl-2z-Ty3" secondAttribute="top" constant="8" id="0Sj-7w-zIs"/>
  101. <constraint firstItem="bGZ-g8-spp" firstAttribute="top" secondItem="fnl-2z-Ty3" secondAttribute="top" id="43T-6e-YwN"/>
  102. <constraint firstItem="8jZ-J6-j5B" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" constant="8" id="5Id-dW-LMU"/>
  103. <constraint firstItem="Oly-3e-q9R" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" constant="16" id="6ST-pU-8NO"/>
  104. <constraint firstItem="fnl-2z-Ty3" firstAttribute="bottom" secondItem="8jZ-J6-j5B" secondAttribute="bottom" constant="10" id="6gy-tW-oAl"/>
  105. <constraint firstItem="8jZ-J6-j5B" firstAttribute="top" secondItem="Oly-3e-q9R" secondAttribute="bottom" constant="19" id="9Kb-JL-SoU"/>
  106. <constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="8jZ-J6-j5B" secondAttribute="trailing" constant="8" id="ASG-LA-oeO"/>
  107. <constraint firstItem="Sm7-ed-fPF" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="FCt-7F-pk1"/>
  108. <constraint firstItem="bGZ-g8-spp" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="LzN-xM-7sS"/>
  109. <constraint firstItem="Oly-3e-q9R" firstAttribute="top" secondItem="Sm7-ed-fPF" secondAttribute="bottom" constant="8" id="SNC-PM-5DJ"/>
  110. <constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="APG-Mr-w8o" secondAttribute="trailing" constant="8" id="UiL-QJ-hKJ"/>
  111. <constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="Oly-3e-q9R" secondAttribute="trailing" constant="16" id="bI4-I4-uKa"/>
  112. <constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="Sm7-ed-fPF" secondAttribute="trailing" constant="16" id="jir-mj-NDK"/>
  113. <constraint firstItem="bGZ-g8-spp" firstAttribute="trailing" secondItem="fnl-2z-Ty3" secondAttribute="trailing" id="kjy-FP-v4k"/>
  114. <constraint firstItem="Sm7-ed-fPF" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" constant="16" id="oBC-0V-0Re"/>
  115. <constraint firstItem="Sm7-ed-fPF" firstAttribute="top" secondItem="bGZ-g8-spp" secondAttribute="bottom" constant="7" id="qss-xi-DyQ"/>
  116. </constraints>
  117. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  118. <viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/>
  119. <point key="canvasLocation" x="19.5" y="-302"/>
  120. </view>
  121. </objects>
  122. <resources>
  123. <image name="icon_off_white" width="22" height="22"/>
  124. <image name="pic_bj_ts" width="275" height="120"/>
  125. </resources>
  126. </document>