Jelajahi Sumber

feat(layout): 调整默认布局和主题配置

Zimo 2 minggu lalu
induk
melakukan
baeedcb5af
1 mengubah file dengan 5 tambahan dan 5 penghapusan
  1. 5 5
      src/store/modules/app.ts

+ 5 - 5
src/store/modules/app.ts

@@ -67,7 +67,7 @@ export const useAppStore = defineStore('app', {
       greyMode: false, // 是否开始灰色模式,用于特殊悼念日
       fixedMenu: wsCache.get('fixedMenu') || false, // 是否固定菜单
 
-      layout: wsCache.get(CACHE_KEY.LAYOUT) || 'classic', // layout布局
+      layout: wsCache.get(CACHE_KEY.LAYOUT) || 'cutMenu', // layout布局
       isDark: wsCache.get(CACHE_KEY.IS_DARK) || false, // 是否是暗黑模式
       currentSize: wsCache.get('default') || 'default', // 组件尺寸
       theme: wsCache.get(CACHE_KEY.THEME) || {
@@ -92,13 +92,13 @@ export const useAppStore = defineStore('app', {
         // logo边框颜色
         logoBorderColor: 'inherit',
         // 头部背景颜色
-        topHeaderBgColor: '#fff',
+        topHeaderBgColor: '#151515',
         // 头部字体颜色
-        topHeaderTextColor: 'inherit',
+        topHeaderTextColor: '#fff',
         // 头部悬停颜色
-        topHeaderHoverColor: '#f6f6f6',
+        topHeaderHoverColor: '#242424',
         // 头部边框颜色
-        topToolBorderColor: '#eee'
+        topToolBorderColor: '#151515'
       }
     }
   },