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 00000000..d60055fa Binary files /dev/null and b/src/assets/images/icon-drag.png differ 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;