微信中禁止长按复制的代码 body{ -moz-user-select:none;-webkit-user-select:none; } 或者 js代码 onselectstart="return false;"