From cb982c28833f716dc8a9426238e0dca9c0301039 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com> Date: Fri, 27 Aug 2021 14:11:06 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A0=8D=E4=BB=B7=E6=B4=BB=E5=8A=A8=E4=BF=AE?= =?UTF-8?q?=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/promotions.js | 13 ++- pages.json | 5 ++ pages/promotion/bargain/detail.vue | 19 +++- pages/promotion/bargain/list.vue | 11 ++- pages/promotion/bargain/log.vue | 133 ++++++++++++++++++++++++++++ pages/promotion/point/pointList.vue | 6 +- pages/tabbar/user/utils/tool.vue | 4 + static/mine/kanjia.png | Bin 0 -> 2317 bytes 8 files changed, 180 insertions(+), 11 deletions(-) create mode 100644 pages/promotion/bargain/log.vue create mode 100644 static/mine/kanjia.png diff --git a/api/promotions.js b/api/promotions.js index 565e859..6d59101 100644 --- a/api/promotions.js +++ b/api/promotions.js @@ -163,12 +163,17 @@ export function getBargainLog(params) { }); } + + /** - * 分页获取砍价活动-帮砍记录 + * 分页获取已参与的砍价活动 */ -export function helpBargain(kanJiaActivityId) { +export function getMineBargainLog(params) { return http.request({ - url: `promotion/kanjiaGoods/help/${kanJiaActivityId}`, - method: Method.POST, + url: `/promotion/kanjiaGoods/kanjiaActivity/mine/`, + method: Method.GET, + params }); } + + diff --git a/pages.json b/pages.json index c0a7383..8e52682 100644 --- a/pages.json +++ b/pages.json @@ -503,6 +503,11 @@ "navigationBarTextStyle": "white" } + },{ + "path": "bargain/log", + "style": { + "navigationBarTitleText": "砍价记录" + } },{ "path": "point/detail", "style": { diff --git a/pages/promotion/bargain/detail.vue b/pages/promotion/bargain/detail.vue index 6c692fa..beef97c 100644 --- a/pages/promotion/bargain/detail.vue +++ b/pages/promotion/bargain/detail.vue @@ -1,6 +1,7 @@