|
|
@ -201,6 +201,7 @@ |
|
|
|
pris.prizeId = r.id; |
|
|
|
pris.prizeId = r.id; |
|
|
|
pris.prizeImage = this.imageUrl + r.img; |
|
|
|
pris.prizeImage = this.imageUrl + r.img; |
|
|
|
pris.prizeName = r.name; |
|
|
|
pris.prizeName = r.name; |
|
|
|
|
|
|
|
pris.prizeStr = r.prizeStr; |
|
|
|
prizesList.push(pris); |
|
|
|
prizesList.push(pris); |
|
|
|
}) |
|
|
|
}) |
|
|
|
this.activityInfo = this.transform(res.return_data.activityInfo.content); |
|
|
|
this.activityInfo = this.transform(res.return_data.activityInfo.content); |
|
|
@ -255,12 +256,14 @@ |
|
|
|
console.log('旋转结束,执行拿到结果后到逻辑') |
|
|
|
console.log('旋转结束,执行拿到结果后到逻辑') |
|
|
|
// 旋转结束后,开始处理拿到结果后的逻辑 |
|
|
|
// 旋转结束后,开始处理拿到结果后的逻辑 |
|
|
|
this.prizeing = false |
|
|
|
this.prizeing = false |
|
|
|
let prizeName = this.prizeList[this.prizeIndex].prizeName |
|
|
|
let prizeName = this.prizeList[this.prizeIndex].prizeName; |
|
|
|
|
|
|
|
let prizeStr = this.prizeList[this.prizeIndex].prizeStr; |
|
|
|
let tipContent = '' |
|
|
|
let tipContent = '' |
|
|
|
// if (prizeName === '参与奖') { |
|
|
|
// if (prizeName === '参与奖') { |
|
|
|
// tipContent = '很遗憾,没有中奖,请再接再厉!' |
|
|
|
// tipContent = '很遗憾,没有中奖,请再接再厉!' |
|
|
|
// } else { |
|
|
|
// } else { |
|
|
|
tipContent = `恭喜您,获得 "${prizeName} "!` |
|
|
|
tipContent = `恭喜您获得了${prizeName} : `+` ${prizeStr}`+` , 请前往我的优惠券查看` |
|
|
|
|
|
|
|
|
|
|
|
// } |
|
|
|
// } |
|
|
|
this.getUserLotteryNum(); |
|
|
|
this.getUserLotteryNum(); |
|
|
|
this.getWinLotteryList(); |
|
|
|
this.getWinLotteryList(); |
|
|
@ -292,6 +295,7 @@ |
|
|
|
prizeId = '' |
|
|
|
prizeId = '' |
|
|
|
prizeName = '' |
|
|
|
prizeName = '' |
|
|
|
prizeImage = '' |
|
|
|
prizeImage = '' |
|
|
|
|
|
|
|
prizeStr = '' |
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|