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