From a57e03f7cb03c1ba5f2f2b4c5d7a06b0ed1d0ecb Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期四, 09 四月 2026 11:42:26 +0800
Subject: [PATCH] fix: 添加APP版本管理

---
 src/layout/components/AppMain.vue |   25 +++++++++++++++++--------
 1 files changed, 17 insertions(+), 8 deletions(-)

diff --git a/src/layout/components/AppMain.vue b/src/layout/components/AppMain.vue
index a87ef7d..011e118 100644
--- a/src/layout/components/AppMain.vue
+++ b/src/layout/components/AppMain.vue
@@ -2,9 +2,12 @@
   <section class="app-main">
     <router-view v-slot="{ Component, route }">
       <transition name="fade-transform" mode="out-in">
-        <keep-alive :include="tagsViewStore.cachedViews">
-          <component v-if="!route.meta.link" :is="Component" :key="route.path"/>
-        </keep-alive>
+        <div v-if="!route.meta.link" class="route-view-wrapper">
+          <keep-alive :include="tagsViewStore.cachedViews">
+            <component :is="Component" :key="route.path"/>
+          </keep-alive>
+        </div>
+        <div v-else class="route-view-wrapper"></div>
       </transition>
     </router-view>
     <iframe-toggle />
@@ -40,11 +43,17 @@
   width: 100%;
   position: relative;
   overflow: hidden;
-  background: #F5F7FB;
+  background: transparent;
+}
+
+.route-view-wrapper {
+  width: 100%;
+  height: 100%;
+  padding: 120px 16px 24px 0;
 }
 
 .fixed-header + .app-main {
-  padding-top: 50px;
+  padding-top: 0;
 }
 
 .hasTagsView {
@@ -54,7 +63,7 @@
   }
 
   .fixed-header + .app-main {
-    padding-top: 84px;
+    padding-top: 0;
   }
 }
 </style>
@@ -73,11 +82,11 @@
 }
 
 ::-webkit-scrollbar-track {
-  background-color: #f1f1f1;
+  background-color: rgba(218, 225, 220, 0.8);
 }
 
 ::-webkit-scrollbar-thumb {
-  background-color: #c0c0c0;
+  background-color: #b2bdb5;
   border-radius: 3px;
 }
 </style>

--
Gitblit v1.9.3