方法一:
cursor: not-allowed; document.getElementById('id').style.cursor="not-allowed";
方法二:
pointer-events:none;