From d175e8ae9fb342a5b894ed844b230426aeaf5f73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com> Date: Mon, 6 Mar 2023 16:36:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/integral/integral.scss | 1 + pages/integral/integral.vue | 9 ++++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/pages/integral/integral.scss b/pages/integral/integral.scss index 1324aab..a25be69 100644 --- a/pages/integral/integral.scss +++ b/pages/integral/integral.scss @@ -1,4 +1,5 @@ .app { + padding-bottom:10rpx ; .masks { z-index: 999; } diff --git a/pages/integral/integral.vue b/pages/integral/integral.vue index 1c3be45..f7c59be 100644 --- a/pages/integral/integral.vue +++ b/pages/integral/integral.vue @@ -26,7 +26,7 @@ - + {{item.goodsName}} @@ -132,7 +132,7 @@ - + {{goodsitem.integralExchangeCount}}{{goodsitem.goodsUnit}} @@ -257,6 +257,8 @@ } }, onShow() { + this.pageNum = 1 + this.selectExchangeGoodsinfo(); this.baseurl = baseurl this.yapqingbeijingimg = baseurl + '/profile/appletPicture/inviteFriendsTwo.png' var that = this @@ -438,7 +440,6 @@ integralGoodsOrder(that.updata).then(res => { if (res.code == 200) { that.selectPatientSignInifo(); - that.selectExchangeGoodsinfo(); that.$refs.uToast.show({ title: '兑换商品成功', type: 'success', @@ -519,9 +520,11 @@ }, //可兑换商品 selectExchangeGoodsinfo() { + this.pageNum = 1 selectExchangeGoods(this.pageNum, this.pageSize).then(res => { res.rows.forEach(e => { e.goodsPictureUrl = baseurl + e.goodsPictureUrl + e.attributePitureUrl = baseurl + e.attributePitureUrl }) this.goodslist = res.rows this.goodstotal = res.total