diff --git a/assets/icons/icons.sketch b/assets/icons/icons.sketch index 5b623ab1..124be41e 100644 Binary files a/assets/icons/icons.sketch and b/assets/icons/icons.sketch differ diff --git a/example/pages/icon/index.js b/example/pages/icon/index.js index d31d89f5..1b2a2e4d 100644 --- a/example/pages/icon/index.js +++ b/example/pages/icon/index.js @@ -82,7 +82,14 @@ Page({ 'tosend', 'sign', 'home', - 'phone' + 'phone', + 'play', + 'pause', + 'stop', + 'hot', + 'new', + 'new-arrival', + 'hot-sale' ] } }); diff --git a/packages/icon/index.pcss b/packages/icon/index.pcss index 5b0731b5..0946a918 100644 --- a/packages/icon/index.pcss +++ b/packages/icon/index.pcss @@ -2,11 +2,11 @@ @font-face { font-family: 'zanui-weapp-icon'; - src: url('https://b.yzcdn.cn/zanui-weapp/zanui-weapp-icon-2e235d42a2.eot'); - src: url('https://b.yzcdn.cn/zanui-weapp/zanui-weapp-icon-2e235d42a2.eot?#iefix') format('embedded-opentype'), - url('https://b.yzcdn.cn/zanui-weapp/zanui-weapp-icon-2e235d42a2.woff2') format('woff2'), - url('https://b.yzcdn.cn/zanui-weapp/zanui-weapp-icon-2e235d42a2.woff') format('woff'), - url('https://b.yzcdn.cn/zanui-weapp/zanui-weapp-icon-2e235d42a2.ttf') format('truetype') + src: url('https://b.yzcdn.cn/zanui-weapp/zanui-weapp-icon-17821bc26b.eot'); + src: url('https://b.yzcdn.cn/zanui-weapp/zanui-weapp-icon-17821bc26b.eot?#iefix') format('embedded-opentype'), + url('https://b.yzcdn.cn/zanui-weapp/zanui-weapp-icon-17821bc26b.woff2') format('woff2'), + url('https://b.yzcdn.cn/zanui-weapp/zanui-weapp-icon-17821bc26b.woff') format('woff'), + url('https://b.yzcdn.cn/zanui-weapp/zanui-weapp-icon-17821bc26b.ttf') format('truetype') } .zan-icon { @@ -127,4 +127,11 @@ .zan-icon-sign:before { content: '\e84e'; } /* '' */ .zan-icon-home:before { content: '\e84f'; } /* '' */ .zan-icon-phone:before { content: '\e850'; } /* '' */ -.zan-icon-add-o:before { content: '\e851'; } /* '' */ \ No newline at end of file +.zan-icon-add-o:before { content: '\e851'; } /* '' */ +.zan-icon-play:before { content: '\e852'; } /* '' */ +.zan-icon-pause:before { content: '\e853'; } /* '' */ +.zan-icon-stop:before { content: '\e854'; } /* '' */ +.zan-icon-hot:before { content: '\e855'; } /* '' */ +.zan-icon-new:before { content: '\e856'; } /* '' */ +.zan-icon-new-arrival:before { content: '\e857'; } /* '' */ +.zan-icon-hot-sale:before { content: '\e858'; } /* '' */ \ No newline at end of file diff --git a/scripts/icons/fount-config.js b/scripts/icons/fount-config.js index ee8e608d..78e1bc7b 100644 --- a/scripts/icons/fount-config.js +++ b/scripts/icons/fount-config.js @@ -428,6 +428,34 @@ module.exports = { keywords: ['buy', 'add'], src: '加购.svg', css: 'add-o' + }, + { + src: '播放.svg', + css: 'play' + }, + { + src: '暂停.svg', + css: 'pause' + }, + { + src: '停止.svg', + css: 'stop' + }, + { + src: 'HOT.svg', + css: 'hot' + }, + { + src: 'NEW.svg', + css: 'new' + }, + { + src: '新品.svg', + css: 'new-arrival' + }, + { + src: '热卖.svg', + css: 'hot-sale' } ] };