提交 35d98434 编写于 作者: Y yyt

倒计时界面布局bug解决

上级 bed02918
......@@ -164,13 +164,6 @@
"style": {
"navigationStyle": "custom"
}
}, {
"path": "pages/sport/countdown",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}, {
"path": "pages/post/message",
"style": {
......
......@@ -28,11 +28,13 @@
},
methods: {
change() {
Voice((this.digit).toString())
if(this.digit>0){
Voice((this.digit).toString())
}
this.digit--
if (this.digit == 0) {
this.go = true
Voice('Go')
Voice('Go!')
}
if (this.digit == -1) {
clearInterval(this.timer);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册