From 9c2b13f2d07776f44ad98c4899b1b6eed42032f0 Mon Sep 17 00:00:00 2001 From: puhui999 Date: Thu, 5 Dec 2024 15:35:44 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E3=80=90=E7=BC=BA=E9=99=B7=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E3=80=91=E5=95=86=E5=9F=8E=E8=A3=85=E4=BF=AE:=20Title?= =?UTF-8?q?Bar=20=E8=83=8C=E6=99=AF=E5=9B=BE=E8=AE=BE=E7=BD=AE=E7=BB=9F?= =?UTF-8?q?=E4=B8=80=E4=B8=BA=E4=BD=BF=E7=94=A8=E7=BB=84=E4=BB=B6=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E8=BF=9B=E8=A1=8C=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/mobile/TitleBar/config.ts | 4 +- .../components/mobile/TitleBar/index.vue | 26 ++++++---- .../components/mobile/TitleBar/property.vue | 49 +++++++++---------- 3 files changed, 40 insertions(+), 39 deletions(-) diff --git a/src/components/DiyEditor/components/mobile/TitleBar/config.ts b/src/components/DiyEditor/components/mobile/TitleBar/config.ts index d9f0672c..0c104c95 100644 --- a/src/components/DiyEditor/components/mobile/TitleBar/config.ts +++ b/src/components/DiyEditor/components/mobile/TitleBar/config.ts @@ -1,9 +1,7 @@ -import { ComponentStyle, DiyComponent } from '@/components/DiyEditor/util' +import {ComponentStyle, DiyComponent} from '@/components/DiyEditor/util' /** 标题栏属性 */ export interface TitleBarProperty { - // 背景图 - bgImgUrl: string // 偏移 marginLeft: number // 显示位置 diff --git a/src/components/DiyEditor/components/mobile/TitleBar/index.vue b/src/components/DiyEditor/components/mobile/TitleBar/index.vue index b75d224e..7b907293 100644 --- a/src/components/DiyEditor/components/mobile/TitleBar/index.vue +++ b/src/components/DiyEditor/components/mobile/TitleBar/index.vue @@ -1,21 +1,30 @@ - - + From f7477c32641eae7a258c5fa459ff0d36cc62b3c7 Mon Sep 17 00:00:00 2001 From: puhui999 Date: Thu, 5 Dec 2024 17:46:36 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E3=80=90=E7=BC=BA=E9=99=B7=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E3=80=91=E5=95=86=E5=9F=8E=E8=A3=85=E4=BF=AE=EF=BC=9A?= =?UTF-8?q?=E8=A7=A3=E5=86=B3=E6=A8=A1=E7=89=88=E4=BF=AE=E6=94=B9=E4=B8=8D?= =?UTF-8?q?=E7=94=9F=E6=95=88=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/DiyEditor/index.vue | 76 +++++++++++-------- .../mall/promotion/diy/template/decorate.vue | 76 ++++++++++++++----- 2 files changed, 101 insertions(+), 51 deletions(-) diff --git a/src/components/DiyEditor/index.vue b/src/components/DiyEditor/index.vue index 700d32bd..643cc50a 100644 --- a/src/components/DiyEditor/index.vue +++ b/src/components/DiyEditor/index.vue @@ -12,17 +12,17 @@ - + - + - + - + @@ -31,21 +31,21 @@ - +
- +
@@ -55,43 +55,43 @@ @click="handleComponentSelected(component, index)" >
@@ -99,9 +99,9 @@
@@ -109,9 +109,9 @@
@@ -120,10 +120,10 @@