小程序使用iconfont

1、下载选好的字体文件


2、放入小程序目录下并将inconfont.css改名为iconfont.wxss


3、wxss文件引用iconfont.wxss


4、wxml中正常使用即可

效果为:

你可能感兴趣的:(小程序使用iconfont)