From dbc7ffb76906ebadc48d067d90cb4a3151c5e242 Mon Sep 17 00:00:00 2001 From: yanfeiyong <2060201549@qq.com> Date: Tue, 4 Mar 2025 10:56:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E9=97=AD=E9=BB=98=E8=AE=A4=E9=9A=90?= =?UTF-8?q?=E8=97=8F=EF=BC=8C=E6=B7=BB=E5=8A=A0=E4=BE=A7=E8=BE=B9=E6=A0=8F?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/sidebar.scss | 6 ++++-- src/layout/components/Sidebar/index.vue | 1 - src/layout/components/breadword.vue | 6 ++---- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/assets/styles/sidebar.scss b/src/assets/styles/sidebar.scss index abe5b63..e1a1537 100644 --- a/src/assets/styles/sidebar.scss +++ b/src/assets/styles/sidebar.scss @@ -24,8 +24,9 @@ left: 0; z-index: 1001; overflow: hidden; - -webkit-box-shadow: 2px 0 6px rgba(0,21,41,.35); - box-shadow: 2px 0 6px rgba(0,21,41,.35); + background-image: url(../images/侧边栏@1x.png); + background-size: 100% 100%; + background-repeat: no-repeat; // reset element-ui css .horizontal-collapse-transition { @@ -68,6 +69,7 @@ border: none; height: 100%; width: 100% !important; + background-image: url(../images/侧边栏2.png); } .el-menu-item, .el-submenu__title { diff --git a/src/layout/components/Sidebar/index.vue b/src/layout/components/Sidebar/index.vue index 51d0839..ac8a726 100644 --- a/src/layout/components/Sidebar/index.vue +++ b/src/layout/components/Sidebar/index.vue @@ -5,7 +5,6 @@ @@ -55,9 +55,6 @@ export default { } }, methods: { - // toggleSideBar() { - // this.$store.dispatch('app/toggleSideBar') - // }, async logout() { this.$confirm('确定注销并退出系统吗?', '提示', { confirmButtonText: '确定', @@ -95,6 +92,7 @@ export default { } .hamburger-container { + display: none; line-height: 46px; height: 100%; float: left;