Commit 3ed5d064 authored by Facius's avatar Facius

improvement: 分数页提示遮罩2.5秒之后消失

parent 7b82f910
......@@ -51,7 +51,7 @@
<view class="bottom-view">
<u-button
:customStyle="buttonStyle"
@click="show = true"
@click="handleClick"
type="primary"
hover-class="hover-class"
>
......@@ -202,6 +202,12 @@ export default {
},
})
},
handleClick() {
this.show = true
setTimeout(() => {
this.show = false
}, 2500)
},
},
}
</script>
......
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 to comment