css代码
* {
margin: 0;
padding: 0;
outline: none;
text-decoration: none;
-webkit-user-select: none;
-webkit-appearance: none;
-webkit-tap-highlight-color: transparent;
}
js代码
document.onmousedown = function (e) {
e = e || event;
e.preventDefault();
};