From 78a43ccaf34b6d2929f251a92908f395def62696 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Tue, 16 Jul 2024 15:38:04 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=B3=BB=E7=BB=9F=E8=AE=BE=E7=BD=AE):=20?= =?UTF-8?q?=E5=88=87=E6=8D=A2=E5=9B=BE=E8=A1=A8=E7=B1=BB=E5=9E=8B=E3=80=81?= =?UTF-8?q?=E5=88=87=E6=8D=A2=E6=98=8E=E7=BB=86=E8=A1=A8=E4=B8=BA=E4=BA=92?= =?UTF-8?q?=E6=96=A5=E5=85=B3=E7=B3=BB=EF=BC=8C=E5=85=B7=E4=BD=93=E4=BA=A4?= =?UTF-8?q?=E4=BA=92=E5=A6=82=E4=B8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/assets/svg/chart-table.svg | 4 +- .../src/views/copilot/DialogueChart.vue | 86 +++++++++++++++---- 2 files changed, 70 insertions(+), 20 deletions(-) diff --git a/core/core-frontend/src/assets/svg/chart-table.svg b/core/core-frontend/src/assets/svg/chart-table.svg index e9a718b1f3..5d8d412e67 100644 --- a/core/core-frontend/src/assets/svg/chart-table.svg +++ b/core/core-frontend/src/assets/svg/chart-table.svg @@ -1,3 +1,3 @@ - - + + diff --git a/core/core-frontend/src/views/copilot/DialogueChart.vue b/core/core-frontend/src/views/copilot/DialogueChart.vue index a0934bb987..456ecc03be 100644 --- a/core/core-frontend/src/views/copilot/DialogueChart.vue +++ b/core/core-frontend/src/views/copilot/DialogueChart.vue @@ -299,27 +299,45 @@ const tips = computed(() => { v-if="copilotInfo.msgType === 'api' && copilotInfo.msgStatus === 1" >
+ + + + + + - + @@ -345,13 +363,19 @@ const tips = computed(() => { z-index: 100; :deep(.ed-input__wrapper) { - background: #3370ff1a; + background: transparent; box-shadow: none !important; padding-right: 4px; .ed-input__inner { visibility: hidden; } } + + &.active { + :deep(.ed-input__wrapper) { + background: #3370ff1a; + } + } } .chart-type_list { @@ -361,9 +385,24 @@ const tips = computed(() => { display: flex; align-items: center; font-size: 24px; + .fake-mask_select { + width: 40px; + height: 24px; + cursor: pointer; + border-radius: 4px; + position: absolute; + top: 50%; + left: 0; + transform: translateY(-50%); + z-index: 101; + &:hover { + background: #1f23291a; + } + } .ed-icon_chart { position: relative; cursor: pointer; + color: #646a73; &::after { content: ''; position: absolute; @@ -382,6 +421,14 @@ const tips = computed(() => { display: block; } } + + &.active { + color: var(--ed-color-primary, #3370ff); + &::after { + display: block; + background: #3370ff1a; + } + } } .select-prefix { @@ -390,7 +437,10 @@ const tips = computed(() => { top: 50%; transform: translateY(-50%); font-size: 16px; - color: var(--ed-color-primary, #3370ff); + color: #646a73; + &.active { + color: var(--ed-color-primary, #3370ff); + } } .ed-divider--vertical { border-color: #1f232926;