riku
2022-10-17 eb7366f400867d3f401fe60f06d848d6d1448457
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<!--pages/home/home.wxml-->
<view class="page">
  <cp-notice msg="提高测评得分小技巧来了,快点学习哦" />
  <view class="page__hd">
    <view class="page__title">{{userRealName}}</view>
    <!-- <view class="page__desc">下次测评时间{{nextEvaluationTime}}</view> -->
    <!-- <view class="top-card" bindtap="goto" data-index="0">
      <view class="top-card__time">{{historyPoint.time}}</view>
      <view class="top-card__score">{{historyPoint.score}}分 ></view>
      <view class="top-card__items">
        <view class="top-card__item">
          <view>守法排名</view>
          <text>{{historyPoint.rank}}</text>
        </view>
        <view class="top-card__item">
          <view>守法指数</view>
          <text>{{historyPoint.legalIndex}}</text>
        </view>
        <view class="top-card__item">
          <view>违法指数</view>
          <text>{{historyPoint.illegalIndex}}</text>
        </view>
      </view>
    </view> -->
    <view class="flex-h" style="margin-top: 4px;">
      <view class="flex-h_block">
        <view class="top-card" bindtap="goto" data-index="0">
          <view>
            <view class="top-card__score"><text class="top-card__num">{{historyPoint.score}}</text>分</view>
            <view class="top-card__time">自测智评得分 ></view>
          </view>
          <view class="top-card__items">
            <view class="top-card__item">
              <view>守法排名</view>
              <text>{{historyPoint.rank}}</text>
            </view>
            <view class="top-card__item">
              <view>守法指数</view>
              <text>{{historyPoint.legalIndex}}</text>
            </view>
            <!-- <view class="top-card__item">
              <view>违法指数</view>
              <text>{{historyPoint.illegalIndex}}</text>
            </view> -->
          </view>
          <image src="/res/icons/wm_assessment.png" mode="aspectFit"></image>
        </view>
      </view>
      <view class="flex-h_block">
        <view class="top-card top-card_2" bindtap="goto" data-index="5">
          <view>
            <view class="top-card__score"><text class="top-card__num">{{monthInfo.percent}}</text>%</view>
            <view class="top-card__time">台账完成率 ></view>
          </view>
          <image src="/res/icons/wm_ledger.png" mode="aspectFit"></image>
        </view>
        <view class="top-card top-card_3" bindtap="goto" data-index="6">
          <view>
            <view class="top-card__score">{{promsieInfo.leftDays > 0 ? '剩余' : '失效'}}
              <text class="top-card__num">{{promsieInfo.leftDays > 0 ? promsieInfo.leftDays : 0 - promsieInfo.leftDays}}</text>天
            </view>
            <view class="top-card__time">承诺倒计时 ></view>
          </view>
          <image src="/res/icons/wm_commitment.png" mode="aspectFit"></image>
        </view>
      </view>
    </view>
  </view>
  <view class="page__bd">
    <view class="fyui-panel" bindtap="goto" data-index="1">
      <view class="fyui-cell fyui-cell_select title">
        <view class="fyui-cell__hd">
          <image src="/res/icons/warn.png" class="icon" />
        </view>
        <view class="fyui-cell__bd">智能工作提醒</view>
        <view class="fyui-cell__ft">查看更多</view>
      </view>
      <view wx:for="{{notices}}" wx:key="index" data-index="index" wx:item="item">
        <view class="fyui-cell">
          <view class="fyui-cell__hd">
            <view class="{{item.isRead ? 'notice-read' : 'notice-not-read'}}"></view>
          </view>
          <view class="fyui-cell__bd notice">{{item.notice}}</view>
          <view class="fyui-cell__ft">{{item.time}}</view>
        </view>
      </view>
    </view>
 
    <view class="flex-h" style="padding: 8px 10px;">
      <view class="image-btn" bindtap="goto" data-index="2">
        <image src="/res/icons/btn_bg_2.png" class="" />
        <text class="image-btn_title">智能在线咨询</text>
        <text class="image-btn_abstract">在线智能咨询服务</text>
        <view class="image-btn_goto"></view>
      </view>
      <view class="image-btn" bindtap="goto" data-index="3">
        <image src="/res/icons/btn_bg_1.png" class="" />
        <text class="image-btn_title">在线守法学习</text>
        <text class="image-btn_abstract">实时在线学习服务</text>
        <view class="image-btn_goto"></view>
      </view>
    </view>
 
    <c-schedule></c-schedule>
 
    <view class="fyui-panel">
      <view class="fyui-cell fyui-cell_select title">
        <view class="fyui-cell__hd">
          <image src="/res/icons/icon1.png" class="icon" />
        </view>
        <view class="fyui-cell__bd">守法动态</view>
        <view class="fyui-cell__ft">查看更多</view>
      </view>
      <view wx:for="{{dynamic}}" wx:key="index" data-index="index" wx:item="item">
        <view class="fyui-box" bindtap="goto" data-index="4" data-url="{{item.url}}" data-filetype="{{item.fileType}}">
          <view class="fyui-box__bd">
            <view class="fyui-box__content">{{item.title}}</view>
            <view class="fyui-box__tag">
              <view>{{item.time}}</view>
              <view class="flex-h">
                <image src="/res/icons/view.png" class="icon"></image>{{item.views}}
              </view>
            </view>
          </view>
          <view class="fyui-box__hd">
            <image src="{{item.pic}}" class="fyui-box__hd_image" mode="aspectFill"/>
          </view>
        </view>
      </view>
    </view>
  </view>
  <view class="page__ft"></view>
 
</view>