Commit 09330717 by 施嘉伟

合并分支 'dev' 到 'master'

Dev



查看合并请求 !27
parents ccfc44ab 156d625d
...@@ -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