From 2206df0da6499846c78a358cf95ca33c218a5c5d Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期三, 14 九月 2022 08:43:37 +0800
Subject: [PATCH] 2022.9.13

---
 pages/home/home.wxml |   63 ++++++++++++++++++++++---------
 1 files changed, 44 insertions(+), 19 deletions(-)

diff --git a/pages/home/home.wxml b/pages/home/home.wxml
index a91fd27..aab14e5 100644
--- a/pages/home/home.wxml
+++ b/pages/home/home.wxml
@@ -22,24 +22,47 @@
         </view>
       </view>
     </view> -->
-    <view class="flex-h">
-      <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>
-        <view class="top-card__tag">鐐瑰嚮鏌ョ湅鏈湡鑷祴鏅鸿瘎鎯呭喌</view>
-        <image src="/res/icons/wm_assessment.png"></image>
+    <view class="flex-h" style="margin-top: 4px;">
+      <view class="flex-h_block">
+        <view class="top-card" bindtap="goto" data-index="0">
+          <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="top-card" 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>
-        <view class="top-card__tag">鐐瑰嚮鏌ョ湅鏈湡鍙拌处涓婁紶鎯呭喌</view>
-        <image src="/res/icons/wm_ledger.png"></image>
-      </view>
-      <view class="top-card" bindtap="goto" data-index="6">
-        <view class="top-card__score">鍓╀綑<text class="top-card__num">{{promsieInfo.leftDays}}</text>澶�</view>
-        <view class="top-card__time">鎵胯鏈夋晥鍊掕鏃� ></view>
-        <view class="top-card__tag">鐐瑰嚮鏌ョ湅鏈湡鎵胯瀹屾垚鎯呭喌</view>
-        <image src="/res/icons/wm_commitment.png"></image>
+      <view class="flex-h_block">
+        <view class="top-card top-card_2" bindtap="goto" data-index="5">
+          <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>
+            <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>
+          <image src="/res/icons/wm_commitment.png" mode="aspectFit"></image>
+        </view>
       </view>
     </view>
   </view>
@@ -65,19 +88,21 @@
 
     <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">
         <view class="fyui-cell__hd">

--
Gitblit v1.9.3