diff --git a/nezha-fronted/src/components/common/header.vue b/nezha-fronted/src/components/common/header.vue index 8d791456d..c32f50231 100644 --- a/nezha-fronted/src/components/common/header.vue +++ b/nezha-fronted/src/components/common/header.vue @@ -6,26 +6,17 @@ mode="horizontal" active="1" unique-opened - > + > - + {{$store.state.consoleCount<=10?$store.state.consoleCount:'10+'}} - + - - + + @@ -36,6 +27,9 @@ + + + @@ -577,12 +571,30 @@ height: 50px; line-height: 50px; } + .header .el-menu--horizontal>.icon-menu-item .el-submenu__title { + min-width: 50px !important; + /*margin-right:20px;*/ + } + .header .vertical-line{ + display:inline-block; + border-left:solid 2px white; + line-height:30px !important; + height:30px !important; + min-width:0px !important; + color:white; + margin-right: 8px; + margin-left: 8px; + margin-top: -8px; + } + .header .vertical-line:hover{ + cursor:default !important; + } /* top el-menu-item sytle------start*/ .header .el-menu--horizontal>.el-menu-item { height: 50px; } .header .el-menu--horizontal>.el-menu-item >div { - min-width: 80px; + min-width: 50px; text-align: center; /*color:$header-text-color;*/ padding: 0; @@ -601,6 +613,19 @@ .header .el-menu--horizontal>.el-menu-item:not(.is-disabled):focus, .header .el-menu--horizontal>.el-menu-item:not(.is-disabled):hover { background-color:transparent !important; } + .header .right-tip{ + vertical-align:middle; + line-height: 15px; + font-size:6px; + background-color:orangered; + opacity:0.9;color:#4c4c4c; + border-radius:7px; + min-width:25px; + height:15px; + position:absolute; + left: 25px; + bottom: 27px; + } /* top el-menu-item sytle------end*/ .el-menu.el-menu--horizontal { border-bottom: 0px;