This commit is contained in:
fan 2024-03-07 10:15:52 +08:00
commit 6501cb0d1b

View File

@ -9,8 +9,9 @@
</div>
</div>
<el-menu
:default-active="1"
:default-active="defaultIndex"
class="el-menu-vertical"
background-color="#ffffff00"
text-color="#fff"
active-text-color="#ffd04b"
>
@ -19,7 +20,7 @@
<span> {{ paper.name }}</span>
</template>
<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 }}
</el-menu-item>
</template>
@ -123,10 +124,10 @@ export default {
background-color: transparent;
.el-menu-item{
&:hover{
background: #00172E;
background: #00172E !important;
}
&:focus{
background-color: #00172E;
background-color: #00172E !important;
}
}
}
@ -137,10 +138,10 @@ export default {
}
.el-submenu__title{
&:hover{
background: #00172E;
background: #00172E !important;
}
&:focus{
background-color: #00172E;
background-color: #00172E !important;
}
}
}