From 06be1c7ccc7533612e4cc7b0e730080d0dd3d2a1 Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Fri, 16 Jan 2026 11:43:36 +0800
Subject: [PATCH] 商品可以赠送优惠券 商品属性增加团购 入驻商家增加实物和团购选项 团购和实物商户分类分开 增加团购商家页面 后台添加页面增加团购组件
---
mobile/components/diy/diy.vue | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/mobile/components/diy/diy.vue b/mobile/components/diy/diy.vue
index 84df868..69f675a 100644
--- a/mobile/components/diy/diy.vue
+++ b/mobile/components/diy/diy.vue
@@ -32,6 +32,16 @@
<articles :itemData="item"></articles>
</template>
+ <!--活动专区-->
+ <template v-if="item.type == 'hdzq'&&item.data!=null">
+ <hdzq :itemData="item"></hdzq>
+ </template>
+
+ <!--供需匹配-->
+ <template v-if="item.type == 'gxpp'&&item.data!=null">
+ <gxpp :itemData="item"></gxpp>
+ </template>
+
<!--头条快报-->
<template v-if="item.type == 'special'&&item.data!=null">
<special :itemData="item"></special>
@@ -113,6 +123,11 @@
<buttons :itemData="item"></buttons>
</template>
+ <!--团购-->
+ <template v-if="item.type==='groupBuy'&&item.data!=null">
+ <groupBuy :itemData="item"></groupBuy>
+ </template>
+
</block>
</view>
</template>
@@ -124,6 +139,8 @@
import windows from './window/window';
import videos from './videos/videos';
import articles from './article/article';
+ import hdzq from './hdzq/hdzq';
+ import gxpp from './gxpp/gxpp';
import special from './special/special';
import notice from './notice/notice';
import titles from './title/title';
@@ -142,6 +159,7 @@
import previewProduct from './previewProduct/previewProduct';
import live from './live/live';
import buttons from './button/button'; // 按钮组 by lyzflash
+ import groupBuy from './groupBuy/groupBuy'; // 团购组件
export default {
components: {
@@ -151,6 +169,8 @@
windows,
videos,
articles,
+ hdzq,
+ gxpp,
special,
notice,
titles,
@@ -168,6 +188,7 @@
previewProduct,
live,
buttons, // 按钮组 by lyzflash
+ groupBuy, // 团购组件
},
data() {
return {
--
Gitblit v1.9.2