摘要: 这里用的方式是 通过 touchend 来判断。 <script type="text/javascript"> document.addEventListener('touchend', touchthis, false); var a = 0; function touchthis(event) 阅读全文
posted @ 2021-12-25 21:56 KLW75 阅读(182) 评论(0) 推荐(0)
摘要: 在h5页面中更改类名可以通过这么id来判断,可以这么写 document.getElementById('id名称').className = '修改的class名' 阅读全文
posted @ 2021-12-25 20:28 KLW75 阅读(234) 评论(0) 推荐(0)