From c26e749b0c4e749328ee45936cad77a2445f1919 Mon Sep 17 00:00:00 2001 From: lijiahangmax Date: Fri, 12 Apr 2024 00:09:18 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E6=89=A7=E8=A1=8C=E6=A8=A1=E6=9D=BF?= =?UTF-8?q?=E4=BA=A4=E4=BA=92=E4=BC=98=E5=8C=96.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/exec-command-panel.vue | 11 +- .../components/exec-job-detail-drawer.vue | 6 +- .../components/exec-job-form-drawer.vue | 14 +- .../components/exec-template-exec-drawer.vue | 136 ++++++++------ .../components/exec-template-form-drawer.vue | 172 +++++++++--------- .../command-snippet-form-drawer.vue | 16 +- .../dict-key/components/dict-key-table.vue | 2 + .../system/menu/components/menu-table.vue | 2 + 8 files changed, 198 insertions(+), 161 deletions(-) diff --git a/orion-ops-ui/src/views/exec/exec-command/components/exec-command-panel.vue b/orion-ops-ui/src/views/exec/exec-command/components/exec-command-panel.vue index 5483790d..7c881a85 100644 --- a/orion-ops-ui/src/views/exec/exec-command/components/exec-command-panel.vue +++ b/orion-ops-ui/src/views/exec/exec-command/components/exec-command-panel.vue @@ -259,10 +259,15 @@ .exec-form-container { .selected-host { width: 100%; + height: 32px; + padding: 0 8px; + border-radius: 2px; display: flex; align-items: center; justify-content: space-between; color: var(--color-text-2); + background: var(--color-fill-2); + transition: all 0.3s; &-count { font-size: 16px; @@ -270,13 +275,17 @@ display: inline-block; margin: 0 6px; } + + &:hover { + background: var(--color-fill-3); + } } } :deep(.panel-header) { width: 100%; height: 28px; - margin-bottom: 4px; + margin-bottom: 12px; display: flex; justify-content: space-between; align-items: flex-start; diff --git a/orion-ops-ui/src/views/exec/exec-job/components/exec-job-detail-drawer.vue b/orion-ops-ui/src/views/exec/exec-job/components/exec-job-detail-drawer.vue index 38fee99a..fcf06bb9 100644 --- a/orion-ops-ui/src/views/exec/exec-job/components/exec-job-detail-drawer.vue +++ b/orion-ops-ui/src/views/exec/exec-job/components/exec-job-detail-drawer.vue @@ -1,7 +1,7 @@