在Css中添加以下样式,应用到A标签中 .disableCss{ pointer-events:none; color:#afafaf; cursor:default } 转载于:https://www.cnblogs.com/houwenxuan/p/6805242.html