提交 85787898 编写于 作者: 赵十四's avatar 赵十四

优化细节

上级 d340cfde
......@@ -16,7 +16,7 @@
"type" : "uniCloud"
},
{
"playground" : "custom",
"playground" : "standard",
"type" : "uni-app:app-android"
}
]
......
......@@ -3,11 +3,6 @@
"^u-(.*)": "@/uni_modules/uview-ui/components/u-$1/u-$1.vue"
},
"pages": [{
"path": "pages/sport/main",
"style": {
"navigationStyle": "custom"
}
}, {
"path": "pages/login/login",
"style": {
"navigationStyle": "custom"
......@@ -69,6 +64,11 @@
}]
}
}
}, {
"path": "pages/sport/main",
"style": {
"navigationStyle": "custom"
}
}, {
"path": "pages/sport/ranking",
"style": {
......
......@@ -14,6 +14,7 @@
export default {
onLoad(option) {
this.type = option.type
Voice((this.digit).toString());
this.timer = setInterval(() => {
this.change()
}, 1000)
......@@ -28,10 +29,11 @@
},
methods: {
change() {
this.digit--
if(this.digit>0){
Voice((this.digit).toString())
}
this.digit--
if (this.digit == 0) {
this.go = true
Voice('Go!')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册