From 2df155ba84d9e5a3653538f7f8d7bb5af70e70e1 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Thu, 4 Jun 2026 14:20:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=9B=BE=E8=A1=A8?= =?UTF-8?q?=E6=A0=87=E9=A2=98=E4=BD=8D=E7=BD=AE=E5=90=91=E4=B8=8B=E5=81=8F?= =?UTF-8?q?=E7=A7=BB=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/chart/components/views/index.vue | 149 +++++++++--------- 1 file changed, 73 insertions(+), 76 deletions(-) diff --git a/core/core-frontend/src/views/chart/components/views/index.vue b/core/core-frontend/src/views/chart/components/views/index.vue index 05b036c6d5..3f795cbf0f 100644 --- a/core/core-frontend/src/views/chart/components/views/index.vue +++ b/core/core-frontend/src/views/chart/components/views/index.vue @@ -989,17 +989,6 @@ const iconSize = computed(() => { return 16 * scale.value + 'px' }) -/** - * 保证标题容器高度最小高度不低于图标高度 - */ -const titleContainerMinHeight = computed(() => { - if (['picture-group', 'rich-text'].includes(element.value.innerType)) { - return '0px' - } else if (!titleShow.value) { - return 16 * scale.value + 4 + 'px' - } - return 16 * scale.value + 'px' -}) /** * 修改透明度 * 边框透明度为0时会是存色,顾配置低透明度 @@ -1160,57 +1149,60 @@ const clearG2Tooltip = () => { /> -
- - - - - - - - - - - - +
- - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
@@ -1354,25 +1346,30 @@ const clearG2Tooltip = () => { gap: 8px; - .icons-container { - display: inline-flex; - flex-direction: row; - align-items: center; - flex-wrap: nowrap; - gap: 8px; + .icons-container-out { + position: relative; + .icons-container { + position: absolute; + left: 0; + display: inline-flex; + flex-direction: row; + align-items: center; + flex-wrap: nowrap; + gap: 8px; - color: #646a73; + color: #646a73; - &.icons-container__dark { - color: #a6a6a6; - } + &.icons-container__dark { + color: #a6a6a6; + } - &.is-editing { - gap: 6px; - } + &.is-editing { + gap: 6px; + } - .inner-icon { - cursor: pointer; + .inner-icon { + cursor: pointer; + } } } }