Blame view

HDFwear/Home/Cell/Base.lproj/TrainCell.xib 10.5 KB
f2cf74c7   yangbin   1.0.20(4)
1
  <?xml version="1.0" encoding="UTF-8"?>
e1017215   daifengyi   feat:home page UI
2
  <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
f2cf74c7   yangbin   1.0.20(4)
3
4
5
      <device id="retina6_1" orientation="portrait" appearance="light"/>
      <dependencies>
          <deployment identifier="iOS"/>
e1017215   daifengyi   feat:home page UI
6
          <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21678"/>
f2cf74c7   yangbin   1.0.20(4)
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
          <capability name="Safe area layout guides" minToolsVersion="9.0"/>
          <capability name="System colors in document resources" minToolsVersion="11.0"/>
          <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
      </dependencies>
      <objects>
          <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
          <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
          <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" id="gTV-IL-0wX" customClass="TrainCell" customModule="HDFwear" customModuleProvider="target">
              <rect key="frame" x="0.0" y="0.0" width="233" height="187"/>
              <autoresizingMask key="autoresizingMask"/>
              <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
                  <rect key="frame" x="0.0" y="0.0" width="233" height="187"/>
                  <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                  <subviews>
                      <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="home_train" translatesAutoresizingMaskIntoConstraints="NO" id="mSZ-VW-9tS">
                          <rect key="frame" x="10" y="10" width="22" height="22"/>
                          <constraints>
                              <constraint firstAttribute="width" constant="22" id="SgV-fo-E7K"/>
                              <constraint firstAttribute="height" constant="22" id="hjZ-Yh-Kw9"/>
                          </constraints>
                      </imageView>
                      <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" usesAttributedText="YES" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5Ie-Ha-PGF">
                          <rect key="frame" x="42" y="11.5" width="186" height="19"/>
                          <attributedString key="attributedText">
                              <fragment content="训练">
                                  <attributes>
                                      <font key="NSFont" size="16" name="PingFangSC-Medium"/>
                                      <paragraphStyle key="NSParagraphStyle" alignment="natural" lineBreakMode="wordWrapping" baseWritingDirection="natural" maximumLineHeight="19" tighteningFactorForTruncation="0.0"/>
                                  </attributes>
                              </fragment>
                          </attributedString>
                          <nil key="highlightedColor"/>
                      </label>
                      <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="--" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="kQF-7N-pFg">
                          <rect key="frame" x="10" y="42" width="30.5" height="35"/>
                          <fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="25"/>
                          <nil key="textColor"/>
                          <nil key="highlightedColor"/>
                      </label>
f2cf74c7   yangbin   1.0.20(4)
46
47
48
49
50
51
52
                      <view userInteractionEnabled="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="X6R-Yc-1BP" customClass="BarChartView" customModule="Charts">
                          <rect key="frame" x="0.0" y="82" width="228" height="104"/>
                          <color key="backgroundColor" systemColor="systemBackgroundColor"/>
                      </view>
                      <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="home_train_nodata" translatesAutoresizingMaskIntoConstraints="NO" id="qq0-M6-ZAT">
                          <rect key="frame" x="10" y="88" width="189" height="67"/>
                      </imageView>
e1017215   daifengyi   feat:home page UI
53
54
55
56
57
58
59
60
61
62
                      <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="暂无数据" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="0U9-Fu-Ck8">
                          <rect key="frame" x="88.5" y="83.5" width="56" height="20"/>
                          <fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="14"/>
                          <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
                          <nil key="highlightedColor"/>
                      </label>
                      <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="--" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="84h-AF-lu5">
                          <rect key="frame" x="204" y="11" width="17" height="20"/>
                          <fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="14"/>
                          <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
f2cf74c7   yangbin   1.0.20(4)
63
64
65
66
67
68
69
70
71
72
                          <nil key="highlightedColor"/>
                      </label>
                  </subviews>
              </view>
              <viewLayoutGuide key="safeArea" id="ZTg-uK-7eu"/>
              <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
              <constraints>
                  <constraint firstItem="qq0-M6-ZAT" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="10" id="8Fj-BM-XJI"/>
                  <constraint firstItem="mSZ-VW-9tS" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="10" id="9xu-p7-hKT"/>
                  <constraint firstItem="5Ie-Ha-PGF" firstAttribute="centerY" secondItem="mSZ-VW-9tS" secondAttribute="centerY" id="AZI-lJ-iZM"/>
e1017215   daifengyi   feat:home page UI
73
                  <constraint firstItem="0U9-Fu-Ck8" firstAttribute="centerY" secondItem="gTV-IL-0wX" secondAttribute="centerY" id="M0U-ZB-wzw"/>
