From 05ec64ea8d304065df554ca98b56ac50ba6a3c1e Mon Sep 17 00:00:00 2001 From: xiaoxian521 <1923740402@qq.com> Date: Wed, 17 Apr 2024 11:39:48 +0800 Subject: [PATCH 1/6] =?UTF-8?q?perf:=20=E6=A1=86=E6=9E=B6=E6=A0=B8?= =?UTF-8?q?=E5=BF=83=E4=BB=A3=E7=A0=81=E5=9B=BD=E9=99=85=E5=8C=96=E5=85=A8?= =?UTF-8?q?=E9=87=8F=E8=A6=86=E7=9B=96=EF=BC=88=E4=BB=85=E9=9C=80=E5=A4=84?= =?UTF-8?q?=E7=90=86=E4=B8=9A=E5=8A=A1=E4=BB=A3=E7=A0=81=E5=9B=BD=E9=99=85?= =?UTF-8?q?=E5=8C=96=E5=8D=B3=E5=8F=AF=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- locales/en.yaml | 12 ++++++++++++ locales/zh-CN.yaml | 14 +++++++++++++- .../components/search/components/SearchFooter.vue | 9 +++++---- .../components/search/components/SearchHistory.vue | 9 +++++++-- .../components/search/components/SearchModal.vue | 9 ++++++--- src/layout/components/sidebar/centerCollapse.vue | 7 ++++++- src/layout/components/sidebar/leftCollapse.vue | 7 ++++++- src/layout/components/sidebar/topCollapse.vue | 9 ++++++++- 8 files changed, 63 insertions(+), 13 deletions(-) diff --git a/locales/en.yaml b/locales/en.yaml index 894f77661e..38af1430a0 100644 --- a/locales/en.yaml +++ b/locales/en.yaml @@ -11,6 +11,18 @@ buttons: pureCloseAllTabs: Close AllTabs pureContentFullScreen: Content FullScreen pureContentExitFullScreen: Content ExitFullScreen + pureClickCollapse: Collapse + pureClickExpand: Expand + pureConfirm: Confirm + pureSwitch: Switch + pureClose: Close +search: + pureTotal: Total + pureHistory: History + pureCollect: Collect + pureDragSort: (Drag Sort) + pureEmpty: Empty + purePlaceholder: Search Menu menus: pureHome: Home pureLogin: Login diff --git a/locales/zh-CN.yaml b/locales/zh-CN.yaml index 69a6a86416..b4e40053a1 100644 --- a/locales/zh-CN.yaml +++ b/locales/zh-CN.yaml @@ -11,6 +11,18 @@ buttons: pureCloseAllTabs: 关闭全部标签页 pureContentFullScreen: 内容区全屏 pureContentExitFullScreen: 内容区退出全屏 + pureClickCollapse: 点击折叠 + pureClickExpand: 点击展开 + pureConfirm: 确认 + pureSwitch: 切换 + pureClose: 关闭 +search: + pureTotal: 共 + pureHistory: 搜索历史 + pureCollect: 收藏 + pureDragSort: (可拖拽排序) + pureEmpty: 暂无搜索结果 + purePlaceholder: 搜索菜单(支持拼音搜索) menus: pureHome: 首页 pureLogin: 登录 @@ -176,4 +188,4 @@ login: purePassWordRuleReg: 密码格式应为8-18位数字、字母、符号的任意两种组合 purePassWordSureReg: 请输入确认密码 purePassWordDifferentReg: 两次密码不一致! - purePassWordUpdateReg: 修改密码成功 \ No newline at end of file + purePassWordUpdateReg: 修改密码成功 diff --git a/src/layout/components/search/components/SearchFooter.vue b/src/layout/components/search/components/SearchFooter.vue index dc9320f359..7ab49f4c0b 100644 --- a/src/layout/components/search/components/SearchFooter.vue +++ b/src/layout/components/search/components/SearchFooter.vue @@ -1,5 +1,6 @@ diff --git a/src/layout/components/panel/index.vue b/src/layout/components/panel/index.vue index 6a1bb446ae..ff08bd376c 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 4b49a2ea84..87d5488c96 100644 --- a/src/layout/components/search/components/SearchHistory.vue +++ b/src/layout/components/search/components/SearchHistory.vue @@ -1,6 +1,6 @@