From f8b2d2f20433f41183d8cd126af45517938d9bd6 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期二, 31 十月 2023 16:56:40 +0800
Subject: [PATCH] 人员信息的组件开发

---
 src/views/dashboard/components/PersonInfo.vue |   15 +++++++++------
 1 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/src/views/dashboard/components/PersonInfo.vue b/src/views/dashboard/components/PersonInfo.vue
index 95693e4..72df2e2 100644
--- a/src/views/dashboard/components/PersonInfo.vue
+++ b/src/views/dashboard/components/PersonInfo.vue
@@ -56,26 +56,29 @@
   width: 100%;
   height: 60px;
   line-height: 60px;
-  margin-bottom: 10px;
+  margin-top: 10px;
   border-radius: 10px;
   background: $status-default;
   color: #fff;
+  overflow: hidden;
 
   .person-l {
+    width: 80px;
+    height: 40px;
+    line-height: 40px;
+    padding: 10px 0px;
+    text-align: center;
     float: left;
-    margin-right: 10px;
     font-size: 40px;
   }
 
   .person-r {
+    width: calc(100% - 80px);
     font-size: 20px;
     font-weight: 600;
-    margin-right: 10px;
-    // background: pink;
-    padding-top: 10px;
-
     span {
       color: $status-star;
+      margin-left: 10px;
     }
   }
 }

--
Gitblit v1.8.0