方法一:
1: 找到自己想要的图标库
2: 按 F12 打开控制台, 在 console 中输入
var iconList = document.querySelectorAll('.icon-gouwuche1'); for (var i = 0; i < iconList.length; i++) { iconList[i].click(); }
方法二:
$ NPM install iconfonts --save
来源: http://www.bubuko.com/infodetail-2950887.html