style: 配置修改

This commit is contained in:
陈锦杰 2024-03-21 17:09:28 +08:00
parent 51d7758903
commit b65a391951
2 changed files with 6 additions and 36 deletions

View File

@ -2,34 +2,12 @@
export const themeSettings: App.Theme.ThemeSetting = { export const themeSettings: App.Theme.ThemeSetting = {
themeScheme: 'light', themeScheme: 'light',
themeColor: '#646cff', themeColor: '#646cff',
otherColor: { otherColor: { info: '#2080f0', success: '#52c41a', warning: '#faad14', error: '#f5222d' },
info: '#2080f0',
success: '#52c41a',
warning: '#faad14',
error: '#f5222d'
},
isInfoFollowPrimary: true, isInfoFollowPrimary: true,
layout: { layout: { mode: 'vertical-mix', scrollMode: 'content' },
mode: 'vertical', page: { animate: true, animateMode: 'fade-slide' },
scrollMode: 'content' header: { height: 56, breadcrumb: { visible: true, showIcon: true } },
}, tab: { visible: false, cache: true, height: 44, mode: 'chrome' },
page: {
animate: true,
animateMode: 'fade-slide'
},
header: {
height: 56,
breadcrumb: {
visible: true,
showIcon: true
}
},
tab: {
visible: true,
cache: true,
height: 44,
mode: 'chrome'
},
fixedHeaderAndTab: true, fixedHeaderAndTab: true,
sider: { sider: {
inverted: false, inverted: false,
@ -39,12 +17,7 @@ export const themeSettings: App.Theme.ThemeSetting = {
mixCollapsedWidth: 64, mixCollapsedWidth: 64,
mixChildMenuWidth: 200 mixChildMenuWidth: 200
}, },
footer: { footer: { visible: false, fixed: false, height: 48, right: true }
visible: true,
fixed: false,
height: 48,
right: true
}
}; };
/** /**

View File

@ -42,8 +42,6 @@ declare module 'vue' {
NCheckbox: typeof import('naive-ui')['NCheckbox'] NCheckbox: typeof import('naive-ui')['NCheckbox']
NColorPicker: typeof import('naive-ui')['NColorPicker'] NColorPicker: typeof import('naive-ui')['NColorPicker']
NDataTable: typeof import('naive-ui')['NDataTable'] NDataTable: typeof import('naive-ui')['NDataTable']
NDescriptions: typeof import('naive-ui')['NDescriptions']
NDescriptionsItem: typeof import('naive-ui')['NDescriptionsItem']
NDialogProvider: typeof import('naive-ui')['NDialogProvider'] NDialogProvider: typeof import('naive-ui')['NDialogProvider']
NDivider: typeof import('naive-ui')['NDivider'] NDivider: typeof import('naive-ui')['NDivider']
NDrawer: typeof import('naive-ui')['NDrawer'] NDrawer: typeof import('naive-ui')['NDrawer']
@ -76,7 +74,6 @@ declare module 'vue' {
NSwitch: typeof import('naive-ui')['NSwitch'] NSwitch: typeof import('naive-ui')['NSwitch']
NTab: typeof import('naive-ui')['NTab'] NTab: typeof import('naive-ui')['NTab']
NTabs: typeof import('naive-ui')['NTabs'] NTabs: typeof import('naive-ui')['NTabs']
NTag: typeof import('naive-ui')['NTag']
NThing: typeof import('naive-ui')['NThing'] NThing: typeof import('naive-ui')['NThing']
NTooltip: typeof import('naive-ui')['NTooltip'] NTooltip: typeof import('naive-ui')['NTooltip']
PinToggler: typeof import('./../components/common/pin-toggler.vue')['default'] PinToggler: typeof import('./../components/common/pin-toggler.vue')['default']