<body ontouchstart="" οnmοuseοver="">
<script>
function shield() {
return false;
}
document.body.addEventListener("touchstart", shield, false);
//取消浏览器的所有事件,使得active的样式在手机上正常生效
</script>
<body ontouchstart="" οnmοuseοver="">
<script>
function shield() {
return false;
}
document.body.addEventListener("touchstart", shield, false);
//取消浏览器的所有事件,使得active的样式在手机上正常生效
</script>
评论区