f2cf74c7   yangbin   1.0.20(4)
74
                  <constraint firstAttribute="trailing" secondItem="X6R-Yc-1BP" secondAttribute="trailing" constant="5" id="NHq-0V-Uso"/>
e1017215   daifengyi   feat:home page UI
75
                  <constraint firstItem="0U9-Fu-Ck8" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" id="Ugb-cv-l5S"/>
f2cf74c7   yangbin   1.0.20(4)
76
77
78
                  <constraint firstItem="X6R-Yc-1BP" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="Yq7-wi-l1N"/>
                  <constraint firstItem="kQF-7N-pFg" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="10" id="cL5-0F-iLQ"/>
                  <constraint firstAttribute="trailing" secondItem="qq0-M6-ZAT" secondAttribute="trailing" constant="34" id="cfw-nc-1GZ"/>
f2cf74c7   yangbin   1.0.20(4)
79
                  <constraint firstItem="mSZ-VW-9tS" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="10" id="gBv-GR-XxH"/>
e1017215   daifengyi   feat:home page UI
80
81
                  <constraint firstAttribute="trailing" secondItem="84h-AF-lu5" secondAttribute="trailing" constant="12" id="hvI-Rq-1uk"/>
                  <constraint firstItem="84h-AF-lu5" firstAttribute="centerY" secondItem="5Ie-Ha-PGF" secondAttribute="centerY" id="if3-0p-x3p"/>
f2cf74c7   yangbin   1.0.20(4)
82
                  <constraint firstAttribute="bottom" secondItem="X6R-Yc-1BP" secondAttribute="bottom" constant="1" id="lpm-Pd-IgV"/>
e1017215   daifengyi   feat:home page UI
83
                  <constraint firstItem="kQF-7N-pFg" firstAttribute="top" secondItem="mSZ-VW-9tS" secondAttribute="bottom" constant="10" id="sIX-fN-Zo5"/>
f2cf74c7   yangbin   1.0.20(4)
84
85
86
87
                  <constraint firstAttribute="trailing" secondItem="5Ie-Ha-PGF" secondAttribute="trailing" constant="5" id="whg-0d-fQi"/>
                  <constraint firstItem="X6R-Yc-1BP" firstAttribute="top" secondItem="kQF-7N-pFg" secondAttribute="bottom" constant="5" id="x67-T4-4c5"/>
                  <constraint firstItem="5Ie-Ha-PGF" firstAttribute="leading" secondItem="mSZ-VW-9tS" secondAttribute="trailing" constant="10" id="yEL-mg-OkK"/>
                  <constraint firstAttribute="bottom" secondItem="qq0-M6-ZAT" secondAttribute="bottom" constant="32" id="ytJ-3q-kDy"/>
f2cf74c7   yangbin   1.0.20(4)
88
89
90
91
92
93
94
95
96
              </constraints>
              <size key="customSize" width="233" height="187"/>
              <userDefinedRuntimeAttributes>
                  <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
                      <integer key="value" value="10"/>
                  </userDefinedRuntimeAttribute>
              </userDefinedRuntimeAttributes>
              <connections>
                  <outlet property="barChartView" destination="X6R-Yc-1BP" id="UXA-T4-hmf"/>
e1017215   daifengyi   feat:home page UI
97
                  <outlet property="dateLabel" destination="84h-AF-lu5" id="UEt-tx-Sgq"/>
f2cf74c7   yangbin   1.0.20(4)
98
99
                  <outlet property="lengthLabel" destination="kQF-7N-pFg" id="UHH-kZ-H63"/>
                  <outlet property="noDataImageView" destination="qq0-M6-ZAT" id="jVD-cD-iAG"/>
e1017215   daifengyi   feat:home page UI
100
                  <outlet property="noDataLabel" destination="0U9-Fu-Ck8" id="54p-YU-RCe"/>
f2cf74c7   yangbin   1.0.20(4)
101
                  <outlet property="titleLabel" destination="5Ie-Ha-PGF" id="8eN-ES-cGJ"/>
f2cf74c7   yangbin   1.0.20(4)
102
103
104
105
106
              </connections>
              <point key="canvasLocation" x="270.28985507246381" y="149.66517857142856"/>
          </collectionViewCell>
      </objects>
      <resources>
e1017215   daifengyi   feat:home page UI
107
          <image name="home_train" width="24" height="24"/>
f2cf74c7   yangbin   1.0.20(4)
108
109
110
111
112
113
          <image name="home_train_nodata" width="126" height="67"/>
          <systemColor name="systemBackgroundColor">
              <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
          </systemColor>
      </resources>
  </document>