From c4b8209d92daa8c6e8ec20bdd56fecf4a95d0990 Mon Sep 17 00:00:00 2001 From: YM <479443481@qq.com> Date: 星期三, 05 六月 2024 16:41:33 +0800 Subject: [PATCH] 1 --- src/components/headNav/headNav.vue | 25 ++++++++++++------------- 1 files changed, 12 insertions(+), 13 deletions(-) diff --git a/src/components/headNav/headNav.vue b/src/components/headNav/headNav.vue index 27a7c40..4e516a2 100644 --- a/src/components/headNav/headNav.vue +++ b/src/components/headNav/headNav.vue @@ -97,7 +97,7 @@ > <!-- 鑳屾櫙 --> <img class="leftListBgImage" src="@/static/image/leftListBg.png" alt="" /> - <view style="position: relative; z-index: 999"> + <view style="position: relative; z-index: 999"> <view class="flex flex-center LeftLogo"> <!-- <img src="@/static/image/logo.png" ></img> --> <view class="img"></view> @@ -114,7 +114,7 @@ <el-menu-item index="1"> <span slot="title">涓尰浜虹墿鏁版嵁搴�</span> </el-menu-item> - <el-menu-item index="2"> + <el-menu-item index="2" class="oActive"> <span slot="title">涓栧尰鍖诲鏁版嵁搴�</span> </el-menu-item> <el-menu-item index="3"> @@ -315,23 +315,22 @@ } } -@media screen and (min-width: 2560px) and (max-width: 3840px) { - ::v-deep .el-menu .is-active { - background-color: #244a7b !important; - border-radius: 0.5rem; - } +::v-deep .el-menu .is-active { + background-color: #244a7b !important; + border-radius: 0.5rem; +} +::v-deep .el-menu .is-active.oActive { + background-color: #e27917 !important; +} + +@media screen and (min-width: 2560px) and (max-width: 3840px) { .LeftLogo .img { background-image: url(@/static/image/logo4.png); } } @media screen and (min-width: 1366px) and (max-width: 1920px) { - ::v-deep .el-menu .is-active { - background-color: #244a7b !important; - border-radius: 0.5rem; - } - .LeftLogo .img { background-image: url(@/static/image/logo.png); } @@ -345,7 +344,7 @@ /* 绮樻�у畾浣� */ position: sticky; top: 0; - z-index: 9; + z-index: 99999999; } .NavTop { -- Gitblit v1.9.1