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的订单