From 45b2c022e27dda53ee4e5266fbdbdf1ac3aa4c65 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期五, 05 八月 2022 16:47:59 +0800
Subject: [PATCH] 2022.8.5

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

diff --git a/pages/home/home.wxml b/pages/home/home.wxml
index 61346df..ac3f111 100644
--- a/pages/home/home.wxml
+++ b/pages/home/home.wxml
@@ -2,32 +2,32 @@
 <view class="page">
   <cp-notice msg="鎻愰珮娴嬭瘎寰楀垎灏忔妧宸ф潵浜嗭紝蹇偣瀛︿範鍝�" />
   <view class="page__hd">
-    <view class="page__title">xxxxxxxxxxxxxxxx鍏徃</view>
-    <view class="page__desc">涓嬫娴嬭瘎鏃堕棿2022骞�1鏈�1鏃�</view>
-    <view class="top-card">
-      <view class="top-card__time">娴嬭瘎鍛ㄦ湡2022骞�7鏈�</view>
-      <view class="top-card__score">91鍒� ></view>
+    <view class="page__title">{{userRealName}}</view>
+    <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">
         <view class="top-card__item">
           <view>瀹堟硶鎺掑悕</view>
-          <text>89</text>
+          <text>{{historyPoint.rank}}</text>
         </view>
         <view class="top-card__item">
           <view>瀹堟硶鎸囨暟</view>
-          <text>浣�</text>
+          <text>{{historyPoint.legalIndex}}</text>
         </view>
         <view class="top-card__item">
           <view>杩濇硶鎸囨暟</view>
-          <text>楂�</text>
+          <text>{{historyPoint.illegalIndex}}</text>
         </view>
       </view>
     </view>
   </view>
   <view class="page__bd">
-    <view class="fyui-panel">
+    <view class="fyui-panel" bindtap="goto" data-index="1">
       <view class="fyui-cell fyui-cell_select title">
         <view class="fyui-cell__hd">
-          <image src="/res/icons/tab_1_select.png" class="icon" />
+          <image src="/res/icons/warn.png" class="icon" />
         </view>
         <view class="fyui-cell__bd">鏅鸿兘宸ヤ綔鎻愰啋</view>
         <view class="fyui-cell__ft">鏌ョ湅鏇村</view>
@@ -42,9 +42,48 @@
         </view>
       </view>
     </view>
-  </view>
-  <view class="page__ft">
 
+    <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="" />
+        <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="" />
+        <text class="image-btn_title">鍦ㄧ嚎瀹堟硶瀛︿範</text>
+        <text class="image-btn_abstract">瀹炴椂鍦ㄧ嚎瀛︿範鏈嶅姟</text>
+        <view class="image-btn_goto"></view>
+      </view>
+    </view>
+
+    <view class="fyui-panel">
+      <view class="fyui-cell fyui-cell_select title">
+        <view class="fyui-cell__hd">
+          <image src="/res/icons/icon1.png" class="icon" />
+        </view>
+        <view class="fyui-cell__bd">瀹堟硶鍔ㄦ��</view>
+        <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__bd">
+            <view class="fyui-box__content">{{item.title}}</view>
+            <view class="fyui-box__tag">
+              <view>{{item.time}}</view>
+              <view class="flex-h">
+                <image src="/res/icons/view.png" class="icon"></image>{{item.views}}
+              </view>
+            </view>
+          </view>
+          <view class="fyui-box__hd">
+            <image src="{{item.pic}}" class="" />
+          </view>
+        </view>
+      </view>
+    </view>
   </view>
+  <view class="page__ft"></view>
 
 </view>
\ No newline at end of file

--
Gitblit v1.9.3