核素默认管理页面接口参数调整

系统管理模块修改menu组件默认样式
This commit is contained in:
renpy 2023-09-05 11:45:49 +08:00
parent 53e5cf6bd3
commit d867093ad4
2 changed files with 65 additions and 1 deletions

View File

@ -718,6 +718,50 @@
border-left: 0;
}
}
.ant-menu-submenu{
background: rgba(58, 236, 240, .22) !important;
border-bottom: none !important;
margin-right: 10px;
height: 30px;
line-height: 30px;
padding: 0 16px;
letter-spacing: 2px;
position: relative;
&-title {
color: #c9f6f6;
font-weight: bold;
font-family: BookmanOldStyle;
padding: 0;
}
&-active,
&-selected {
> a {
color: #2affdf !important;
}
&::before,
&::after {
border-color: #0cecca !important;
}
}
&::before,
&::after {
content: '';
position: absolute;
border: 2px solid #569e9e;
width: 7px;
height: 30px;
top: 0;
}
&::before {
left: 0;
border-right: 0;
}
&::after {
right: 0;
border-left: 0;
}
}
}
}
.global-content {
@ -783,4 +827,24 @@
}
}
}
.ant-menu-submenu-popup .ant-menu-item{
display: block !important;
width: 100%;
padding: 0 16px !important;
height: 32px !important;
line-height: 32px !important;
color: #fff;
font-family: Arial;
margin-bottom: 0 !important;
}
.ant-menu-submenu-popup .ant-menu{
height: auto;
width: 220px;
position: absolute;
left: -16px;
}
.ant-menu-submenu-popup{
position: relative;
}
</style>

View File

@ -231,7 +231,7 @@ export default {
})
},
getNuclideList() {
getAction("/sys/defaultNuclide/allName",{useType:1}).then(res => {
getAction("/sys/defaultNuclide/allName",{useType:1,nuclideType: this.currType}).then(res => {
if (res.success) {
if (res.result.length > 0) {
this.targetKeys = res.result.map(item => item)