From 54578b45b83274d300d996ab6488bbbbc60b9b36 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Mon, 13 May 2024 15:23:23 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=95=B0=E6=8D=AE=E5=A4=A7=E5=B1=8F):?= =?UTF-8?q?=20=E6=95=B0=E6=8D=AE=E5=A4=A7=E5=B1=8F=E8=BF=87=E6=BB=A4?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E5=8A=9F=E8=83=BD=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../editor/editor-style/VQueryChartStyle.vue | 147 ++++++++++++++---- .../views/chart/components/editor/index.vue | 9 -- 2 files changed, 119 insertions(+), 37 deletions(-) diff --git a/core/core-frontend/src/views/chart/components/editor/editor-style/VQueryChartStyle.vue b/core/core-frontend/src/views/chart/components/editor/editor-style/VQueryChartStyle.vue index 06b0810679..4d914de2eb 100644 --- a/core/core-frontend/src/views/chart/components/editor/editor-style/VQueryChartStyle.vue +++ b/core/core-frontend/src/views/chart/components/editor/editor-style/VQueryChartStyle.vue @@ -27,21 +27,36 @@ const { chart } = toRefs(props)
- + - - + + {{ t('chart.show') + t('chart.title') }} - + - + - - + + 标签颜色 - + - - + + {{ t('visualization.board') }} - + - - + + 提示文字颜色 - + - - + + {{ t('chart.custom_case') + t('chart.backgroundColor') }} - + - - - - + + + + {{ t('commons.adv_search.search') }} - + {{ t('commons.clear') }} - + {{ t('commons.adv_search.reset') }} - - - + + +
@@ -145,7 +213,10 @@ const { chart } = toRefs(props)
@@ -190,6 +261,26 @@ const { chart } = toRefs(props) margin: 0 0 8px; } +:deep(.form-item-dark) { + .ed-form-item__label { + color: @dv-canvas-main-font-color !important; + } + + &.select-append { + .ed-input-group__append { + background-color: transparent; + } + .dv-dark { + & > .ed-input__wrapper { + background-color: #1a1a1a; + } + .ed-input-group__append .ed-select { + margin: 0 -20px; + } + } + } +} + .icon-btn { font-size: 16px; line-height: 16px; diff --git a/core/core-frontend/src/views/chart/components/editor/index.vue b/core/core-frontend/src/views/chart/components/editor/index.vue index 212bc5bc60..f8ef28dcc3 100644 --- a/core/core-frontend/src/views/chart/components/editor/index.vue +++ b/core/core-frontend/src/views/chart/components/editor/index.vue @@ -1516,15 +1516,6 @@ const drop = (ev: MouseEvent, type = 'xAxis') => {
-
- - - -