diff --git a/api/promotion/banner.js b/api/promotion/banner.js new file mode 100644 index 00000000..d2d78688 --- /dev/null +++ b/api/promotion/banner.js @@ -0,0 +1,7 @@ +import request from "@/utils/request.js"; + +export function getBannerList(position) { + return request.get("app-api/promotion/banner/list", { + position + }); +} diff --git a/api/promotion/combination.js b/api/promotion/combination.js index 1426d9f1..1ff8f705 100644 --- a/api/promotion/combination.js +++ b/api/promotion/combination.js @@ -34,3 +34,10 @@ export function getCombinationRecordDetail(id) { noAuth: true // TODO 芋艿:后续要做调整 }); } + +// 获得拼团活动的概要信息 +export function getCombinationSummary() { + return request.get("app-api/promotion/combination-record/get-summary", {}, { + noAuth: true // TODO 芋艿:后续要做调整 + }); +} diff --git a/pages/activity/goods_combination/index.vue b/pages/activity/goods_combination/index.vue index d1be99e4..b44164cf 100644 --- a/pages/activity/goods_combination/index.vue +++ b/pages/activity/goods_combination/index.vue @@ -6,36 +6,36 @@ - + - - + - + - - + + - + ··· - {{totalPeople}}人参与 + {{ summary.userCount || 0 }}人参与 @@ -69,17 +69,12 @@ -