This commit is contained in:
liuye
2023-02-03 17:43:17 +08:00
parent c09940849b
commit 3b34496bde

View File

@@ -218,6 +218,8 @@ export default {
this.getDetail()
this.$u.toast('绑定成功')
}
}).catch((err) => {
this.$u.toast(err)
})
},
cancel() {
@@ -243,7 +245,7 @@ export default {
this.awardNumber = res.data
this.onStart()
setTimeout(() => {
this.$u.toast(`恭喜抽中${this.activeInfo.prizes[this.awardNumber-1].name}!`)
this.$u.toast(this.activeInfo.prizes[this.awardNumber-1].defaultPrize == 1 ? `很遗憾您抽中了${this.activeInfo.prizes[this.awardNumber-1].name}` : `恭喜抽中${this.activeInfo.prizes[this.awardNumber-1].name}!`)
this.getDetail()
this.getAwardedList()
}, 2000)}
@@ -681,6 +683,7 @@ export default {
bottom: 200px;
right: 24px;
width: 160px;
z-index: 999;
}
}