@font-face {
font-family: 'iconfont'; /* project id 478465 */
src: url('//at.alicdn.com/t/font_478465_19pihv0dt1s5g66r.eot');
src: url('//at.alicdn.com/t/font_478465_19pihv0dt1s5g66r.eot?#iefix') format('embedded-opentype'),
url('//at.alicdn.com/t/font_478465_19pihv0dt1s5g66r.woff') format('woff'),
url('//at.alicdn.com/t/font_478465_19pihv0dt1s5g66r.ttf') format('truetype'),
url('//at.alicdn.com/t/font_478465_19pihv0dt1s5g66r.svg#iconfont') format('svg');
}
.iconfont {
font-family:"iconfont" !important;
font-size:16px;
font-style:normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
微信小程序我们web可以直接用这里要
.icon-edit:before { content: "\e67f 编辑"; }
<text class="iconfont icon-.icon-edit"></text>
http://www.iconfont.cn/