:active不兼容ios

方法1:
<script>
document.body.addEventListener('touchstart', function () {
},false);
</script>

方法2:

<body ontouchstart="" onmouseover="">
</body>
posted @ 2017-03-29 17:05  larennani  阅读(189)  评论(0编辑  收藏  举报