微信小程序 -字体图标

1.先去阿里巴巴图标库(http://iconfont.cn)生成自己的字体图标,下载下来之后找到ttf格式文件

2.打开https://transfonter.org/,点击 Add Fonts 上传iconfont.ttf,选择Base64 encode --TTF 再点击Convert 

3.下载

4.找到stylesheet.css文件,将里边的代码复制到app.wxss中

5.stylesheet.css

@font-face {
	font-family: 'iconfont';
	src: url(data:font/truetype;charset=utf-8;base64,AAEAAAAQAQAABAAARkZUTX6SkokAACogAAAAHEdERUYAJwAWAAAqAAAAAB5PUy8yV0xcDAAAAYgAAABWY21hcIY0g+kAAAIUAAABmmN2dCANZf70AAAN4AAAACRmcGdtMPeelQAAA7AAAAmWZ2FzcAAAABAAACn4AAAACGdseWZfKfFVAAAOKAAAGLRoZWFkDaU9XwAAAQwAAAA2aGhlYQe+A4sAAAFEAAAAJGhtdHgfRAMjAAAB4AAAADJsb2NhLyQpFAAADgQAAAAibWF4cAHDAqUAAAFoAAAAIG5hbWXsU2pUAAAm3AAAAjpwb3N0LnuBowAAKRgAAADdcHJlcKW5vmYAAA1IAAAAlQABAAAAAQAANpjsI18PPPUAHwQAAAAAANU2/LEAAAAA1Tb8sQAk/4AD4AOAAAAACAACAAAAAAAAAAEAAAOA/4AAXAQBAAAAAAPgAAEAAAAAAAAAAAAAAAAAAAAJAAEAAAAQANYACwAAAAAAAgBIAFYAbAAAAPMBdwAAAAAAAQP+AfQABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAIABgMAAAAAAAAAAAABEAAAAAAAAAAAAAAAUGZFZABAAHjo+wOA/4AAXAOAAIAAAAABAAAAAAAABAAAAAAAAAABVQAAA+kALAQAAHsEAAA+BAAAQgQBAJEEAABdAK0AJADzAG8AQAB7ACUAAAAAAAMAAAADAAAAHAABAAAAAACUAAMAAQAAABwABAB4AAAAGgAQAAMACgAAAHjmFOYZ5izmSeZN5lnmauZ35n3o+///AAAAAAB45hPmGeYs5knmTeZZ5mnmd+Z96Pv//wAA/4sZ8RntGdsZvxm8GbEZohmWGZE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AB0AGYAYQB1AHQAbwBoAGkAbgB0ACAAKAB2ADAALgA5ADQAKQAgAC0AbAAgADgAIAAtAHIAIAA1ADAAIAAtAEcAIAAyADAAMAAgAC0AeAAgADEANAAgAC0AdwAgACIARwAiACAALQBmACAALQBzAABWZXJzaW9uIDEuMDsgdHRmYXV0b2hpbnQgKHYwLjk0KSAtbCA4IC1yIDUwIC1HIDIwMCAteCAxNCAtdyAiRyIgLWYgLXMAAGkAYwBvAG4AZgBvAG4AdAAAaWNvbmZvbnQAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAQACAFsBAgEDAQQBBQEGAQcBCAEJAQoBCwEMAQ0KeGl1Z2FpbWltYQxpY29uZm9udHdvZGUGeWlsdXJ1BWJ0bjAxFHF1ZXJlbm1pbWEtY29weS1jb3B5CXNodXJ1bWltYQp3ZWliaWFvdGkzDnNodXJ1c2hvdWppaGFvD3NodXJ1eWFuemhlbmdtYRZFbnRlcnByaXNlLWluZm9ybWF0aW9uCmdlcmVueGlueGkKeW9uZ2h1bWluZwAAAAABAAH//wAPAAEAAAAMAAAAFgAAAAIAAQABAA8AAQAEAAAAAgAAAAAAAAABAAAAANQkmSYAAAAA1Tb8sQAAAADVNvyx) format('truetype');
	font-weight: 500;
	font-style: normal;
}

6.将http://iconfont.cn中下载的iconfont.css中的.iconfont,.icon-XX:before复制到app.wxss中就可以了

7.在页面中使用

 <text class="iconfont icon-yonghuming"></text>

  

7.已在真机上测过,可以正常显示 

 

posted @ 2017-05-09 14:18  Vicky-Rong  阅读(1811)  评论(0编辑  收藏  举报