diff --git a/src/components/page/GlobalLayout.vue b/src/components/page/GlobalLayout.vue index 7505b0c..c3d8da1 100644 --- a/src/components/page/GlobalLayout.vue +++ b/src/components/page/GlobalLayout.vue @@ -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; + } + \ No newline at end of file diff --git a/src/views/system/DefaultNuclide/AutoProcess.vue b/src/views/system/DefaultNuclide/AutoProcess.vue index 6f12978..9525571 100644 --- a/src/views/system/DefaultNuclide/AutoProcess.vue +++ b/src/views/system/DefaultNuclide/AutoProcess.vue @@ -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)