From d83522607b9fb0ea1aa2c32bb54d176a24b1f1a5 Mon Sep 17 00:00:00 2001
From: 77 <270260644@qq.com>
Date: Sat, 5 Oct 2024 11:47:25 +0800
Subject: [PATCH] =?UTF-8?q?=E5=B0=86=E8=A3=85=E4=BF=AE=E5=88=97=E8=A1=A8?=
=?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=8E=BB=E6=8E=89=E7=9B=B4=E6=8E=A5=E5=9C=A8?=
=?UTF-8?q?=E8=8F=9C=E5=8D=95=E6=A0=8F=E9=87=8C=E9=9D=A2=E6=B7=BB=E5=8A=A0?=
=?UTF-8?q?=E6=8C=89=E9=92=AE=E8=B7=B3=E8=BD=AC=E5=88=B0=E5=AF=B9=E5=BA=94?=
=?UTF-8?q?=E7=9A=84=E8=A3=85=E4=BF=AE=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/components/DiyEditor/index.vue | 1 +
.../src/router/modules/remaining.ts | 2 +-
.../mall/promotion/diy/template/decorate.vue | 291 +++++++++---------
.../mall/promotion/diy/template/decorate1.vue | 175 +++++++++++
.../mall/promotion/diy/template/decorate3.vue | 175 +++++++++++
5 files changed, 500 insertions(+), 144 deletions(-)
create mode 100644 yudao-admin-vue3/src/views/mall/promotion/diy/template/decorate1.vue
create mode 100644 yudao-admin-vue3/src/views/mall/promotion/diy/template/decorate3.vue
diff --git a/yudao-admin-vue3/src/components/DiyEditor/index.vue b/yudao-admin-vue3/src/components/DiyEditor/index.vue
index 700d32b..942a153 100644
--- a/yudao-admin-vue3/src/components/DiyEditor/index.vue
+++ b/yudao-admin-vue3/src/components/DiyEditor/index.vue
@@ -249,6 +249,7 @@ watch(
const component = componentConfigs[item.id]
return { ...component, property: item.property }
})
+ console.log(modelValue,"pageComponents.value")
},
{
immediate: true
diff --git a/yudao-admin-vue3/src/router/modules/remaining.ts b/yudao-admin-vue3/src/router/modules/remaining.ts
index 05c227a..a91a181 100644
--- a/yudao-admin-vue3/src/router/modules/remaining.ts
+++ b/yudao-admin-vue3/src/router/modules/remaining.ts
@@ -469,7 +469,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
]
},
{
- path: '/diy',
+ path: '/diy-template/diy',
name: 'DiyCenter',
meta: { hidden: true },
component: Layout,
diff --git a/yudao-admin-vue3/src/views/mall/promotion/diy/template/decorate.vue b/yudao-admin-vue3/src/views/mall/promotion/diy/template/decorate.vue
index e7838f2..4fa8d08 100644
--- a/yudao-admin-vue3/src/views/mall/promotion/diy/template/decorate.vue
+++ b/yudao-admin-vue3/src/views/mall/promotion/diy/template/decorate.vue
@@ -1,18 +1,10 @@
-
-
-
+
+
+
+
+ })
+
+ // watch(() => route.path, (newPath, oldPath) => {
+ // console.log(newPath,'newPathnewPath');
+ // // handleTemplateItemChange()
+ // }, { immediate: true });
+
\ No newline at end of file
diff --git a/yudao-admin-vue3/src/views/mall/promotion/diy/template/decorate1.vue b/yudao-admin-vue3/src/views/mall/promotion/diy/template/decorate1.vue
new file mode 100644
index 0000000..42502fa
--- /dev/null
+++ b/yudao-admin-vue3/src/views/mall/promotion/diy/template/decorate1.vue
@@ -0,0 +1,175 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/yudao-admin-vue3/src/views/mall/promotion/diy/template/decorate3.vue b/yudao-admin-vue3/src/views/mall/promotion/diy/template/decorate3.vue
new file mode 100644
index 0000000..5ea5f26
--- /dev/null
+++ b/yudao-admin-vue3/src/views/mall/promotion/diy/template/decorate3.vue
@@ -0,0 +1,175 @@
+
+
+
+
+
+
+
+
\ No newline at end of file