riku
2022-09-06 b43d04ef7295105e78feb5980de619f58a9803a6
1
2
3
4
5
6
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<!--pages/assessment/assessment.wxml-->
<view class="page">
  <!-- <view class="banner-bg"></view> -->
 
  <!-- <view style="padding-top: {{statusBarHeight}}px;" class="statusbar-title">
    <view style="line-height: {{navContentHeight - statusBarHeight}}px;">
      <text>信用智评</text>
    </view>
  </view> -->
 
  <view class="page__hd flex-h">
    <view class="flex-v">
      <view>
        <view class="title">{{text1}}</view>
        <view class="title">{{text2}}</view>
        <view class="tag">测评截止时间:{{deadline}}</view>
        <image wx:if="{{hasScore}}" src="/res/icons/complete.png" class="t-image" mode="aspectFit"></image>
      </view>
      <view class="btn" bindtap="goto" data-index="0">{{text3}}</view>
    </view>
    <view class="progress" style="margin-right: 0px;">
      <cp-progress progress="{{score}}" />
    </view>
  </view>
 
  <view class="page__bd">
    <view style="margin-left: 10px;">分类测评</view>
    <view class="top-card top-card_main" bindtap="goto" data-index="0">
      <image src="/res/icons/ass_3.png" mode="aspectFit"></image>
      <view>
        <view class="top-card__name">守法自测智评</view>
        <view class="top-card__tag">点击进行测评 ></view>
      </view>
      <!-- <mp-icon icon="arrow" class="" size="15" color="white"></mp-icon> -->
    </view>
    <view class="flex-h">
      <view class="flex-h_block">
        <view class="top-card">
          <image src="/res/icons/ass_2.png" mode="aspectFit"></image>
          <view>
            <view class="top-card__name">碳排放智能估算</view>
            <view class="top-card__tag">点击进行测评 ></view>
          </view>
        </view>
      </view>
      <view class="flex-h_block">
        <view class="top-card top-card_2">
          <image src="/res/icons/ass_1.png" mode="aspectFit"></image>
          <view>
            <view class="top-card__name">其他专项自测</view>
            <view class="top-card__tag">点击进行测评 ></view>
          </view>
        </view>
      </view>
    </view>
    <view style="margin-left: 10px;margin-top: 8px;">测评趋势</view>
    <view class="fyui-panel line-chart-card">
      <view class="flex-h" style="padding: 4px;">
        <view></view>
        <picker bindchange="bindYearChange" data-type="planYear" value="{{planYear}}" mode="date" fields="year" end="{{maxYear}}">
          <view class="fyui-selector">
            {{planYear}}
            <mp-icon icon="arrow" class="icon-down" size="10" color="black"></mp-icon>
          </view>
        </picker>
      </view>
      <ec-canvas id="mychart-dom-line" canvas-id="mychart-line" ec="{{ ec }}"></ec-canvas>
    </view>
 
    <view class="fyui-cell fyui-cell_select title">
      <view class="fyui-cell__bd">历史测评</view>
      <view class="fyui-cell__ft">查看更多</view>
    </view>
    <view wx:for="{{historys}}" wx:key="index" data-index="index" class="flex-h" style="align-items: flex-start;">
      <view class="history_icon">
        <view class="history_icon_1">
          <view></view>
        </view>
        <view class="history_icon_2"></view>
      </view>
      <view style="flex: 1;">
        <view class="history_time">{{item.time}}</view>
        <view class="h-cell fyui-panel">
          <view class="h-tag">{{item.updateTime}}</view>
          <view class="h-line_1">
            <view class="flex-h">
              <view class="h-score" style="background-color: {{item.color}};">
                {{item.score}}
              </view>
              <view class="h-rank">
                <view>风险排名:{{item.rank}}</view>
                <view>风险等级:{{item.level}}</view>
              </view>
            </view>
            <view data-id="{{item.scoreId}}" class="h-btn" bindtap="goto" data-index="1" data-period="{{item.period}}">去看看</view>
          </view>
          <!-- <view class="h-line_2">
            <view data-id="{{item.scoreId}}" class="h-btn" bindtap="goto" data-index="1" data-period="{{item.time}}">去看看</view>
          </view> -->
        </view>
      </view>
    </view>
 
 
  </view>
  <view class="page__ft">
  </view>
</view>