待调整,先可用

This commit is contained in:
joylink_zhaoerwei 2024-03-07 08:43:53 +08:00
parent f220213f38
commit db1c5070db

View File

@ -9,8 +9,9 @@
</div> </div>
</div> </div>
<el-menu <el-menu
:default-active="1" :default-active="defaultIndex"
class="el-menu-vertical" class="el-menu-vertical"
background-color="#ffffff00"
text-color="#fff" text-color="#fff"
active-text-color="#ffd04b" active-text-color="#ffd04b"
> >
@ -19,7 +20,7 @@
<span> {{ paper.name }}</span> <span> {{ paper.name }}</span>
</template> </template>
<template v-for="(paper2,paperIndex2) in paperList"> <template v-for="(paper2,paperIndex2) in paperList">
<el-menu-item v-show="!formModel.seasonId||paper.seasonId==formModel.seasonId" :key="paperIndex2" :index="paper.id+''" @click="showPaperDetail(paper)"> <el-menu-item v-show="!formModel.seasonId||paper.seasonId==formModel.seasonId" :key="paperIndex2" :index="paper2.id+''" @click="showPaperDetail(paper)">
{{ paper2.name }} {{ paper2.name }}
</el-menu-item> </el-menu-item>
</template> </template>
@ -123,10 +124,10 @@ export default {
background-color: transparent; background-color: transparent;
.el-menu-item{ .el-menu-item{
&:hover{ &:hover{
background: #00172E; background: #00172E !important;
} }
&:focus{ &:focus{
background-color: #00172E; background-color: #00172E !important;
} }
} }
} }
@ -137,10 +138,10 @@ export default {
} }
.el-submenu__title{ .el-submenu__title{
&:hover{ &:hover{
background: #00172E; background: #00172E !important;
} }
&:focus{ &:focus{
background-color: #00172E; background-color: #00172E !important;
} }
} }
} }