STPromptView.xib 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11762" systemVersion="15G1217" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="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="11757"/>
  9. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  10. </dependencies>
  11. <objects>
  12. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  13. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  14. <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="STPromptView">
  15. <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  16. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  17. <subviews>
  18. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="74c-xl-K3w">
  19. <rect key="frame" x="47.5" y="158.5" width="280" height="350"/>
  20. <subviews>
  21. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="st_saleWechat_salePromp" translatesAutoresizingMaskIntoConstraints="NO" id="sHR-ve-5ke">
  22. <rect key="frame" x="-0.5" y="-0.5" width="280" height="350"/>
  23. </imageView>
  24. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Tt0-Nl-9HT">
  25. <rect key="frame" x="20" y="283" width="236" height="47"/>
  26. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
  27. <state key="normal" title="我知道了">
  28. <color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  29. </state>
  30. <connections>
  31. <action selector="showConfirm:" destination="iN0-l3-epB" eventType="touchUpInside" id="BxV-uW-Olt"/>
  32. </connections>
  33. </button>
  34. </subviews>
  35. <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  36. <constraints>
  37. <constraint firstItem="sHR-ve-5ke" firstAttribute="top" secondItem="74c-xl-K3w" secondAttribute="top" id="AYd-8R-1yO"/>
  38. <constraint firstItem="Tt0-Nl-9HT" firstAttribute="leading" secondItem="74c-xl-K3w" secondAttribute="leading" constant="20" id="GR9-kY-rXr"/>
  39. <constraint firstAttribute="width" constant="280" id="J2g-ff-XPU"/>
  40. <constraint firstAttribute="bottom" secondItem="sHR-ve-5ke" secondAttribute="bottom" id="PUV-Fk-Yfa"/>
  41. <constraint firstAttribute="trailing" secondItem="sHR-ve-5ke" secondAttribute="trailing" id="UoO-2M-rQf"/>
  42. <constraint firstAttribute="height" constant="350" id="Wg2-mW-nTW"/>
  43. <constraint firstItem="Tt0-Nl-9HT" firstAttribute="top" secondItem="74c-xl-K3w" secondAttribute="top" constant="283" id="eZz-Co-Eeh"/>
  44. <constraint firstAttribute="trailing" secondItem="Tt0-Nl-9HT" secondAttribute="trailing" constant="24" id="n9X-j6-NCv"/>
  45. <constraint firstItem="sHR-ve-5ke" firstAttribute="leading" secondItem="74c-xl-K3w" secondAttribute="leading" id="p3p-Ad-kAt"/>
  46. <constraint firstAttribute="bottom" secondItem="Tt0-Nl-9HT" secondAttribute="bottom" constant="20" id="zKt-5h-MOc"/>
  47. </constraints>
  48. </view>
  49. </subviews>
  50. <color key="backgroundColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
  51. <constraints>
  52. <constraint firstItem="74c-xl-K3w" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" id="I2w-nz-CBb"/>
  53. <constraint firstItem="74c-xl-K3w" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="ceU-Mi-myU"/>
  54. </constraints>
  55. <connections>
  56. <outlet property="confirmBtn" destination="Tt0-Nl-9HT" id="TEu-FY-3EX"/>
  57. <outlet property="promptBgImgView" destination="sHR-ve-5ke" id="zQ4-wR-d0U"/>
  58. <outlet property="promptView" destination="74c-xl-K3w" id="W0R-nb-jDr"/>
  59. </connections>
  60. <point key="canvasLocation" x="26.5" y="52.5"/>
  61. </view>
  62. </objects>
  63. <resources>
  64. <image name="st_saleWechat_salePromp" width="275" height="351"/>
  65. </resources>
  66. </document>