-webkit-user-select: none; /* Chrome/Safari/Opera */ 哪里需要禁止选中 css填以上代码即可 转载于:https://www.cnblogs.com/chenchenhao/p/10337692.html