From 2ebb584ec8fd4e31082c35c1bdc9f96f786f4c92 Mon Sep 17 00:00:00 2001 From: xiaoxian521 <1923740402@qq.com> Date: Fri, 22 Mar 2024 15:37:19 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=9C=A8=E5=B7=A6=E4=BE=A7=E8=8F=9C?= =?UTF-8?q?=E5=8D=95=E5=8F=B3=E4=B8=AD=E4=BE=A7=E5=86=8D=E5=8A=A0=E4=B8=80?= =?UTF-8?q?=E4=B8=AA=E6=8A=98=E5=8F=A0=E5=B1=95=E5=BC=80=E8=8F=9C=E5=8D=95?= =?UTF-8?q?=E7=9A=84=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/info.ts | 2 +- .../components/sidebar/centerCollapse.vue | 70 +++++++++++++++++++ .../components/sidebar/leftCollapse.vue | 4 +- src/layout/components/sidebar/vertical.vue | 13 +++- src/style/sidebar.scss | 2 +- 5 files changed, 85 insertions(+), 6 deletions(-) create mode 100644 src/layout/components/sidebar/centerCollapse.vue diff --git a/build/info.ts b/build/info.ts index adc3d9eb94..2ca6aee164 100644 --- a/build/info.ts +++ b/build/info.ts @@ -7,7 +7,7 @@ import boxen, { type Options as BoxenOptions } from "boxen"; dayjs.extend(duration); const welcomeMessage = gradientString("cyan", "magenta").multiline( - `Hello! 欢迎使用 pure-admin 开源项目\n我们为您精心准备了下面两个贴心的保姆级文档\nhttps://yiming_chang.gitee.io/pure-admin-doc\nhttps://pure-admin-utils.netlify.app` + `您好! 欢迎使用 pure-admin 开源项目\n我们为您精心准备了下面两个贴心的保姆级文档\nhttps://yiming_chang.gitee.io/pure-admin-doc\nhttps://pure-admin-utils.netlify.app` ); const boxenOptions: BoxenOptions = { diff --git a/src/layout/components/sidebar/centerCollapse.vue b/src/layout/components/sidebar/centerCollapse.vue new file mode 100644 index 0000000000..af0dcda1c8 --- /dev/null +++ b/src/layout/components/sidebar/centerCollapse.vue @@ -0,0 +1,70 @@ + + + + + diff --git a/src/layout/components/sidebar/leftCollapse.vue b/src/layout/components/sidebar/leftCollapse.vue index 2f1dad33d0..fbf132d450 100644 --- a/src/layout/components/sidebar/leftCollapse.vue +++ b/src/layout/components/sidebar/leftCollapse.vue @@ -41,7 +41,7 @@ const toggleClick = () => {