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 @@ + + + + +