From 7808d3e1b801374c5cfd018cd9a3ca552b31f85b Mon Sep 17 00:00:00 2001
From: wangting <675591594@qq.com>
Date: 星期四, 27 七月 2023 13:53:56 +0800
Subject: [PATCH] 修改首页

---
 Source/UBCS-WEB/src/views/wel/Statistic.vue |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/Source/UBCS-WEB/src/views/wel/Statistic.vue b/Source/UBCS-WEB/src/views/wel/Statistic.vue
index f95cb3d..32fb7dd 100644
--- a/Source/UBCS-WEB/src/views/wel/Statistic.vue
+++ b/Source/UBCS-WEB/src/views/wel/Statistic.vue
@@ -1,7 +1,7 @@
 <template>
   <div>
     <el-row :gutter="20">
-      <el-col :span="3" v-for="item in listMyTask">
+      <el-col :xs="8" :sm="8" :md="8" :lg="6" :xl="4" v-for="item in listMyTask">
         <div class="box" :style="item.style">
           {{item.name}}
           <div><avue-count-up class="value" :end="item.count"></avue-count-up></div>
@@ -130,13 +130,14 @@
 </script>
 
 <style scoped>
+.el-col{margin-bottom: 0}
 .box{
   text-align: center;
   background: rgb(235, 238, 245);
   color: #303133;
-  height: 74px;
+  height: 70px;
   margin: 10px 0!important;
-  padding: 15px 20px;
+  padding: 15px 10px;
   position: relative;
   border-radius: 4px;
   box-sizing: border-box;
@@ -145,6 +146,8 @@
 .value{
   font-size: 12px;
   opacity: .69;
-  line-height: 24px;
+  line-height: 20px;
+  margin-top: 5px;
+  display: block;
 }
 </style>

--
Gitblit v1.9.3