From 9f78f3f014a3423ea3fcab8f9f1056c57cd47fc8 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期五, 26 八月 2022 17:16:26 +0800
Subject: [PATCH] 2022.8.26

---
 pages/home/home.wxml |   40 ++++++++++++++++++++++++++++++----------
 1 files changed, 30 insertions(+), 10 deletions(-)

diff --git a/pages/home/home.wxml b/pages/home/home.wxml
index 9567bf9..6fcb5fe 100644
--- a/pages/home/home.wxml
+++ b/pages/home/home.wxml
@@ -25,23 +25,43 @@
     <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 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>

--
Gitblit v1.9.3