+
{{ label }}
diff --git a/src/layouts/modules/theme-drawer/modules/appearance/modules/theme-color.vue b/src/layouts/modules/theme-drawer/modules/appearance/modules/theme-color.vue
index 42811c49..6c38897d 100644
--- a/src/layouts/modules/theme-drawer/modules/appearance/modules/theme-color.vue
+++ b/src/layouts/modules/theme-drawer/modules/appearance/modules/theme-color.vue
@@ -36,27 +36,28 @@ const swatches: string[] = [
{{ $t('theme.appearance.themeColor.title') }}
-
-
-
-
-
+
+
+
+
+ {{ $t('theme.appearance.recommendColorDesc') }}
+
+
+ https://uicolors.app/create
+
+
+
-
- {{ $t('theme.appearance.recommendColorDesc') }}
-
-
- https://uicolors.app/create
-
-
-
+
+
+
themeStore.layout.scrollMode === 'wra
{{ $t('theme.layout.content.title') }}
+
+
+
+
+
+
diff --git a/src/locales/langs/en-us.ts b/src/locales/langs/en-us.ts
index 686f7dd6..9a2ae496 100644
--- a/src/locales/langs/en-us.ts
+++ b/src/locales/langs/en-us.ts
@@ -133,6 +133,7 @@ const local: App.I18n.Schema = {
title: 'Tab Settings',
visible: 'Tab Visible',
cache: 'Tag Bar Info Cache',
+ cacheTip: 'One-click to open/close global keepalive',
height: 'Tab Height',
mode: {
title: 'Tab Mode',
@@ -168,6 +169,7 @@ const local: App.I18n.Schema = {
title: 'Content Area Settings',
scrollMode: {
title: 'Scroll Mode',
+ tip: 'The theme scroll only scrolls the main part, the outer scroll can carry the header and footer together',
wrapper: 'Wrapper',
content: 'Content'
},
diff --git a/src/locales/langs/zh-cn.ts b/src/locales/langs/zh-cn.ts
index 84991a1a..fa572c75 100644
--- a/src/locales/langs/zh-cn.ts
+++ b/src/locales/langs/zh-cn.ts
@@ -130,6 +130,7 @@ const local: App.I18n.Schema = {
title: '标签栏设置',
visible: '显示标签栏',
cache: '标签栏信息缓存',
+ cacheTip: '一键开启/关闭全局 keepalive',
height: '标签栏高度',
mode: {
title: '标签栏风格',
@@ -165,6 +166,7 @@ const local: App.I18n.Schema = {
title: '内容区域设置',
scrollMode: {
title: '滚动模式',
+ tip: '主题滚动仅 main 部分滚动,外层滚动可携带头部底部一起滚动',
wrapper: '外层滚动',
content: '主体滚动'
},
diff --git a/src/typings/app.d.ts b/src/typings/app.d.ts
index e72868f3..79fa1578 100644
--- a/src/typings/app.d.ts
+++ b/src/typings/app.d.ts
@@ -426,6 +426,7 @@ declare namespace App {
title: string;
visible: string;
cache: string;
+ cacheTip: string;
height: string;
mode: { title: string } & Record;
};
@@ -455,7 +456,7 @@ declare namespace App {
};
content: {
title: string;
- scrollMode: { title: string } & Record;
+ scrollMode: { title: string; tip: string } & Record;
page: {
animate: string;
mode: { title: string } & Record;
diff --git a/src/typings/components.d.ts b/src/typings/components.d.ts
index 0d8d0df1..46923e64 100644
--- a/src/typings/components.d.ts
+++ b/src/typings/components.d.ts
@@ -46,6 +46,7 @@ declare module 'vue' {
'IconQuill:collapse': typeof import('~icons/quill/collapse')['default']
'IconQuill:expand': typeof import('~icons/quill/expand')['default']
'IconSimpleIcons:gitee': typeof import('~icons/simple-icons/gitee')['default']
+ IconTooltip: typeof import('./../components/common/icon-tooltip.vue')['default']
IconUilSearch: typeof import('~icons/uil/search')['default']
JsonPreview: typeof import('./../components/custom/json-preview.vue')['default']
LangSwitch: typeof import('./../components/common/lang-switch.vue')['default']