调整页面样式

This commit is contained in:
648540858
2022-06-14 23:16:58 +08:00
parent 31a8e6ea89
commit c801ee6218
4 changed files with 72 additions and 66 deletions

View File

@@ -1,7 +1,9 @@
<template>
<div id="UiHeader">
<el-menu router :default-active="activeIndex" menu-trigger="click" background-color="#545c64" text-color="#fff"
active-text-color="#ffd04b" mode="horizontal">
<el-menu router :default-active="activeIndex" menu-trigger="click" background-color="#001529" text-color="#fff"
active-text-color="#1890ff" mode="horizontal">
<el-menu-item index="/control">控制台</el-menu-item>
<el-menu-item index="/live">分屏监控</el-menu-item>
<el-menu-item index="/deviceList">国标设备</el-menu-item>
@@ -148,4 +150,8 @@ export default {
#UiHeader .el-switch__label.is-active{
color: #409EFF;
}
#UiHeader .el-menu-item.is-active {
color: #fff!important;
background-color: #1890ff!important;
}
</style>