diff --git a/pages/goods/groupon.vue b/pages/goods/groupon.vue
index 9c9669c2..96119148 100644
--- a/pages/goods/groupon.vue
+++ b/pages/goods/groupon.vue
@@ -105,7 +105,6 @@
-
- 距离{{ item.distance.toFixed(2) }}千米
+
+ 距离{{ item.distance.toFixed(2) }}千米
+
查看地图
diff --git a/sheep/api/promotion/combination.js b/sheep/api/promotion/combination.js
index eb3639c5..8e8436cb 100644
--- a/sheep/api/promotion/combination.js
+++ b/sheep/api/promotion/combination.js
@@ -2,7 +2,6 @@ import request from '@/sheep/request';
// 拼团 API
const CombinationApi = {
-
// 获得拼团活动分页
getCombinationActivityPage: (params) => {
return request({
@@ -23,13 +22,13 @@ const CombinationApi = {
});
},
- // 获得拼团活动明细列表
- getCombinationActivityDetailList: (ids) => {
+ // 获得拼团活动列表,基于活动编号数组
+ getCombinationActivityListByIds: (ids) => {
return request({
url: '/promotion/combination-activity/list-by-ids',
method: 'GET',
params: {
- ids
+ ids,
},
});
},
@@ -50,9 +49,9 @@ const CombinationApi = {
// 获得我的拼团记录分页
getCombinationRecordPage: (params) => {
return request({
- url: "/promotion/combination-record/page",
+ url: '/promotion/combination-record/page',
method: 'GET',
- params
+ params,
});
},
diff --git a/sheep/components/s-groupon-block/s-groupon-block.vue b/sheep/components/s-groupon-block/s-groupon-block.vue
index 6c9d6544..59b63c17 100644
--- a/sheep/components/s-groupon-block/s-groupon-block.vue
+++ b/sheep/components/s-groupon-block/s-groupon-block.vue
@@ -1,4 +1,4 @@
-
+
@@ -232,7 +232,7 @@
* @return {Promise} 商品列表
*/
async function getCombinationActivityDetailList(ids) {
- const { data } = await CombinationApi.getCombinationActivityDetailList(ids);
+ const { data } = await CombinationApi.getCombinationActivityListByIds(ids);
return data;
}