Commit ad995d5e by 赖慧粮

Merge branch 'test' of gitlab.aodianyun.com:activities/web-lottery into test

parents 73ffe0b8 abc2ba24
...@@ -136,10 +136,7 @@ export default { ...@@ -136,10 +136,7 @@ export default {
this.$refs.prizeGashaponRef.onStart() this.$refs.prizeGashaponRef.onStart()
}, },
endCallBack() { endCallBack() {
Bus.$emit('updateMain', { isLottering: false }) Bus.$emit('updateMain', { func: 'runEnd' })
setTimeout(() => {
Bus.$emit('updateMain', { isShowWin: true })
}, 400)
} }
} }
} }
......
...@@ -128,10 +128,7 @@ export default { ...@@ -128,10 +128,7 @@ export default {
this.$refs.prizeGashaponRef.onStart() this.$refs.prizeGashaponRef.onStart()
}, },
endCallBack() { endCallBack() {
Bus.$emit('updateMain', { isLottering: false }) Bus.$emit('updateMain', { func: 'runEnd' })
setTimeout(() => {
Bus.$emit('updateMain', { isShowWin: true })
}, 400)
} }
} }
} }
......
...@@ -141,10 +141,7 @@ export default { ...@@ -141,10 +141,7 @@ export default {
this.$refs.prizeGashaponRef.onStart() this.$refs.prizeGashaponRef.onStart()
}, },
endCallBack() { endCallBack() {
Bus.$emit('updateMain', { isLottering: false }) Bus.$emit('updateMain', { func: 'runEnd' })
setTimeout(() => {
Bus.$emit('updateMain', { isShowWin: true })
}, 400)
}, },
changeIsShowIntro() { changeIsShowIntro() {
Bus.$emit('updateMain', { isShowIntro: true }) Bus.$emit('updateMain', { isShowIntro: true })
......
...@@ -130,10 +130,7 @@ export default { ...@@ -130,10 +130,7 @@ export default {
this.$refs.prizeGashaponRef.onStart() this.$refs.prizeGashaponRef.onStart()
}, },
endCallBack() { endCallBack() {
Bus.$emit('updateMain', { isLottering: false }) Bus.$emit('updateMain', { func: 'runEnd' })
setTimeout(() => {
Bus.$emit('updateMain', { isShowWin: true })
}, 400)
}, },
changeIsShowIntro() { changeIsShowIntro() {
Bus.$emit('updateMain', { isShowIntro: true }) Bus.$emit('updateMain', { isShowIntro: true })
......
...@@ -141,10 +141,7 @@ export default { ...@@ -141,10 +141,7 @@ export default {
Bus.$emit('updateMain', { func: 'startLottery' }) Bus.$emit('updateMain', { func: 'startLottery' })
}, },
drawAnimation() { drawAnimation() {
Bus.$emit('updateMain', { isLottering: false }) Bus.$emit('updateMain', { func: 'runEnd' })
setTimeout(() => {
Bus.$emit('updateMain', { isShowWin: true })
}, 400)
} }
} }
} }
......
...@@ -141,10 +141,7 @@ export default { ...@@ -141,10 +141,7 @@ export default {
Bus.$emit('updateMain', { func: 'startLottery' }) Bus.$emit('updateMain', { func: 'startLottery' })
}, },
drawAnimation() { drawAnimation() {
Bus.$emit('updateMain', { isLottering: false }) Bus.$emit('updateMain', { func: 'runEnd' })
setTimeout(() => {
Bus.$emit('updateMain', { isShowWin: true })
}, 400)
} }
} }
} }
......
...@@ -146,10 +146,7 @@ export default { ...@@ -146,10 +146,7 @@ export default {
Bus.$emit('updateMain', { func: 'startLottery' }) Bus.$emit('updateMain', { func: 'startLottery' })
}, },
drawAnimation() { drawAnimation() {
Bus.$emit('updateMain', { isLottering: false }) Bus.$emit('updateMain', { func: 'runEnd' })
setTimeout(() => {
Bus.$emit('updateMain', { isShowWin: true })
}, 400)
}, },
changeIsShowIntro() { changeIsShowIntro() {
Bus.$emit('updateMain', { isShowIntro: true }) Bus.$emit('updateMain', { isShowIntro: true })
......
...@@ -146,10 +146,7 @@ export default { ...@@ -146,10 +146,7 @@ export default {
Bus.$emit('updateMain', { func: 'startLottery' }) Bus.$emit('updateMain', { func: 'startLottery' })
}, },
drawAnimation() { drawAnimation() {
Bus.$emit('updateMain', { isLottering: false }) Bus.$emit('updateMain', { func: 'runEnd' })
setTimeout(() => {
Bus.$emit('updateMain', { isShowWin: true })
}, 400)
}, },
changeIsShowIntro() { changeIsShowIntro() {
Bus.$emit('updateMain', { isShowIntro: true }) Bus.$emit('updateMain', { isShowIntro: true })
......
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