From 1f1635c434deca705fdf1393fcffec57c9fe729f Mon Sep 17 00:00:00 2001
From: wangjiahao <1522128093@qq.com>
Date: Mon, 25 Mar 2024 12:27:37 +0800
Subject: [PATCH] =?UTF-8?q?refactor(=E6=95=B0=E6=8D=AE=E5=A4=A7=E5=B1=8F):?=
=?UTF-8?q?=20=E6=97=B6=E9=97=B4=E7=BB=84=E4=BB=B6=E6=A0=B7=E5=BC=8F?=
=?UTF-8?q?=E8=AE=BE=E7=BD=AE=E5=8C=BA=E5=9F=9F=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../custom-component/common/CommonAttr.vue | 118 +---------
.../common/CommonStyleSet.vue | 217 ++++++++++++------
.../src/custom-component/component-list.ts | 3 +-
3 files changed, 156 insertions(+), 182 deletions(-)
diff --git a/core/core-frontend/src/custom-component/common/CommonAttr.vue b/core/core-frontend/src/custom-component/common/CommonAttr.vue
index b13295ff64..5aaf95972e 100644
--- a/core/core-frontend/src/custom-component/common/CommonAttr.vue
+++ b/core/core-frontend/src/custom-component/common/CommonAttr.vue
@@ -8,6 +8,7 @@ import BackgroundOverallCommon from '@/components/visualization/component-backgr
import { useI18n } from '@/hooks/web/useI18n'
import elementResizeDetectorMaker from 'element-resize-detector'
import { snapshotStoreWithOut } from '@/store/modules/data-visualization/snapshot'
+import CommonStyleSet from '@/custom-component/common/CommonStyleSet.vue'
const snapshotStore = snapshotStoreWithOut()
const { t } = useI18n()
@@ -136,126 +137,13 @@ const stopEvent = e => {
-
-
-
-
-
-
-
-
-
- {{ t('chart.text_pos_left') }}
-
-
-
-
-
-
-
-
-
-
-
- {{ t('chart.text_pos_center') }}
-
-
-
-
-
-
-
-
-
-
-
- {{ t('chart.text_pos_right') }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
diff --git a/core/core-frontend/src/custom-component/common/CommonStyleSet.vue b/core/core-frontend/src/custom-component/common/CommonStyleSet.vue
index 6daca77f0e..ceae762187 100644
--- a/core/core-frontend/src/custom-component/common/CommonStyleSet.vue
+++ b/core/core-frontend/src/custom-component/common/CommonStyleSet.vue
@@ -1,27 +1,35 @@
-
+
-
+
-
+
-
+
+
+
+
+
+
+
{{ t('chart.bolder') }}
@@ -47,13 +78,13 @@
-
+
{{ t('chart.italic') }}
@@ -64,61 +95,69 @@
-
-
- {{ t('chart.text_pos_left') }}
-
-
-
-
-
-
-
-
-
- {{ t('chart.text_pos_center') }}
-
-
-
-
-
-
-
-
-
- {{ t('chart.text_pos_right') }}
-
-
-
-
-
-
-
+
+
+
+ {{ t('chart.text_pos_left') }}
+
+
+
+
+
+
+
+
+
+ {{ t('chart.text_pos_center') }}
+
+
+
+
+
+
+
+
+
+ {{ t('chart.text_pos_right') }}
+
+
+
+
+
+
+
+