riku
2023-11-29 9b09d13712c0c005891450a3bf4b6d848ec0ff37
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
<!--pages/gradedetail/gradedetail.wxml-->
<view class="page">
  <view class="banner-bg"></view>
  <view class="page__bd">
    <!-- 雷达图 -->
    <view class="radar-panel">
      <ec-canvas id="mychart-dom-radar" canvas-id="mychart-radar" ec="{{ ec }}"></ec-canvas>
    </view>
    <!-- 得分解读 -->
    <view class="marks">
      <image src="/res/icons/qmark1.png" class="mark"></image>
      <image src="/res/icons/qmark2.png" class="mark"></image>
    </view>
    <view class="fyui-panel">
      <view class="fyui-panel_title">自评解读</view>
      <view class="fyui-panel_desc">{{creditText}}</view>
    </view>
    <!-- 得分详情 -->
    <view class="fyui-panel gradient">
      <view class="fyui-panel_title">得分详情</view>
      <block wx:for="{{gradeDetails}}" wx:key="index">
        <view class="flex-h">
          <view>{{item.name}}</view>
          <view>{{item.detail}}</view>
        </view>
      </block>
    </view>
    <!-- 失分条目 -->
    <view class="fyui-panel fyui-panel__max">
      <view class="fyui-panel_title">自评诊断</view>
      <view wx:if="{{losePoints.length > 0}}">
        <view style="font-size: 16px;" class="first">
          <view style="display: inline-block; border: 6px solid orange;"></view>
          扣分项
        </view>
        本次测评主要影响类别为<text style="color: orange;font-weight: 600;font-size: 16px;" wx:for="{{losePointsItem}}" wx:key="index">{{index > 0 ? "、" : ""}}{{item}}</text>
        等共计<text style="color: orange;font-weight: 600;font-size: 18px;">{{losePoints.length}}</text>项,具体诊断及建议如下:
      </view>
      <view wx:else="">您本次自评满分,暂无诊断建议。</view>
      <block wx:for="{{losePoints}}" wx:key="index">
        <view class="{{index !=0 ? 'first' : ''}}">
          <view class="fyui-panel_title">{{index + 1}}. 【<text style="color: orange;">{{item.baseRule}}</text>】{{item.name}}</view>
          <block wx:for="{{item.itemlist}}" wx:for-item="rule" wx:key="index">
            <view style="margin-top: 8px;border-top: 4px solid orange;width: 30px;"></view>
            <view class="fyui-panel_desc">
              <view>条目:</view>{{rule.ruleName}}
            </view>
            <view class="fyui-panel_desc">
              <view>{{rule.score < 0 ? '扣分' : '加分'}}:</view><text style="{{rule.score < 0 ? 'color: orange;' : 'color: rgb(147, 250, 226);'}}">{{rule.score}}分</text>
            </view>
            <view class="fyui-panel_desc">
              <view>建议:</view>{{rule.remark}}
            </view>
          </block>
        </view>
      </block>
 
      <view wx:if="{{losePoints.length > 0}}">
        <view style="font-size: 16px;" class="first">
          <view style="display: inline-block; border: 6px solid rgb(95, 211, 184);"></view>
          加分项
        </view>
        本次测评加分项为<text style="color: rgb(95, 211, 184);font-weight: 600;font-size: 16px;" wx:for="{{pointsItem}}" wx:key="index">{{index > 0 ? "、" : ""}}{{item}}</text>
        等共计<text style="color: rgb(95, 211, 184);font-weight: 600;font-size: 18px;">{{points.length}}</text>项,具体如下:
      </view>
      <block wx:for="{{points}}" wx:key="index">
        <view class="{{index !=0 ? 'first' : ''}}">
          <view class="fyui-panel_title">{{index + 1}}. 【<text style="color: rgb(95, 211, 184);">{{item.baseRule}}</text>】{{item.name}}</view>
          <block wx:for="{{item.itemlist}}" wx:for-item="rule" wx:key="index">
            <view style="margin-top: 8px;border-top: 4px solid rgb(95, 211, 184);width: 30px;"></view>
            <view class="fyui-panel_desc">
              <view>条目:</view>{{rule.ruleName}}
            </view>
            <view class="fyui-panel_desc">
              <view>{{rule.score < 0 ? '扣分' : '加分'}}:</view><text style="{{rule.score < 0 ? 'color: orange;' : 'color: rgb(95, 211, 184);'}}">{{rule.score}}分</text>
            </view>
            <view class="fyui-panel_desc">
              <view>解析:</view>{{rule.remark}}
            </view>
          </block>
        </view>
      </block>
    </view>
  </view>
  <view class="page__ft">
 
  </view>
</view>