riku
2022-08-10 51600113c20d84ee54660de23324400604704dc2
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
<!--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>
  <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">
            <image src="/res/icons/tab_1_select.png" class="icon" />
          </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>
 
    <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="" />
          </view>
        </view>
      </view>
    </view>
  </view>
  <view class="page__ft"></view>
 
</view>