From 87fcacf38c24176157f1047fc655d14303bf8c84 Mon Sep 17 00:00:00 2001 From: liuye Date: Sun, 23 Apr 2023 11:38:09 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=AF=E5=88=86=E4=BB=A3=E5=85=91=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppRedemptionPoints.vue | 36 ++++++++++--------- .../fd/AppRedemptionPoints/goodsList.vue | 26 +++++++++----- .../fd/AppRedemptionPoints/myOrderList.vue | 8 +++-- .../fd/AppRedemptionPoints/placeOrder.vue | 9 +++-- .../fd/AppRedemptionPoints/productDetails.vue | 6 ++-- 5 files changed, 51 insertions(+), 34 deletions(-) diff --git a/src/project/fd/AppRedemptionPoints/AppRedemptionPoints.vue b/src/project/fd/AppRedemptionPoints/AppRedemptionPoints.vue index 16ed4eaa..d371881d 100644 --- a/src/project/fd/AppRedemptionPoints/AppRedemptionPoints.vue +++ b/src/project/fd/AppRedemptionPoints/AppRedemptionPoints.vue @@ -5,15 +5,16 @@ search-icon-color="#999" color="#666" @search="getListInit">
-
+
- 张三 + + {{item.name}}
- 积分总额:2350 - 积分余额:2350 + 积分总额:{{item.allIntegral}} + 积分余额:{{item.integral}}
-
+

帮兑换

@@ -51,19 +52,19 @@ export default { this.getList() }, getList() { - // this.$http.post(`/app/appconvenientaddressbook/list`, null, { - // params: { - // current: this.current, - // name: this.keyword - // } - // }).then(res => { - // if (res.code == 0) { - // this.list = this.current == 1 ? res.data.records : [...this.list, ...res.data.records] - // } - // }) + this.$http.post(`/app/appwechatuserqujing/listByFdAppletUserByGirdMember`, null, { + params: { + current: this.current, + con: this.keyword + } + }).then(res => { + if (res.code == 0) { + this.list = this.current == 1 ? res.data.records : [...this.list, ...res.data.records] + } + }) }, - toGoodsList() { - uni.navigateTo({url: './goodsList'}) + toGoodsList(item) { + uni.navigateTo({url: `./goodsList?openId=${item.openId}&userId=${item.id}&integralUserId=${item.integralUserId}`}) } }, onReachBottom() { @@ -100,6 +101,7 @@ export default { width: 40px; height: 40px; margin-right: 12px; + vertical-align: bottom; } } .total { diff --git a/src/project/fd/AppRedemptionPoints/goodsList.vue b/src/project/fd/AppRedemptionPoints/goodsList.vue index a3fc6b91..5ed180a3 100644 --- a/src/project/fd/AppRedemptionPoints/goodsList.vue +++ b/src/project/fd/AppRedemptionPoints/goodsList.vue @@ -6,7 +6,7 @@

积分余额

{{total}}

-
我的订单
+
ta的订单