From fc67f613ae1d0aa0b7e4c62749a91b1202bbe4b0 Mon Sep 17 00:00:00 2001 From: adiao <1819192616@qq.com> Date: Mon, 3 Apr 2023 09:54:47 +0800 Subject: [PATCH] vue web fix --- src/views/Index.vue | 3 ++ src/views/navigations/sidebar.vue | 46 ++++++++++++------------------- 2 files changed, 21 insertions(+), 28 deletions(-) diff --git a/src/views/Index.vue b/src/views/Index.vue index e5c8dae..4d212fd 100644 --- a/src/views/Index.vue +++ b/src/views/Index.vue @@ -50,6 +50,9 @@ +
diff --git a/src/views/navigations/sidebar.vue b/src/views/navigations/sidebar.vue index cc34b64..7c05678 100644 --- a/src/views/navigations/sidebar.vue +++ b/src/views/navigations/sidebar.vue @@ -1,10 +1,7 @@ @@ -41,14 +17,28 @@ /* 侧栏样式 */ .item-1, .menu { - background-color: #23a6d5; + background-color: #304156; text-align: center; } .menu a { - color: #fff; - background-color: #23a6d5; + height: 50px; + color: #efefefef; + background-color: #304156; text-decoration: none; + line-height: 50px; +} + +.menu a:hover { + /* background-color: #001523; */ + background-color: #202e3c; + /* color: rgb(64, 158, 255); */ + color: #efefefef; +} + +.menu a:active { + background-color: #001523; + color: rgb(64, 158, 255); } \ No newline at end of file