From 0523065a9277e0d11b82cd19e0684b86361b1f06 Mon Sep 17 00:00:00 2001
From: zhongshujie <2862698242@qq.com>
Date: 星期四, 03 四月 2025 18:20:13 +0800
Subject: [PATCH] 学术目录,荣誉奖项

---
 src/layout/index.vue |   23 ++++++++++++++---------
 1 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/src/layout/index.vue b/src/layout/index.vue
index 490107c..5664b1e 100644
--- a/src/layout/index.vue
+++ b/src/layout/index.vue
@@ -7,13 +7,8 @@
         <p>澶氱淮搴︽暟鎹簱</p>
       </div>
       <div class="leftMenuList">
-        <div
-          class="menuItem"
-          :class="{ active: $route.path == item.path }"
-          v-for="(item, index) in menuList"
-          :key="index"
-          @click="$router.push(item.path)"
-        >
+        <div class="menuItem" :class="{ active: $route.path == item.path }" v-for="(item, index) in menuList"
+          :key="index" @click="$router.push(item.path)">
           <div>
             <i :class="item.icon"></i>
           </div>
@@ -77,22 +72,27 @@
   width: 100%;
   height: 100%;
   display: flex;
+
   // background-image: url("@/assets/images/homeBg.png");
   // background-repeat: no-repeat;
   // background-size: 100% 95%;
   .pageContentBox {
+    width: 100%;
     min-height: calc(100% - 525px);
   }
-  .active{
+
+  .active {
     background: #6F5A3A;
     color: #fff;
   }
+
   .leftMenu {
     width: 200px;
     height: 100%;
     background: #937950;
     display: flex;
     flex-direction: column;
+
     .leftMenuTitle {
       width: 100%;
       height: 50px;
@@ -101,6 +101,7 @@
       color: #fff;
       font-size: 24px;
     }
+
     .leftMenuContent {
       font-size: 20px;
       line-height: 30px;
@@ -111,9 +112,11 @@
       border-top: 1px solid #fff;
       border-bottom: 1px solid #fff;
     }
-    .leftMenuList > menuItem:first-child {
+
+    .leftMenuList>menuItem:first-child {
       border-top: 1px solid #fff;
     }
+
     .leftMenuList {
       display: flex;
       flex-direction: column;
@@ -132,9 +135,11 @@
         font-size: 24px;
         border-bottom: 1px solid #b9a587;
         height: 180px;
+
         .menuText {
           line-height: 50px;
         }
+
         i {
           font-size: 34px;
         }

--
Gitblit v1.9.1