假如移动端的一块p通过绑定touch事件(touchstart touchmove touchend)想要实现: 1,点击p的时候,弹出一层遮罩层, 显示信息。2,按住该p,可以托拽。我不知道表述的是否清晰,其实我就是想知道怎么通过touchstart touchmove touchend这三个事件判断用户是点击了p还是按住了p从而响应遮罩信息或者托拽。谢谢!!
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
学习是最好的投资!