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

View File

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