riku
2022-08-23 8fbd6b8d09e70494d920cc0b77812e9643be3196
pages/home/home.wxml
@@ -3,8 +3,8 @@
  <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="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">
@@ -21,6 +21,29 @@
          <text>{{historyPoint.illegalIndex}}</text>
        </view>
      </view>
    </view> -->
    <view class="flex-h">
      <view class="flex-h_block">
        <view class="top-card" bindtap="goto" data-index="0">
          <view class="top-card__score"><text class="top-card__num">{{historyPoint.score}}</text>分</view>
          <view class="top-card__time">自测智评得分 ></view>
          <image src="/res/icons/wm_assessment.png"></image>
        </view>
      </view>
      <view class="flex-h_block">
        <view class="top-card top-card_2" bindtap="goto" data-index="5">
          <view class="top-card__score"><text class="top-card__num">{{monthInfo.percent}}</text>%</view>
          <view class="top-card__time">台账完成率 ></view>
          <image src="/res/icons/wm_ledger.png"></image>
        </view>
        <view class="top-card top-card_3" bindtap="goto" data-index="6">
          <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>
          <image src="/res/icons/wm_commitment.png"></image>
        </view>
      </view>
    </view>
  </view>
  <view class="page__bd">
@@ -35,7 +58,7 @@
      <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 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>
@@ -67,7 +90,7 @@
        <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" 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">