YBSetChargeView.xib 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="20037" 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="20020"/>
  7. <capability name="System colors in document resources" minToolsVersion="11.0"/>
  8. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  9. </dependencies>
  10. <objects>
  11. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  12. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  13. <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="YBSetChargeView">
  14. <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  15. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  16. <subviews>
  17. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="li8-n0-xFP" userLabel="bgView">
  18. <rect key="frame" x="52.5" y="211" width="270" height="178"/>
  19. <subviews>
  20. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="请输入收费金额" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="60R-4R-jqa" userLabel="标题">
  21. <rect key="frame" x="81.5" y="18" width="107.5" height="20"/>
  22. <constraints>
  23. <constraint firstAttribute="height" constant="20" id="Nrw-xc-XBw"/>
  24. </constraints>
  25. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  26. <color key="textColor" red="0.19607843137254902" green="0.19607843137254902" blue="0.19607843137254902" alpha="1" colorSpace="calibratedRGB"/>
  27. <nil key="highlightedColor"/>
  28. </label>
  29. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Zar-bw-g0y" userLabel="取消">
  30. <rect key="frame" x="235" y="10" width="30" height="30"/>
  31. <constraints>
  32. <constraint firstAttribute="height" constant="30" id="KRR-N7-Qd4"/>
  33. <constraint firstAttribute="width" constant="30" id="wS2-V3-c5G"/>
  34. </constraints>
  35. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  36. <inset key="contentEdgeInsets" minX="8" minY="8" maxX="8" maxY="8"/>
  37. <state key="normal" image="screen_close.png">
  38. <color key="titleColor" red="0.91764705879999997" green="0.2156862745" blue="0.49803921569999998" alpha="1" colorSpace="calibratedRGB"/>
  39. </state>
  40. <connections>
  41. <action selector="clickCancleBtn:" destination="iN0-l3-epB" eventType="touchUpInside" id="cgK-EP-0Rr"/>
  42. </connections>
  43. </button>
  44. <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="nz9-l6-1TD" userLabel="tf" customClass="MyTextField">
  45. <rect key="frame" x="35" y="50" width="200" height="40"/>
  46. <color key="backgroundColor" red="0.96078431372549022" green="0.96078431372549022" blue="0.96078431372549022" alpha="1" colorSpace="calibratedRGB"/>
  47. <constraints>
  48. <constraint firstAttribute="height" constant="40" id="6t6-5B-8Qv"/>
  49. </constraints>
  50. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  51. <textInputTraits key="textInputTraits"/>
  52. <userDefinedRuntimeAttributes>
  53. <userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
  54. <real key="value" value="1"/>
  55. </userDefinedRuntimeAttribute>
  56. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  57. <real key="value" value="5"/>
  58. </userDefinedRuntimeAttribute>
  59. <userDefinedRuntimeAttribute type="color" keyPath="borderColor">
  60. <color key="value" red="0.96078431372549022" green="0.96078431372549022" blue="0.96078431372549022" alpha="1" colorSpace="calibratedRGB"/>
  61. </userDefinedRuntimeAttribute>
  62. </userDefinedRuntimeAttributes>
  63. </textField>
  64. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="*收取金额不可为小数" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zQC-ag-QWU" userLabel="提示语">
  65. <rect key="frame" x="35" y="100" width="97" height="12"/>
  66. <constraints>
  67. <constraint firstAttribute="height" constant="12" id="9fN-5d-twj"/>
  68. </constraints>
  69. <fontDescription key="fontDescription" type="system" pointSize="10"/>
  70. <color key="textColor" red="0.58823529411764708" green="0.58823529411764708" blue="0.58823529411764708" alpha="1" colorSpace="calibratedRGB"/>
  71. <nil key="highlightedColor"/>
  72. </label>
  73. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="SB1-ta-R6Z" userLabel="线">
  74. <rect key="frame" x="0.0" y="132" width="270" height="1"/>
  75. <color key="backgroundColor" red="0.86274509803921573" green="0.86274509803921573" blue="0.86274509803921573" alpha="1" colorSpace="calibratedRGB"/>
  76. <constraints>
  77. <constraint firstAttribute="height" constant="1" id="aOj-cq-CJT"/>
  78. </constraints>
  79. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  80. <nil key="textColor"/>
  81. <nil key="highlightedColor"/>
  82. </label>
  83. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Z7T-ET-Csu" userLabel="确认">
  84. <rect key="frame" x="0.0" y="133" width="270" height="45"/>
  85. <constraints>
  86. <constraint firstAttribute="height" constant="45" id="cI2-D7-hMv"/>
  87. </constraints>
  88. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  89. <state key="normal" title="确认">
  90. <color key="titleColor" red="0.91764705879999997" green="0.2156862745" blue="0.49803921569999998" alpha="1" colorSpace="calibratedRGB"/>
  91. </state>
  92. <connections>
  93. <action selector="clickSureBtn:" destination="iN0-l3-epB" eventType="touchUpInside" id="Zo3-Bo-xss"/>
  94. </connections>
  95. </button>
  96. </subviews>
  97. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  98. <constraints>
  99. <constraint firstItem="Z7T-ET-Csu" firstAttribute="top" secondItem="SB1-ta-R6Z" secondAttribute="bottom" id="4b2-YO-fLL"/>
  100. <constraint firstAttribute="bottom" secondItem="Z7T-ET-Csu" secondAttribute="bottom" id="8WM-ON-6h7"/>
  101. <constraint firstItem="Z7T-ET-Csu" firstAttribute="centerX" secondItem="li8-n0-xFP" secondAttribute="centerX" id="9aJ-Jv-AWs"/>
  102. <constraint firstItem="Zar-bw-g0y" firstAttribute="top" secondItem="li8-n0-xFP" secondAttribute="top" constant="10" id="GUU-Ek-FcU"/>
  103. <constraint firstItem="60R-4R-jqa" firstAttribute="centerX" secondItem="li8-n0-xFP" secondAttribute="centerX" id="H20-Yd-TD9"/>
  104. <constraint firstItem="nz9-l6-1TD" firstAttribute="centerX" secondItem="li8-n0-xFP" secondAttribute="centerX" id="Mtk-YE-tRq"/>
  105. <constraint firstItem="zQC-ag-QWU" firstAttribute="top" secondItem="nz9-l6-1TD" secondAttribute="bottom" constant="10" id="Noy-cI-wis"/>
  106. <constraint firstAttribute="trailing" secondItem="Zar-bw-g0y" secondAttribute="trailing" constant="5" id="XHV-sD-7cb"/>
  107. <constraint firstItem="SB1-ta-R6Z" firstAttribute="width" secondItem="li8-n0-xFP" secondAttribute="width" id="ZEe-Ub-cXo"/>
  108. <constraint firstItem="SB1-ta-R6Z" firstAttribute="top" secondItem="zQC-ag-QWU" secondAttribute="bottom" constant="20" id="ZPC-E5-tSQ"/>
  109. <constraint firstItem="Z7T-ET-Csu" firstAttribute="width" secondItem="li8-n0-xFP" secondAttribute="width" id="ZZT-5F-KR4"/>
  110. <constraint firstItem="nz9-l6-1TD" firstAttribute="top" secondItem="60R-4R-jqa" secondAttribute="bottom" constant="12" id="aFJ-aD-G1W"/>
  111. <constraint firstItem="zQC-ag-QWU" firstAttribute="leading" secondItem="nz9-l6-1TD" secondAttribute="leading" id="ld0-qK-qCf"/>
  112. <constraint firstItem="SB1-ta-R6Z" firstAttribute="centerX" secondItem="li8-n0-xFP" secondAttribute="centerX" id="qe5-NK-q4u"/>
  113. <constraint firstItem="nz9-l6-1TD" firstAttribute="width" secondItem="li8-n0-xFP" secondAttribute="width" multiplier="0.74" id="tnh-20-11P"/>
  114. <constraint firstItem="60R-4R-jqa" firstAttribute="top" secondItem="li8-n0-xFP" secondAttribute="top" constant="18" id="uT9-DU-nR1"/>
  115. </constraints>
  116. <userDefinedRuntimeAttributes>
  117. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  118. <real key="value" value="10"/>
  119. </userDefinedRuntimeAttribute>
  120. </userDefinedRuntimeAttributes>
  121. </view>
  122. </subviews>
  123. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  124. <constraints>
  125. <constraint firstItem="li8-n0-xFP" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" multiplier="0.9" id="M6t-c4-UWh"/>
  126. <constraint firstItem="li8-n0-xFP" firstAttribute="width" secondItem="iN0-l3-epB" secondAttribute="width" multiplier="0.72" id="cx5-r7-aPe"/>
  127. <constraint firstItem="li8-n0-xFP" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="eAc-GI-5pl"/>
  128. </constraints>
  129. <connections>
  130. <outlet property="bgView" destination="li8-n0-xFP" id="b7j-2b-vGZ"/>
  131. <outlet property="chargeTF" destination="nz9-l6-1TD" id="6CF-kZ-l49"/>
  132. <outlet property="sureBtn" destination="Z7T-ET-Csu" id="dY5-xr-SmG"/>
  133. <outlet property="tipsL" destination="zQC-ag-QWU" id="95M-cv-IDI"/>
  134. <outlet property="titleL" destination="60R-4R-jqa" id="0Nd-lP-fGG"/>
  135. </connections>
  136. <point key="canvasLocation" x="139" y="115"/>
  137. </view>
  138. </objects>
  139. <resources>
  140. <image name="screen_close.png" width="14" height="14"/>
  141. <systemColor name="systemBackgroundColor">
  142. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  143. </systemColor>
  144. </resources>
  145. </document>