riku
2022-10-17 eb7366f400867d3f401fe60f06d848d6d1448457
pages/home/home.wxml
@@ -22,26 +22,46 @@
        </view>
      </view>
    </view> -->
    <view class="flex-h">
    <view class="flex-h" style="margin-top: 4px;">
      <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 class="top-card__score"><text class="top-card__num">{{historyPoint.score}}</text>分</view>
            <view class="top-card__time">自测智评得分 ></view>
          </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>
          <image src="/res/icons/wm_assessment.png" mode="aspectFit"></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__score"><text class="top-card__num">{{monthInfo.percent}}</text>%</view>
            <view class="top-card__time">台账完成率 ></view>
          </view>
          <image src="/res/icons/wm_ledger.png" mode="aspectFit"></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__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>
          </view>
          <view class="top-card__time">承诺倒计时 ></view>
          <image src="/res/icons/wm_commitment.png"></image>
          <image src="/res/icons/wm_commitment.png" mode="aspectFit"></image>
        </view>
      </view>
    </view>
@@ -68,18 +88,20 @@
    <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="" />
        <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="" />
        <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>
    <c-schedule></c-schedule>
    <view class="fyui-panel">
      <view class="fyui-cell fyui-cell_select title">
@@ -101,7 +123,7 @@
            </view>
          </view>
          <view class="fyui-box__hd">
            <image src="{{item.pic}}" class="" />
            <image src="{{item.pic}}" class="fyui-box__hd_image" mode="aspectFill"/>
          </view>
        </view>
      </view>