From cedd63e6a0275eb7b32f10ab9b2bc22e30fb42c2 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Mon, 05 Sep 2022 10:42:25 +0800
Subject: [PATCH] 20220902

---
 src/main/resources/templates/febs/views/index.html |   75 ++++++++++++++++++-------------------
 1 files changed, 37 insertions(+), 38 deletions(-)

diff --git a/src/main/resources/templates/febs/views/index.html b/src/main/resources/templates/febs/views/index.html
index 81e787d..b09c3f9 100644
--- a/src/main/resources/templates/febs/views/index.html
+++ b/src/main/resources/templates/febs/views/index.html
@@ -3,6 +3,7 @@
         border: 1px solid #f1f1f1;
         margin-bottom: .5rem;
         padding: .5rem;
+        background: #FFFFFF;
     }
 
     #febs-index .welcome-info-wrapper {
@@ -68,11 +69,45 @@
     #febs-index .project-desc {
         color: rgba(0, 0, 0, 0.45);
     }
+    /*.layui-card:last-child{*/
+    /*    background: #F8F8F8;*/
+    /*}*/
+    .box{
+        background: #FFFFFF;
+        padding: 30px 30px;
+        border-radius: 4px;
+    }
+    .box .name{
+        font-size: 14px;
+        color: #333333;
+    }
+    .box .num{
+        font-size: 24px;
+        color: #1890ff;
+        font-weight: bold;
+        margin-top: 10px;
+    }
+    .m-title{
+        position: relative;
+        font-size: 16px;
+        font-weight: bold;
+        color: #000000;
+        padding-left: 20px;
+        margin: 0 0 10px;
+    }
+    .m-title::before{
+        content: '';
+        position: absolute;
+        left: 0;
+        width: 4px;
+        height: 20px;
+        background: #1890ff;
+    }
 </style>
 <div class="layui-fluid layui-anim febs-anim-up" id="febs-index" lay-title="系统首页">
     <div class="layui-row layui-col-space8 febs-container">
         <div class="layui-col-md12 layui-col-sm12 layui-col-xs12">
-            <div class="layui-card">
+            <div class="layui-card" style="background: #F8F8F8;">
                 <div class="layui-card-body layui-anim layui-anim-fadein">
                     <div class="layui-row welcome-info">
                         <div class="layui-col-md6 layui-col-sm12 layui-col-xs12">
@@ -95,41 +130,9 @@
                                 </div>
                             </div>
                         </div>
-                        <div class="layui-col-md6 layui-col-sm12 layui-col-xs12">
-                            <div class="layui-col-md-offset4">
-                                <table class="login-count-table">
-                                    <tr>
-                                        <td>今日业绩</td>
-                                        <td>昨日业绩</td>
-                                        <td>本月业绩</td>
-                                        <td>上月业绩</td>
-                                    </tr>
-                                    <tr>
-                                        <td class="count" id="today">
-                                            0
-                                        </td>
-                                        <td class="count" id="lastDay">
-                                            0
-                                        </td>
-                                        <td class="count" id="thisMonth">
-                                            0
-                                        </td>
-                                        <td class="count" id="lastMonth">
-                                            0
-                                        </td>
-                                    </tr>
-                                </table>
-                            </div>
-                        </div>
                     </div>
                 </div>
             </div>
-        </div>
-        <div class="layui-col-md6 layui-col-sm6 layui-col-xs12">
-<!--            <div class="layui-card">-->
-<!--                <div class="layui-card-body">-->
-<!--                </div>-->
-<!--            </div>-->
         </div>
     </div>
 </div>
@@ -160,11 +163,7 @@
             ];
             var index = Math.floor((Math.random() * welcomeArr.length));
             var welcomeMessage = time + ',<a id="febs-index-user">' + currentUser.username + '</a>,' + welcomeArr[index];
-            $view.find('#today').text(data.today).end()
-                .find('#lastDay').text(data.lastDay).end()
-                .find('#thisMonth').text(data.thisMonth).end()
-                .find('#lastMonth').text(data.lastMonth).end()
-                .find('#user-dept').text(currentUser.deptName ? currentUser.deptName : '暂无所属部门').end()
+            $view.find('#user-dept').text(currentUser.deptName ? currentUser.deptName : '暂无所属部门').end()
                 .find('#user-role').text(currentUser.roleName ? currentUser.roleName : '暂无角色').end()
                 .find('#last-login-time').text(currentUser.lastLoginTime ? currentUser.lastLoginTime : '第一次访问系统').end()
                 .find('#welcome-message').html(welcomeMessage).end()

--
Gitblit v1.9.1