Commit dded089f by 施嘉伟

feature

1. 修复刮刮乐mini版中奖信息不匹配问题
parent 2092b5f3
...@@ -332,7 +332,7 @@ export default { ...@@ -332,7 +332,7 @@ export default {
this.$refs?.prizeWhell && this.$refs.prizeWhell.start(+data?.id || 0) this.$refs?.prizeWhell && this.$refs.prizeWhell.start(+data?.id || 0)
this.isLottering = true this.isLottering = true
this.isLoading = false this.isLoading = false
// TODO
if (this.lotteryInfo.showType === LOTTERY_STYLE.scratch) { if (this.lotteryInfo.showType === LOTTERY_STYLE.scratch) {
this.$refs.typeScratchRef.drawAnimation() this.$refs.typeScratchRef.drawAnimation()
} }
......
...@@ -333,7 +333,7 @@ export default { ...@@ -333,7 +333,7 @@ export default {
this.$refs?.prizeWhell && this.$refs.prizeWhell.start(+data?.id || 0) this.$refs?.prizeWhell && this.$refs.prizeWhell.start(+data?.id || 0)
this.isLottering = true this.isLottering = true
this.isLoading = false this.isLoading = false
// TODO
if (this.lotteryInfo.showType === LOTTERY_STYLE.scratch) { if (this.lotteryInfo.showType === LOTTERY_STYLE.scratch) {
this.$refs.typeScratchRef.drawAnimation() this.$refs.typeScratchRef.drawAnimation()
} }
......
...@@ -146,6 +146,9 @@ export default { ...@@ -146,6 +146,9 @@ export default {
startLottery() { startLottery() {
Bus.$emit('updateMain', { func: 'startLottery' }) Bus.$emit('updateMain', { func: 'startLottery' })
}, },
drawAnimation() {
//
},
// 刮奖结束回调 // 刮奖结束回调
endCallBack() { endCallBack() {
this.$toast({ this.$toast({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment