From c590aaeca3e0a066016d2ff2c7c4cf96a7ca446f Mon Sep 17 00:00:00 2001
From: wl <173@qq.com>
Date: 星期三, 16 十一月 2022 09:35:29 +0800
Subject: [PATCH] first commit

---
 src/components/Administrator/AdminHome.vue |   25 +++++++++++++++----------
 1 files changed, 15 insertions(+), 10 deletions(-)

diff --git a/src/components/Administrator/AdminHome.vue b/src/components/Administrator/AdminHome.vue
index 72b3ec7..5c1b333 100644
--- a/src/components/Administrator/AdminHome.vue
+++ b/src/components/Administrator/AdminHome.vue
@@ -2,8 +2,8 @@
   <el-container class="home-container">
     <el-header>
       <div>
-        <img src="../../assets/head.png" alt="" />
-        <span>鏂伴椈鍚庡彴绠$悊绯荤粺</span>
+        <img src="../../assets/logo.jpg" alt="" />
+        <span>鍙屾祦鏈哄満鍏畨椤甸潰鍚庡彴绠$悊绯荤粺</span>
       </div>
       <el-button type="info" @click="logout">閫�鍑�</el-button>
     </el-header>
@@ -18,18 +18,16 @@
 <script>
 export default {
   data() {
-    return {
-    }
+    return {}
   },
-  created() {
-  },
+  created() {},
   methods: {
     logout() {
       //娓呯┖token
       window.sessionStorage.clear()
       //璺宠浆鍒扮櫥褰曢〉
       this.$router.push('/login')
-    },
+    }
   }
 }
 </script>
@@ -50,14 +48,21 @@
     display: flex;
     justify-content: center;
     align-items: center;
+    width: 300px;
+    height: 60px;
+    img {
+      width: 60px;
+      height: 100%;
+      border-radius: 50%;
+    }
     span {
       margin-left: 15px;
     }
   }
 }
-.el-main {
-  background-color: rgb(233, 237, 240);
-}
+// .el-main {
+//   // background-color: rgb(233, 237, 240);
+// }
 
 .iconfont {
   margin-right: 10px;

--
Gitblit v1.8.0