riku
2023-11-29 9b09d13712c0c005891450a3bf4b6d848ec0ff37
pages/mAssessment/gradereport/gradereport.wxml
@@ -29,6 +29,10 @@
    <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>
@@ -37,7 +41,7 @@
        <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 style="margin-top: 8px;border-top: 4px solid orange;width: 30px;"></view>
            <view class="fyui-panel_desc">
              <view>条目:</view>{{rule.ruleName}}
            </view>
@@ -50,6 +54,32 @@
          </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">