mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update layout.vue
This commit is contained in:
parent
b402f72e36
commit
84e6d8da9e
@ -2,12 +2,9 @@
|
|||||||
<el-container>
|
<el-container>
|
||||||
<el-header style="padding:0">
|
<el-header style="padding:0">
|
||||||
<el-menu
|
<el-menu
|
||||||
mode="horizontal"
|
|
||||||
:default-active="1"
|
:default-active="1"
|
||||||
text-color="#fff"
|
mode="horizontal" text-color="#fff" style="border-bottom:0"
|
||||||
background-color="rgba(54,25,88,.9)"
|
background-color="rgba(54,25,88,0.9)" active-text-color="rgba(54,25,88,1.0)"
|
||||||
active-text-color="rgba(54,25,88,1)"
|
|
||||||
style="border-bottom:0"
|
|
||||||
>
|
>
|
||||||
<el-menu-item route="/" index="1">ThinkAdmin For HTML</el-menu-item>
|
<el-menu-item route="/" index="1">ThinkAdmin For HTML</el-menu-item>
|
||||||
<el-sub-menu index="2">
|
<el-sub-menu index="2">
|
||||||
@ -137,6 +134,32 @@ body > .el-container {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.el-menu {
|
||||||
|
.el-menu-item:not(.is-disabled) {
|
||||||
|
&:hover {
|
||||||
|
color: #FFF !important;
|
||||||
|
background: rgba(54, 25, 88, 0.9) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.is-active {
|
||||||
|
color: #FFF !important;
|
||||||
|
background: rgba(0, 0, 0, 0.4);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-sub-menu {
|
||||||
|
.el-sub-menu__title {
|
||||||
|
color: #FFF !important;
|
||||||
|
background: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.is-opened {
|
||||||
|
.el-sub-menu__title {
|
||||||
|
background: rgba(0, 0, 0, 0.1) !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user