WorkFLowCell.xib 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="15705" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina6_1" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15706"/>
  7. <capability name="Safe area layout guides" minToolsVersion="9.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. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="WorkFLowCellID" id="gTV-IL-0wX" customClass="WorkFLowCell">
  14. <rect key="frame" x="0.0" y="0.0" width="272" height="245"/>
  15. <autoresizingMask key="autoresizingMask"/>
  16. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
  17. <rect key="frame" x="0.0" y="0.0" width="272" height="245"/>
  18. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  19. <subviews>
  20. <view hidden="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="JCV-jG-98X" userLabel="top">
  21. <rect key="frame" x="0.0" y="0.0" width="272" height="1"/>
  22. <color key="backgroundColor" red="0.93725490196078431" green="0.93725490196078431" blue="0.93725490196078431" alpha="1" colorSpace="calibratedRGB"/>
  23. <constraints>
  24. <constraint firstAttribute="height" constant="1" id="wg8-3R-PoR"/>
  25. </constraints>
  26. </view>
  27. <view hidden="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Ikx-rp-XEX" userLabel="bottom">
  28. <rect key="frame" x="0.0" y="244" width="272" height="1"/>
  29. <color key="backgroundColor" red="0.93725490196078431" green="0.93725490196078431" blue="0.93725490196078431" alpha="1" colorSpace="calibratedRGB"/>
  30. <constraints>
  31. <constraint firstAttribute="height" constant="1" id="zDd-Fg-FoX"/>
  32. </constraints>
  33. </view>
  34. <view hidden="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="2yY-Bj-KwT" userLabel="left">
  35. <rect key="frame" x="0.0" y="0.0" width="1" height="245"/>
  36. <color key="backgroundColor" red="0.93725490199999995" green="0.93725490199999995" blue="0.93725490199999995" alpha="1" colorSpace="calibratedRGB"/>
  37. <constraints>
  38. <constraint firstAttribute="width" constant="1" id="zT7-by-cNV"/>
  39. </constraints>
  40. </view>
  41. <view hidden="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="QZY-ij-H6H" userLabel="right">
  42. <rect key="frame" x="271" y="0.0" width="1" height="245"/>
  43. <color key="backgroundColor" red="0.93725490199999995" green="0.93725490199999995" blue="0.93725490199999995" alpha="1" colorSpace="calibratedRGB"/>
  44. <constraints>
  45. <constraint firstAttribute="width" constant="1" id="J8Q-ql-REz"/>
  46. </constraints>
  47. </view>
  48. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="bfa-Qh-JuC">
  49. <rect key="frame" x="1" y="1" width="270" height="181"/>
  50. <subviews>
  51. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="work_flow_approvalme" translatesAutoresizingMaskIntoConstraints="NO" id="iM3-Ty-tvY">
  52. <rect key="frame" x="111.5" y="67" width="47" height="47"/>
  53. <constraints>
  54. <constraint firstAttribute="width" constant="47" id="4kg-xU-q5b"/>
  55. <constraint firstAttribute="height" constant="47" id="W2A-hO-a4i"/>
  56. </constraints>
  57. </imageView>
  58. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="99+" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="PUb-Ug-B4W">
  59. <rect key="frame" x="145.5" y="65" width="16" height="16"/>
  60. <color key="backgroundColor" systemColor="systemRedColor" red="1" green="0.23137254900000001" blue="0.18823529410000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  61. <constraints>
  62. <constraint firstAttribute="width" constant="16" id="XEY-YJ-IKM"/>
  63. <constraint firstAttribute="height" constant="16" id="kM0-EK-uY0"/>
  64. </constraints>
  65. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  66. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  67. <nil key="highlightedColor"/>
  68. <userDefinedRuntimeAttributes>
  69. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  70. <integer key="value" value="8"/>
  71. </userDefinedRuntimeAttribute>
  72. <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
  73. </userDefinedRuntimeAttributes>
  74. </label>
  75. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="我的审批" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="oiv-WS-HhG">
  76. <rect key="frame" x="10" y="119" width="250" height="21"/>
  77. <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="15"/>
  78. <color key="textColor" red="0.039215686270000001" green="0.039215686270000001" blue="0.039215686270000001" alpha="1" colorSpace="calibratedRGB"/>
  79. <nil key="highlightedColor"/>
  80. </label>
  81. </subviews>
  82. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  83. <constraints>
  84. <constraint firstItem="oiv-WS-HhG" firstAttribute="leading" secondItem="bfa-Qh-JuC" secondAttribute="leading" constant="10" id="1Ze-mv-WGe"/>
  85. <constraint firstItem="PUb-Ug-B4W" firstAttribute="centerX" secondItem="iM3-Ty-tvY" secondAttribute="trailing" constant="-5" id="1gY-ze-HjH"/>
  86. <constraint firstItem="PUb-Ug-B4W" firstAttribute="centerY" secondItem="iM3-Ty-tvY" secondAttribute="top" constant="6" id="Kgz-c1-mUe"/>
  87. <constraint firstAttribute="width" secondItem="bfa-Qh-JuC" secondAttribute="height" multiplier="270:181" id="KsH-Rp-iH4"/>
  88. <constraint firstItem="iM3-Ty-tvY" firstAttribute="centerX" secondItem="bfa-Qh-JuC" secondAttribute="centerX" id="PKG-sp-Q8Z"/>
  89. <constraint firstItem="oiv-WS-HhG" firstAttribute="top" secondItem="iM3-Ty-tvY" secondAttribute="bottom" constant="5" id="PmM-T4-fhJ"/>
  90. <constraint firstAttribute="trailing" secondItem="oiv-WS-HhG" secondAttribute="trailing" constant="10" id="X8E-Ow-spt"/>
  91. <constraint firstItem="iM3-Ty-tvY" firstAttribute="centerY" secondItem="bfa-Qh-JuC" secondAttribute="centerY" id="Ycb-bX-xVO"/>
  92. </constraints>
  93. </view>
  94. </subviews>
  95. </view>
  96. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  97. <constraints>
  98. <constraint firstItem="2yY-Bj-KwT" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="2JX-61-wGn"/>
  99. <constraint firstAttribute="trailing" secondItem="Ikx-rp-XEX" secondAttribute="trailing" id="BkG-h7-yI9"/>
  100. <constraint firstAttribute="trailing" secondItem="QZY-ij-H6H" secondAttribute="trailing" id="CYF-we-yYS"/>
  101. <constraint firstItem="bfa-Qh-JuC" firstAttribute="leading" secondItem="2yY-Bj-KwT" secondAttribute="trailing" id="Ici-6v-Y6o"/>
  102. <constraint firstItem="2yY-Bj-KwT" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="MKJ-dK-b3A"/>
  103. <constraint firstAttribute="bottom" secondItem="QZY-ij-H6H" secondAttribute="bottom" id="Ml3-Zc-iGN"/>
  104. <constraint firstAttribute="bottom" secondItem="2yY-Bj-KwT" secondAttribute="bottom" id="Wws-ET-wwV"/>
  105. <constraint firstItem="QZY-ij-H6H" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="bAo-oo-tes"/>
  106. <constraint firstAttribute="trailing" secondItem="JCV-jG-98X" secondAttribute="trailing" id="cSj-e8-Yai"/>
  107. <constraint firstItem="bfa-Qh-JuC" firstAttribute="top" secondItem="JCV-jG-98X" secondAttribute="bottom" id="dHN-Od-ijE"/>
  108. <constraint firstItem="Ikx-rp-XEX" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="ew5-N5-aPg"/>
  109. <constraint firstItem="JCV-jG-98X" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="f9o-n3-vih"/>
  110. <constraint firstItem="QZY-ij-H6H" firstAttribute="leading" secondItem="bfa-Qh-JuC" secondAttribute="trailing" id="jsi-F4-8jr"/>
  111. <constraint firstAttribute="bottom" secondItem="Ikx-rp-XEX" secondAttribute="bottom" id="k15-3h-3e5"/>
  112. <constraint firstItem="JCV-jG-98X" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="wca-a5-0f1"/>
  113. </constraints>
  114. <viewLayoutGuide key="safeArea" id="SEy-5g-ep8"/>
  115. <size key="customSize" width="272" height="245"/>
  116. <connections>
  117. <outlet property="bottomLine" destination="Ikx-rp-XEX" id="1vy-BA-ked"/>
  118. <outlet property="iconImageView" destination="iM3-Ty-tvY" id="P3D-zC-yIZ"/>
  119. <outlet property="leftLine" destination="2yY-Bj-KwT" id="5rU-RM-end"/>
  120. <outlet property="rightLine" destination="QZY-ij-H6H" id="6Ma-Hu-JiR"/>
  121. <outlet property="titleLabel" destination="oiv-WS-HhG" id="k2d-eC-Api"/>
  122. <outlet property="topLine" destination="JCV-jG-98X" id="B1o-3A-Hbh"/>
  123. <outlet property="width" destination="XEY-YJ-IKM" id="knK-Dz-Fgd"/>
  124. <outlet property="workNumberLab" destination="PUb-Ug-B4W" id="dcc-bf-iMn"/>
  125. </connections>
  126. <point key="canvasLocation" x="292.75362318840581" y="217.96875"/>
  127. </collectionViewCell>
  128. </objects>
  129. <resources>
  130. <image name="work_flow_approvalme" width="47" height="47"/>
  131. </resources>
  132. </document>