From 0b9b2aa39f7dfdb53f96f0d25d5a97fb8bd6a963 Mon Sep 17 00:00:00 2001 From: bb_pan Date: Mon, 26 Jan 2026 11:25:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=97=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/icons/svg/menu.svg | 15 ++ src/assets/images/icon-drag.png | Bin 0 -> 396 bytes src/components/RightToolbar/index-old.vue | 210 ++++++++++++++++ src/components/RightToolbar/index.vue | 294 ++++++++++++---------- src/layout/components/Navbar.vue | 8 +- 5 files changed, 397 insertions(+), 130 deletions(-) create mode 100644 src/assets/icons/svg/menu.svg create mode 100644 src/assets/images/icon-drag.png create mode 100644 src/components/RightToolbar/index-old.vue diff --git a/src/assets/icons/svg/menu.svg b/src/assets/icons/svg/menu.svg new file mode 100644 index 00000000..943c9e33 --- /dev/null +++ b/src/assets/icons/svg/menu.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/src/assets/images/icon-drag.png b/src/assets/images/icon-drag.png new file mode 100644 index 0000000000000000000000000000000000000000..d60055fadbf38e1048a1202f07a90191a696ee9d GIT binary patch literal 396 zcmeAS@N?(olHy`uVBq!ia0vp^AT~b-8<4#FKaLMbF%}28J29*~C-V}>aY>EvO!M_+ z&;qhK7#Q0#8CXC{fLIEM85o!sFfuR$X-1IP0w%aD*8*lZn;)d`^9=J=Aob1D#W6%f zG})%$!GRh#H@9ptF)``v?APHu9uH1TR1T{D|Id~~{uyO_Ux)nsUijsL=t75xnq N5}vMpF6*2UngE}Eh6?}y literal 0 HcmV?d00001 diff --git a/src/components/RightToolbar/index-old.vue b/src/components/RightToolbar/index-old.vue new file mode 100644 index 00000000..672c98b3 --- /dev/null +++ b/src/components/RightToolbar/index-old.vue @@ -0,0 +1,210 @@ + + + diff --git a/src/components/RightToolbar/index.vue b/src/components/RightToolbar/index.vue index 672c98b3..bacb1632 100644 --- a/src/components/RightToolbar/index.vue +++ b/src/components/RightToolbar/index.vue @@ -1,170 +1,180 @@ + - diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 1a417895..fc0f3b7d 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -446,7 +446,8 @@ export default { }, created() { this.getUser() - this.menuList = this.sidebarRouters.filter((route) => !route.hidden) + this.menuList = this.sidebarRouters.filter((route) => !route.hidden && route.path !== '/') + console.log('🚀 ~ this.menuList:', this.menuList) }, methods: { goWarningDetail(item) { @@ -629,10 +630,11 @@ export default { height: 50px; line-height: 50px; flex: 1; + gap: 30px; display: flex; align-items: center; - justify-content: space-around; - margin: 0 20px; + justify-content: center; + // margin: 0 20px; .menu-item { height: 50px; cursor: pointer;