怎么给button添加音效?
发布于 6 年前 作者 songtao 12325 次浏览 来自 官方Issues

请问如何实现按住button播放一次音效,松开button再播放一次音效?

2 回复

bindtouchstart和bindtouchend可以

可以通过以下事件进行逻辑处理

https://developers.weixin.qq.com/miniprogram/dev/framework/view/wxml/event.html

若有帮助请帮忙点个"有用"谢谢↓↓

回到顶部