菜单样式

frame-financialTax-yjl-1204
lijingjia 2 weeks ago
parent 2ce4cd9c71
commit 1ac4d7fcb4

@ -17,7 +17,7 @@
// } // }
::-webkit-scrollbar-track { ::-webkit-scrollbar-track {
background-color: rgb(0 0 0 / 5%); background-color: #F0F2F5!important;
} }
::-webkit-scrollbar-thumb { ::-webkit-scrollbar-thumb {

@ -17,6 +17,9 @@ export enum ContentEnum {
export enum ThemeEnum { export enum ThemeEnum {
DARK = 'dark', DARK = 'dark',
LIGHT = 'light', LIGHT = 'light',
BLACK = 'black',
BLUE = 'blue',
WHITE = 'white'
} }
export enum SettingButtonPositionEnum { export enum SettingButtonPositionEnum {

@ -8,6 +8,14 @@ import { useUserStoreWithOut } from '/@/store/modules/user'
import { PAGE_NOT_FOUND_ROUTE } from '/@/router/routes/basic' import { PAGE_NOT_FOUND_ROUTE } from '/@/router/routes/basic'
import { RootRoute } from '/@/router/routes' import { RootRoute } from '/@/router/routes'
import { useRootSetting } from '/@/hooks/setting/useRootSetting'
import { baseHandler } from '/@/layouts/default/setting/handler'
const { getDarkMode, setDarkMode } = useRootSetting()
console.log(getDarkMode)
// 设置默认主题
if (getDarkMode.value === 'light') {
setDarkMode('black')
}
const LOGIN_PATH = PageEnum.BASE_LOGIN const LOGIN_PATH = PageEnum.BASE_LOGIN

Loading…
Cancel
Save