From 0c4fadb211b93fa7fe4b2c07d8f712f9020ffbb0 Mon Sep 17 00:00:00 2001 From: wanglin2 <1013335014@qq.com> Date: Sun, 20 Apr 2025 10:13:05 +0800 Subject: [PATCH] =?UTF-8?q?Demo:1.=E4=BC=98=E5=8C=96=E4=BE=A7=E8=BE=B9?= =?UTF-8?q?=E6=A0=8F=E7=9A=84=E6=A0=B7=E5=BC=8F;2.=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=88=9D=E5=A7=8B=E7=BB=93=E6=9E=84=E4=B8=BA=E5=B8=A6=E9=B1=BC?= =?UTF-8?q?=E5=A4=B4=E7=9A=84=E7=BB=93=E6=9E=84=E6=97=B6=E8=8A=82=E7=82=B9?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E5=BD=A2=E7=8A=B6=E5=88=97=E8=A1=A8=E5=87=BA?= =?UTF-8?q?=E7=8E=B0=E7=A9=BA=E9=A1=B9=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/pages/Edit/components/BaseStyle.vue | 36 ++++++++++++--------- web/src/pages/Edit/components/Style.vue | 32 +++++++++++------- 2 files changed, 40 insertions(+), 28 deletions(-) diff --git a/web/src/pages/Edit/components/BaseStyle.vue b/web/src/pages/Edit/components/BaseStyle.vue index 8db1a13d..4a28998a 100644 --- a/web/src/pages/Edit/components/BaseStyle.vue +++ b/web/src/pages/Edit/components/BaseStyle.vue @@ -126,7 +126,7 @@ -
{{ $t('baseStyle.line') }}
+
{{ $t('baseStyle.line') }}
{{ $t('baseStyle.color') }} @@ -357,7 +357,7 @@
-
{{ $t('baseStyle.rainbowLines') }}
+
{{ $t('baseStyle.rainbowLines') }}
-
{{ $t('baseStyle.lineOfOutline') }}
+
{{ $t('baseStyle.lineOfOutline') }}
{{ $t('baseStyle.color') }} @@ -451,7 +451,7 @@
-
{{ $t('baseStyle.associativeLine') }}
+
{{ $t('baseStyle.associativeLine') }}
{{ $t('baseStyle.associativeLineColor') }} @@ -594,7 +594,7 @@
-
{{ $t('baseStyle.associativeLineText') }}
+
{{ $t('baseStyle.associativeLineText') }}
{{ $t('baseStyle.fontFamily') }} @@ -656,7 +656,7 @@
-
{{ $t('baseStyle.nodePadding') }}
-
+
{{ $t('baseStyle.nodePadding') }}
+
{{ $t('baseStyle.horizontal') }}
-
{{ $t('baseStyle.image') }}
-
+
{{ $t('baseStyle.image') }}
+
{{ $t('baseStyle.maximumWidth') }}
-
{{ $t('baseStyle.icon') }}
+
{{ $t('baseStyle.icon') }}
{{ $t('baseStyle.size') }} @@ -754,8 +754,8 @@
-
{{ $t('baseStyle.nodeMargin') }}
-
+
{{ $t('baseStyle.nodeMargin') }}
+
-
{{ $t('baseStyle.outerFramePadding') }}
-
+
{{ $t('baseStyle.outerFramePadding') }}
+
{{ $t('baseStyle.horizontal') }}
-
{{ $t('style.nodePadding') }}
-
+
{{ $t('style.nodePadding') }}
+
{{ $t('style.horizontal') }}
-
{{ $t('style.img') }}
+
{{ $t('style.img') }}
{{ $t('style.placement') }} @@ -528,7 +528,7 @@
-
{{ $t('style.tag') }}
+
{{ $t('style.tag') }}
{{ $t('style.placement') }} @@ -635,13 +635,17 @@ export default { shapeList() { return [ ...(shapeList[this.$i18n.locale] || shapeList.zh), - ...this.mindMap.extendShapeList.map(item => { - return { - width: '40px', - name: item.nameShow, - value: item.name - } - }) + ...this.mindMap.extendShapeList + .filter(item => { + return !['fishHead'].includes(item.name) + }) + .map(item => { + return { + width: '40px', + name: item.nameShow, + value: item.name + } + }) ] }, shapeListMap() { @@ -854,7 +858,7 @@ export default { font-weight: 500; color: rgba(26, 26, 26, 0.9); margin-bottom: 10px; - margin-top: 20px; + margin-top: 35px; &.noTop { margin-top: 0; @@ -866,6 +870,10 @@ export default { justify-content: space-between; margin-bottom: 10px; + &.noBottom { + margin-bottom: 0; + } + .btnGroup { width: 100%; display: flex;