From b65a39195158452cbfadafb43725bed5331ce396 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E9=94=A6=E6=9D=B0?= Date: Thu, 21 Mar 2024 17:09:28 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E9=85=8D=E7=BD=AE=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/theme/settings.ts | 39 ++++++------------------------------- src/typings/components.d.ts | 3 --- 2 files changed, 6 insertions(+), 36 deletions(-) diff --git a/src/theme/settings.ts b/src/theme/settings.ts index bba9617b..6ffbe9f6 100644 --- a/src/theme/settings.ts +++ b/src/theme/settings.ts @@ -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 } }; /** diff --git a/src/typings/components.d.ts b/src/typings/components.d.ts index afeb02d0..d3126a6d 100644 --- a/src/typings/components.d.ts +++ b/src/typings/components.d.ts @@ -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']