From d867093ad44a31e18a86f9e01c1a0ea7127d9c49 Mon Sep 17 00:00:00 2001 From: renpy Date: Tue, 5 Sep 2023 11:45:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B8=E7=B4=A0=E9=BB=98=E8=AE=A4=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E9=A1=B5=E9=9D=A2=E6=8E=A5=E5=8F=A3=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E8=B0=83=E6=95=B4=20=E7=B3=BB=E7=BB=9F=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=E4=BF=AE=E6=94=B9menu=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/page/GlobalLayout.vue | 64 +++++++++++++++++++ .../system/DefaultNuclide/AutoProcess.vue | 2 +- 2 files changed, 65 insertions(+), 1 deletion(-) 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)