riku
2025-04-27 f46786f11c5c08ead7501a82e5a71430ad69b782
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
<view class="page">
  <t-loading
    wx:if="{{pageLoading}}"
    theme="circular"
    size="40rpx"
    text="加载中..."
    loading
    t-class="fy-loading"
    t-class-indicator="fy-loading-indicator"
    t-class-text="fy-loading-text"
  >
  </t-loading>
  <view class="page-header">
    <!-- 雷达图 -->
    <view class="radar-panel">
      <ec-canvas id="mychart-dom-radar" canvas-id="mychart-radar" ec="{{ ec }}"></ec-canvas>
    </view>
  </view>
  <view class="page-container">
    <!-- 得分解读 -->
    <view class="marks">
      <image src="/res/qmark1.png" class="mark"></image>
      <image src="/res/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}}">
        本次测评主要影响类别为<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 rgb(147, 250, 226); 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>
  </view>
  <view class="page-footer"></view>
</view>