From c3bb0a2ddcc223401ac95c7447a6e19e641fbf8c Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 13 Jan 2024 18:24:00 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20=E6=8B=BC=E5=9B=A2=EF=BC=9A?= =?UTF-8?q?=E8=AE=A2=E5=8D=95=E4=B8=8B=E5=8D=95=E7=9A=84=E6=8E=A5=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/goods/components/groupon/groupon-card-list.vue | 3 ++- pages/goods/groupon.vue | 3 ++- pages/order/confirm.vue | 4 ++++ sheep/api/trade/order.js | 10 ++++++++++ 4 files changed, 18 insertions(+), 2 deletions(-) diff --git a/pages/goods/components/groupon/groupon-card-list.vue b/pages/goods/components/groupon/groupon-card-list.vue index 80eb11ef..2fd8f18a 100644 --- a/pages/goods/components/groupon/groupon-card-list.vue +++ b/pages/goods/components/groupon/groupon-card-list.vue @@ -73,7 +73,8 @@ // 初始化 onMounted(async () => { // 查询参团记录 - const { data } = await CombinationApi.getHeadCombinationRecordList(props.modelValue.id, 1 , 10); + // status = 0 表示未成团 + const { data } = await CombinationApi.getHeadCombinationRecordList(props.modelValue.id, 0 , 10); state.list = data; }); diff --git a/pages/goods/groupon.vue b/pages/goods/groupon.vue index e30e9cb0..50bba1c4 100644 --- a/pages/goods/groupon.vue +++ b/pages/goods/groupon.vue @@ -1,3 +1,4 @@ +