From fa257167e69729005c561716a0cdc59ee0eb9828 Mon Sep 17 00:00:00 2001 From: junjie Date: Thu, 22 Jul 2021 10:49:23 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=95=8C=E9=9D=A2=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/styles/index.scss | 1 + .../chart/components/drag-item/QuotaItem.vue | 4 ++- frontend/src/views/chart/view/ChartEdit.vue | 35 +++++++++---------- 3 files changed, 21 insertions(+), 19 deletions(-) diff --git a/frontend/src/styles/index.scss b/frontend/src/styles/index.scss index 99911837a5..a9b8f3ad3f 100644 --- a/frontend/src/styles/index.scss +++ b/frontend/src/styles/index.scss @@ -243,6 +243,7 @@ div:focus { font-size: 10px; @extend %field-icon; color: #999999; + margin: 0 2px 1px 0; } .ds-icon-scene{ width: 13px; diff --git a/frontend/src/views/chart/components/drag-item/QuotaItem.vue b/frontend/src/views/chart/components/drag-item/QuotaItem.vue index 2c7b024d12..677871eab0 100644 --- a/frontend/src/views/chart/components/drag-item/QuotaItem.vue +++ b/frontend/src/views/chart/components/drag-item/QuotaItem.vue @@ -218,7 +218,9 @@ export default { .summary-span{ margin-left: 4px; - color: #878d9f;; + color: #878d9f; + position: absolute; + right: 30px; } .inner-dropdown-menu{ diff --git a/frontend/src/views/chart/view/ChartEdit.vue b/frontend/src/views/chart/view/ChartEdit.vue index 82196ffaee..868bc5e754 100644 --- a/frontend/src/views/chart/view/ChartEdit.vue +++ b/frontend/src/views/chart/view/ChartEdit.vue @@ -217,9 +217,8 @@
- + - {{ $t('chart.map_range') }} @@ -234,14 +233,14 @@ /> - + - {{ $t('chart.drag_block_table_data_column') }} - {{ $t('chart.drag_block_type_axis') }} - {{ $t('chart.drag_block_pie_label') }} - {{ $t('chart.drag_block_funnel_split') }} - {{ $t('chart.drag_block_radar_label') }} - {{ $t('chart.area') }} + {{ $t('chart.drag_block_table_data_column') }} + {{ $t('chart.drag_block_type_axis') }} + {{ $t('chart.drag_block_pie_label') }} + {{ $t('chart.drag_block_funnel_split') }} + {{ $t('chart.drag_block_radar_label') }} + {{ $t('chart.area') }} / {{ $t('chart.dimension') }} @@ -261,14 +260,14 @@ - {{ $t('chart.drag_block_table_data_column') }} - {{ $t('chart.drag_block_value_axis') }} - {{ $t('chart.drag_block_pie_angel') }} - {{ $t('chart.drag_block_funnel_width') }} - {{ $t('chart.drag_block_radar_length') }} - {{ $t('chart.drag_block_gauge_angel') }} - {{ $t('chart.drag_block_label_value') }} - {{ $t('chart.chart_data') }} + {{ $t('chart.drag_block_table_data_column') }} + {{ $t('chart.drag_block_value_axis') }} + {{ $t('chart.drag_block_pie_angel') }} + {{ $t('chart.drag_block_funnel_width') }} + {{ $t('chart.drag_block_radar_length') }} + {{ $t('chart.drag_block_gauge_angel') }} + {{ $t('chart.drag_block_label_value') }} + {{ $t('chart.chart_data') }} / {{ $t('chart.quota') }} @@ -286,7 +285,7 @@ - + {{ $t('chart.stack_item') }} /