diff --git a/src/project/activeAnalysis/AppLuckyDraw/AppLuckyDraw.vue b/src/project/activeAnalysis/AppLuckyDraw/AppLuckyDraw.vue index 551517a8..4d6aa8d2 100644 --- a/src/project/activeAnalysis/AppLuckyDraw/AppLuckyDraw.vue +++ b/src/project/activeAnalysis/AppLuckyDraw/AppLuckyDraw.vue @@ -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; } }