From 4db880f828e7baa5cfcfaeb9adc22b4367db1db4 Mon Sep 17 00:00:00 2001
From: youmengting <2080639302@qq.com>
Date: Mon, 30 Oct 2023 14:24:52 +0800
Subject: [PATCH] =?UTF-8?q?=E5=9B=A2=E8=B4=AD=E9=85=8D=E7=BD=AE:=E5=9B=A2?=
=?UTF-8?q?=E8=B4=AD=E4=BA=A7=E5=93=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Utils/groupBuying.js | 11 +-
.../next-bubble-menu/next-bubble-menu.vue | 2 +-
pages.json | 2 +
.../groupProduct/groupProduct.vue | 275 +++++++++++++++---
.../groupProduct/groupProductAdd.vue | 143 +++++----
.../storeImg/storeImg.vue | 29 +-
.../storeProduct/storeProduct.vue | 6 +-
.../storeProduct/storeProductAdd.vue | 4 +-
8 files changed, 339 insertions(+), 133 deletions(-)
diff --git a/Utils/groupBuying.js b/Utils/groupBuying.js
index a0c8038..154481b 100644
--- a/Utils/groupBuying.js
+++ b/Utils/groupBuying.js
@@ -59,9 +59,9 @@ export const editGroupContent = params => {
}
//新增团购规则内容
-export const insertGroupServeRule = params => {
- return POST('POST', `${base}/storeGroup/insertGroupServeRule`, params).then(res => res.data);
-}
+// export const insertGroupServeRule = params => {
+// return POST('POST', `${base}/storeGroup/insertGroupServeRule`, params).then(res => res.data);
+// }
//编辑团购规则内容
export const editGroupServeRule = params => {
@@ -90,4 +90,9 @@ export const getStoreGroupDetailList = params => {
//根据团购id查询门店规则内容
export const findGroupServeRuleByGroup = params => {
return POST('GET', `${base}/storeGroup/findGroupServeRuleByGroup`, params).then(res => res.data);
+}
+
+//查询团购内容
+export const findStoreGroupContent = params => {
+ return POST('GET', `${base}/storeGroup/findStoreGroupContent`, params).then(res => res.data);
}
\ No newline at end of file
diff --git a/components/next-bubble-menu/next-bubble-menu.vue b/components/next-bubble-menu/next-bubble-menu.vue
index a2e5d41..69cc396 100644
--- a/components/next-bubble-menu/next-bubble-menu.vue
+++ b/components/next-bubble-menu/next-bubble-menu.vue
@@ -12,7 +12,7 @@
:style="{
left:0,
top: showTop && (arrowTop+12)+'rpx'
- }">
+ }" @click.stop>
diff --git a/pages.json b/pages.json
index 8eea7e4..00cb466 100644
--- a/pages.json
+++ b/pages.json
@@ -580,6 +580,7 @@
{
"path":"groupBuyingConfiguration/storeProduct/storeProductAdd",
"style": {
+ "navigationBarTitleText": "",
"enablePullDownRefresh": false,
"app-plus": {
"titleNView": false, //禁用原生导航栏
@@ -599,6 +600,7 @@
},{
"path":"groupBuyingConfiguration/groupProduct/groupProductAdd",
"style": {
+ "navigationBarTitleText": "",
"enablePullDownRefresh": false,
"app-plus": {
"titleNView": false, //禁用原生导航栏
diff --git a/subpackages/groupBuyingConfiguration/groupProduct/groupProduct.vue b/subpackages/groupBuyingConfiguration/groupProduct/groupProduct.vue
index 25d903b..c752ba8 100644
--- a/subpackages/groupBuyingConfiguration/groupProduct/groupProduct.vue
+++ b/subpackages/groupBuyingConfiguration/groupProduct/groupProduct.vue
@@ -1,104 +1,250 @@
-
+
-
+
名称
价格
-
- 有效期
+ 状态
操作
-
-
+
+
-
+
{{item.name}}
{{item.price}}
-
- {{item.validity}}
- 编辑
+ {{item.status | filterStatus}}
+
+ 操作
+
-
+
+
+
+ 详情
+
+
+
+ 名称
+ {{productDetail.name}}
+
+
+ 价格
+ {{productDetail.price}}
+
+
+ 限制
+ {{productDetail.astrict}}
+
+
+ 状态
+ {{productDetail.status | filterStatus}}
+
+
+ 使用时间
+ {{productDetail.serviceTime}}
+
+
+ 有效期
+ {{productDetail.validity}}
+
+
+ 图片
+
+
+
+
+
+
+ 创建时间
+ {{productDetail.createTime | timeFormat}}
+
+
+
+
+
+
\ No newline at end of file
diff --git a/subpackages/groupBuyingConfiguration/groupProduct/groupProductAdd.vue b/subpackages/groupBuyingConfiguration/groupProduct/groupProductAdd.vue
index 4872f10..cd06e08 100644
--- a/subpackages/groupBuyingConfiguration/groupProduct/groupProductAdd.vue
+++ b/subpackages/groupBuyingConfiguration/groupProduct/groupProductAdd.vue
@@ -44,7 +44,7 @@
:disable-default-padding="false" v-model.trim="productData.astrict" placeholder="请输入限制"
placeholder-class="font15" :maxlength="999">
-
+
团购图片:
@@ -70,7 +70,11 @@
{{item2.productName}}
- {{item2.count}}份
+
+ {{item2.count}}份
+
+
+
@@ -89,9 +93,10 @@
-