From 5173f8e31d106abd003e123c8679cf53c7940b33 Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期一, 30 一月 2023 11:54:12 +0800 Subject: [PATCH] 网格绘制 --- src/views/layout/components/Header/index.vue | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git a/src/views/layout/components/Header/index.vue b/src/views/layout/components/Header/index.vue index 487de32..7e8c740 100644 --- a/src/views/layout/components/Header/index.vue +++ b/src/views/layout/components/Header/index.vue @@ -172,6 +172,13 @@ created() { this.setLoginInfo(); }, + watch:{ + $route() { + this.menuLeftList.map(item=>{ + item.checked = false + }) + }, + }, methods: { cancelChannel(){ this.channelSettingVisible=false @@ -354,6 +361,14 @@ color: #fff; background-color: #313350; } + .my-active:hover { + color: #2f54eb; + background-color: #313350; + } + .my-activeno:hover{ + color: #2f54eb; + background-color: #313350; + } } .header-right { @@ -466,8 +481,9 @@ .user:hover, .btn:hover { - background-color: #092c4a; + //background-color: #092c4a; cursor: pointer; + color: #2f54eb; } } } -- Gitblit v1.8.0