From 96db421a2a5ab38b8e89e212071c0f07494343c4 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Fri, 16 Jun 2023 19:44:57 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=8B=BC=E5=9B=A2=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E3=80=91=201.=20=E6=8E=A5=E5=85=A5=E6=8B=BC?= =?UTF-8?q?=E5=9B=A2=E8=AE=B0=E5=BD=95=E3=80=81=E6=B4=BB=E5=8A=A8=E3=80=81?= =?UTF-8?q?=E5=95=86=E5=93=81=E4=BF=A1=E6=81=AF=E7=AD=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/promotion/combination.js | 18 + .../goods_combination_details/index.vue | 112 +- .../goods_combination_status/index.vue | 1035 +++++++++-------- 3 files changed, 602 insertions(+), 563 deletions(-) diff --git a/api/promotion/combination.js b/api/promotion/combination.js index ddc9997d..92b1b761 100644 --- a/api/promotion/combination.js +++ b/api/promotion/combination.js @@ -8,3 +8,21 @@ export function getCombinationActivity(id) { noAuth: true // TODO 芋艿:后续要做调整 }); } + +// 获得最近 n 条拼团记录(团长发起的) +export function getHeadCombinationRecordList(status) { + return request.get("app-api/promotion/combination-record/get-head-list", { + status + }, { + noAuth: true // TODO 芋艿:后续要做调整 + }); +} + +// 获得拼团记录明细 +export function getCombinationRecordDetail(id) { + return request.get("app-api/promotion/combination-record/get-detail", { + id + }, { + noAuth: true // TODO 芋艿:后续要做调整 + }); +} diff --git a/pages/activity/goods_combination_details/index.vue b/pages/activity/goods_combination_details/index.vue index f4a924f2..96c0a993 100644 --- a/pages/activity/goods_combination_details/index.vue +++ b/pages/activity/goods_combination_details/index.vue @@ -255,7 +255,7 @@ @@ -710,21 +727,21 @@ z-index: 999; top: 50%; margin-top: -466rpx; - + image { width: 100%; height: 100%; display: block; border-radius: 10rpx; } - + .close { text-align: center; margin-top: 55rpx; color: #fff; font-size: 52rpx; } - + .save-poster { background-color: #df2d0a; font-size: :22rpx; @@ -734,7 +751,7 @@ line-height: 76rpx; width: 100%; } - + .keep { color: #fff; text-align: center; @@ -742,7 +759,7 @@ margin-top: 25rpx; } } - + /*开团*/ .group-con .header { width: 100%;