|
@@ -141,8 +141,9 @@
|
|
|
res => {
|
|
|
uni.hideLoading();
|
|
|
if (res.code == 0) {
|
|
|
- res.rows.forEach(item => item.picUrl = env.filePublic + item.picUrl.split(',')[0] + '_s')
|
|
|
+ res.rows.forEach(item => item.picUrl = env.filePublic + item.picUrl.split(',')[0] + '?imageView2/2/w/375')
|
|
|
this.ticketList = res.rows
|
|
|
+ console.log("res.rows==index: ",res.rows);
|
|
|
this.getPrize(this.ticketList[0].boxId)
|
|
|
}
|
|
|
}).catch(() => {
|
|
@@ -187,9 +188,10 @@
|
|
|
let prizeList = res.data.prizeList
|
|
|
prizeList.forEach(item => {
|
|
|
let picUrlArr = item.picUrl.split(',')
|
|
|
- item.picUrl = env.filePublic + picUrlArr[0] + '_s'
|
|
|
+ item.picUrl = env.filePublic + picUrlArr[0] + '?imageView2/2/w/170'
|
|
|
})
|
|
|
this.prizeList = prizeList
|
|
|
+ console.log("this.prizeList: ",prizeList);
|
|
|
this.currentPrizeIndex = 2
|
|
|
this.payInfo = this.ticketList[this.currentIndex]
|
|
|
}
|