修改
This commit is contained in:
parent
fb31334858
commit
d175e8ae9f
@ -1,4 +1,5 @@
|
|||||||
.app {
|
.app {
|
||||||
|
padding-bottom:10rpx ;
|
||||||
.masks {
|
.masks {
|
||||||
z-index: 999;
|
z-index: 999;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -26,7 +26,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="items">
|
<view class="items">
|
||||||
<view class="item" v-for="(item,index) in goodslist" :key="index">
|
<view class="item" v-for="(item,index) in goodslist" :key="index">
|
||||||
<image :src="item.goodsPictureUrl" mode=""></image>
|
<image :src="item.attributePitureUrl" mode=""></image>
|
||||||
<view class="title">
|
<view class="title">
|
||||||
{{item.goodsName}}
|
{{item.goodsName}}
|
||||||
</view>
|
</view>
|
||||||
@ -132,7 +132,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view style="display: flex;justify-content: flex-start;flex-wrap: wrap;">
|
<view style="display: flex;justify-content: flex-start;flex-wrap: wrap;">
|
||||||
<view class="Productmodel productmodel">
|
<view class="Productmodel productmodel">
|
||||||
<image :src="baseurl+goodsitem.attributePitureUrl" mode=""></image>
|
<image :src="goodsitem.attributePitureUrl" mode=""></image>
|
||||||
<view class="">
|
<view class="">
|
||||||
{{goodsitem.integralExchangeCount}}{{goodsitem.goodsUnit}}
|
{{goodsitem.integralExchangeCount}}{{goodsitem.goodsUnit}}
|
||||||
</view>
|
</view>
|
||||||
@ -257,6 +257,8 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
|
this.pageNum = 1
|
||||||
|
this.selectExchangeGoodsinfo();
|
||||||
this.baseurl = baseurl
|
this.baseurl = baseurl
|
||||||
this.yapqingbeijingimg = baseurl + '/profile/appletPicture/inviteFriendsTwo.png'
|
this.yapqingbeijingimg = baseurl + '/profile/appletPicture/inviteFriendsTwo.png'
|
||||||
var that = this
|
var that = this
|
||||||
@ -438,7 +440,6 @@
|
|||||||
integralGoodsOrder(that.updata).then(res => {
|
integralGoodsOrder(that.updata).then(res => {
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
that.selectPatientSignInifo();
|
that.selectPatientSignInifo();
|
||||||
that.selectExchangeGoodsinfo();
|
|
||||||
that.$refs.uToast.show({
|
that.$refs.uToast.show({
|
||||||
title: '兑换商品成功',
|
title: '兑换商品成功',
|
||||||
type: 'success',
|
type: 'success',
|
||||||
@ -519,9 +520,11 @@
|
|||||||
},
|
},
|
||||||
//可兑换商品
|
//可兑换商品
|
||||||
selectExchangeGoodsinfo() {
|
selectExchangeGoodsinfo() {
|
||||||
|
this.pageNum = 1
|
||||||
selectExchangeGoods(this.pageNum, this.pageSize).then(res => {
|
selectExchangeGoods(this.pageNum, this.pageSize).then(res => {
|
||||||
res.rows.forEach(e => {
|
res.rows.forEach(e => {
|
||||||
e.goodsPictureUrl = baseurl + e.goodsPictureUrl
|
e.goodsPictureUrl = baseurl + e.goodsPictureUrl
|
||||||
|
e.attributePitureUrl = baseurl + e.attributePitureUrl
|
||||||
})
|
})
|
||||||
this.goodslist = res.rows
|
this.goodslist = res.rows
|
||||||
this.goodstotal = res.total
|
this.goodstotal = res.total
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user