From d0b8efdb3b8ec0a2dcb7faabf587e3b50beae724 Mon Sep 17 00:00:00 2001 From: xiaoxian521 <1923740402@qq.com> Date: Wed, 17 Apr 2024 13:21:41 +0800 Subject: [PATCH] chore: update --- CHANGELOG.zh_CN.md | 4 ++-- locales/en.yaml | 9 ++++++++- locales/zh-CN.yaml | 9 ++++++++- src/config/index.ts | 2 +- src/layout/components/appMain.vue | 4 +++- src/layout/components/navbar.vue | 2 +- src/layout/components/notice/index.vue | 4 +++- src/layout/components/notice/noticeList.vue | 5 ++++- src/layout/components/panel/index.vue | 12 ++++++++---- .../components/search/components/SearchFooter.vue | 11 ++++++----- .../components/search/components/SearchHistory.vue | 7 ++++--- .../components/search/components/SearchModal.vue | 9 +++------ src/layout/components/setting/index.vue | 2 +- src/layout/components/sidebar/centerCollapse.vue | 11 +++++------ src/layout/components/sidebar/horizontal.vue | 2 +- src/layout/components/sidebar/leftCollapse.vue | 11 +++++------ src/layout/components/sidebar/mixNav.vue | 2 +- src/layout/components/sidebar/topCollapse.vue | 12 ++++++------ src/layout/index.vue | 4 +++- src/style/dark.scss | 2 +- src/utils/responsive.ts | 4 ++-- src/views/guide/index.vue | 4 ++-- 22 files changed, 78 insertions(+), 54 deletions(-) diff --git a/CHANGELOG.zh_CN.md b/CHANGELOG.zh_CN.md index 6ab74107f..41a7a4389 100644 --- a/CHANGELOG.zh_CN.md +++ b/CHANGELOG.zh_CN.md @@ -41,7 +41,7 @@ - 修复`windwos`下点击注册页面会出现滚动条问题 - 修复`windows`下页面切换,内容区会出现滚动条问题 - 修复`pure-table`带状态表格在深色整体风格下状态样式消失的问题 -- 修复项目配置中开启灰色模式和深色整体风格,刷新页面整体风格异常 +- 修复系统配置中开启灰色模式和深色整体风格,刷新页面整体风格异常 ### 🍏 Perf @@ -84,7 +84,7 @@ - 所有`search`搜索图标统一替换为`@iconify-icons/ri/search-line`它比较常用将其放入全局离线图标中 - 移除`iframe`在暗模式下的滤镜效果 - 带来更美观精致的首页 -- 更干净整洁的项目配置右侧弹出面板 +- 更干净整洁的系统配置右侧弹出面板 - 重构关于页面,整体更紧致,关键信息更突出 ### 🎫 Feat diff --git a/locales/en.yaml b/locales/en.yaml index 38af1430a..13c174df0 100644 --- a/locales/en.yaml +++ b/locales/en.yaml @@ -2,7 +2,7 @@ buttons: pureAccountSettings: Account pureLoginOut: LoginOut pureLogin: Login - pureSystemSet: Open ProjectConfig + pureOpenSystemSet: Open System Configs pureReload: Reload pureCloseCurrentTab: Close CurrentTab pureCloseLeftTabs: Close LeftTabs @@ -16,6 +16,7 @@ buttons: pureConfirm: Confirm pureSwitch: Switch pureClose: Close + pureBackTop: BackTop search: pureTotal: Total pureHistory: History @@ -23,6 +24,11 @@ search: pureDragSort: (Drag Sort) pureEmpty: Empty purePlaceholder: Search Menu +panel: + pureSystemSet: System Configs + pureCloseSystemSet: Close System Configs + pureClearCacheAndToLogin: Clear Cache And To Login Page + pureClearCache: Clear Cache menus: pureHome: Home pureLogin: Login @@ -148,6 +154,7 @@ menus: pureChildMenuOverflow: Child Menu Overflow Show Tooltip Text status: pureLoad: Loading... + pureNoMessage: No Message login: pureUsername: Username purePassword: Password diff --git a/locales/zh-CN.yaml b/locales/zh-CN.yaml index b4e40053a..63c0f4d2a 100644 --- a/locales/zh-CN.yaml +++ b/locales/zh-CN.yaml @@ -2,7 +2,7 @@ buttons: pureAccountSettings: 账户设置 pureLoginOut: 退出系统 pureLogin: 登录 - pureSystemSet: 打开项目配置 + pureOpenSystemSet: 打开系统配置 pureReload: 重新加载 pureCloseCurrentTab: 关闭当前标签页 pureCloseLeftTabs: 关闭左侧标签页 @@ -16,6 +16,7 @@ buttons: pureConfirm: 确认 pureSwitch: 切换 pureClose: 关闭 + pureBackTop: 回到顶部 search: pureTotal: 共 pureHistory: 搜索历史 @@ -23,6 +24,11 @@ search: pureDragSort: (可拖拽排序) pureEmpty: 暂无搜索结果 purePlaceholder: 搜索菜单(支持拼音搜索) +panel: + pureSystemSet: 系统配置 + pureCloseSystemSet: 关闭配置 + pureClearCacheAndToLogin: 清空缓存并返回登录页 + pureClearCache: 清空缓存 menus: pureHome: 首页 pureLogin: 登录 @@ -148,6 +154,7 @@ menus: pureChildMenuOverflow: 菜单超出显示 Tooltip 文字提示 status: pureLoad: 加载中... + pureNoMessage: 暂无消息 login: pureUsername: 账号 purePassword: 密码 diff --git a/src/config/index.ts b/src/config/index.ts index 3573dc2d3..c81d1c4d7 100644 --- a/src/config/index.ts +++ b/src/config/index.ts @@ -35,7 +35,7 @@ export const getPlatformConfig = async (app: App): Promise => { }) .then(({ data: config }) => { let $config = app.config.globalProperties.$config; - // 自动注入项目配置 + // 自动注入系统配置 if (app && $config && typeof config === "object") { $config = Object.assign($config, config); app.config.globalProperties.$config = $config; diff --git a/src/layout/components/appMain.vue b/src/layout/components/appMain.vue index 8543acc24..9f8d767c1 100644 --- a/src/layout/components/appMain.vue +++ b/src/layout/components/appMain.vue @@ -1,4 +1,5 @@ diff --git a/src/layout/components/panel/index.vue b/src/layout/components/panel/index.vue index 6a1bb446a..ff08bd376 100644 --- a/src/layout/components/panel/index.vue +++ b/src/layout/components/panel/index.vue @@ -1,4 +1,5 @@ @@ -17,22 +18,22 @@ const { device } = useNav(); diff --git a/src/layout/components/search/components/SearchHistory.vue b/src/layout/components/search/components/SearchHistory.vue index 4b49a2ea8..87d5488c9 100644 --- a/src/layout/components/search/components/SearchHistory.vue +++ b/src/layout/components/search/components/SearchHistory.vue @@ -1,6 +1,6 @@