From c7566bba45e6f90594d36ec4b80ac4ff89f577ee Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 08 十月 2026 14:19:36 +0800
Subject: [PATCH] 项目重构

---
 src/layout/index.vue |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/layout/index.vue b/src/layout/index.vue
index b7328ed..d7b5969 100644
--- a/src/layout/index.vue
+++ b/src/layout/index.vue
@@ -1,10 +1,11 @@
 <template>
   <div :class="classObj" class="app-wrapper" :style="{ '--current-color': theme, '--current-color-light': theme + '1a', '--current-color-dark-bg': theme + '33' }">
     <div v-if="device === 'mobile' && sidebar.opened" class="drawer-bg" @click="handleClickOutside"/>
+    <!-- 涓氬姟甯冨眬锛氶《鏍忔暣瀹藉浐瀹氬湪椤甸潰椤剁锛堣鐩栦晶杈规爮涓婃柟锛夛紝渚ц竟鏍忎笌椤电鏍忓潎浠庨《鏍忎笅鏂瑰紑濮� -->
+    <navbar @setLayout="setLayout" />
     <sidebar v-if="!sidebar.hide" class="sidebar-container" />
     <div :class="{ hasTagsView: needTagsView, sidebarHide: sidebar.hide }" class="main-container">
       <div :class="{ 'fixed-header': fixedHeader }">
-        <navbar @setLayout="setLayout" />
         <tags-view v-if="needTagsView" />
       </div>
       <app-main />
@@ -93,9 +94,10 @@
   z-index: 999;
 }
 
+/* 涓氬姟瀹氬埗锛氶〉绛炬爮璐村湪 50px 椤舵爮涓嬫柟锛屼笉鍐嶄粠椤甸潰椤剁寮�濮� */
 .fixed-header {
   position: fixed;
-  top: 0;
+  top: 50px;
   right: 0;
   z-index: 9;
   width: calc(100% - #{vars.$base-sidebar-width});

--
Gitblit v1.9.3