From 350e79895dde0ce310ae3729fdfe3bcca3527163 Mon Sep 17 00:00:00 2001 From: "pikachu1995@126.com" Date: Mon, 12 Oct 2026 10:23:00 +0800 Subject: [PATCH] =?UTF-8?q?feat(manager):=20=E6=96=B0=E5=A2=9E=E5=BA=97?= =?UTF-8?q?=E9=93=BA=E5=88=97=E8=A1=A8=E8=A3=85=E4=BF=AE=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wap/config-panel/PanelShop.vue | 78 +++++++++++++++++++ .../page-decoration/wap/config-panel/index.js | 2 + .../src/views/page-decoration/wap/config.js | 13 ++++ .../page-decoration/wap/template/index.js | 2 + .../page-decoration/wap/template/tpl_shop.vue | 65 ++++++++++++++++ 5 files changed, 160 insertions(+) create mode 100644 manager/src/views/page-decoration/wap/config-panel/PanelShop.vue create mode 100644 manager/src/views/page-decoration/wap/template/tpl_shop.vue diff --git a/manager/src/views/page-decoration/wap/config-panel/PanelShop.vue b/manager/src/views/page-decoration/wap/config-panel/PanelShop.vue new file mode 100644 index 000000000..837246d20 --- /dev/null +++ b/manager/src/views/page-decoration/wap/config-panel/PanelShop.vue @@ -0,0 +1,78 @@ + + + + + diff --git a/manager/src/views/page-decoration/wap/config-panel/index.js b/manager/src/views/page-decoration/wap/config-panel/index.js index 81f2c1776..ea719856c 100644 --- a/manager/src/views/page-decoration/wap/config-panel/index.js +++ b/manager/src/views/page-decoration/wap/config-panel/index.js @@ -6,6 +6,7 @@ import PanelRichText from "./PanelRichText.vue"; import PanelIntegral from "./PanelIntegral.vue"; import PanelCoupon from "./PanelCoupon.vue"; import PanelArticle from "./PanelArticle.vue"; +import PanelShop from "./PanelShop.vue"; export default { blank: PanelBlank, @@ -14,4 +15,5 @@ export default { integral: PanelIntegral, coupon: PanelCoupon, article: PanelArticle, + shop: PanelShop, }; diff --git a/manager/src/views/page-decoration/wap/config.js b/manager/src/views/page-decoration/wap/config.js index bb6192d49..af7bfad57 100644 --- a/manager/src/views/page-decoration/wap/config.js +++ b/manager/src/views/page-decoration/wap/config.js @@ -768,5 +768,18 @@ export const modelData = [ pageGap: 10, borderRadius: 0 } + }, + { + type: "shop", + name: "店铺列表", + group: "base", + img: "md-image", + options: { + list: [{ title: "店铺列表", count: 4 }], + bgColor: "#FFFFFF", + paddingX: 0, + pageGap: 10, + borderRadius: 0 + } } ]; diff --git a/manager/src/views/page-decoration/wap/template/index.js b/manager/src/views/page-decoration/wap/template/index.js index e881d73e7..b5f7fa40f 100644 --- a/manager/src/views/page-decoration/wap/template/index.js +++ b/manager/src/views/page-decoration/wap/template/index.js @@ -28,6 +28,7 @@ import tpl_line from "./tpl_line"; import tpl_rich_text from "./tpl_rich_text"; import tpl_coupon from "./tpl_coupon"; import tpl_article from "./tpl_article"; +import tpl_shop from "./tpl_shop"; export default { notice: tpl_notice, @@ -60,4 +61,5 @@ export default { richText: tpl_rich_text, coupon: tpl_coupon, article: tpl_article, + shop: tpl_shop, }; diff --git a/manager/src/views/page-decoration/wap/template/tpl_shop.vue b/manager/src/views/page-decoration/wap/template/tpl_shop.vue new file mode 100644 index 000000000..6ff2986a3 --- /dev/null +++ b/manager/src/views/page-decoration/wap/template/tpl_shop.vue @@ -0,0 +1,65 @@ + + + + +