[Improvement] Icon: add warn icon (#651)

This commit is contained in:
neverland 2018-02-27 10:22:28 +08:00 committed by GitHub
parent 1e10a65a18
commit bdeb4a8ae4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 22 additions and 15 deletions

View File

@ -229,6 +229,22 @@ module.exports = {
src: 'checked.svg',
css: 'checked'
},
{
src: 'warn.svg',
css: 'warn'
},
{
src: '清除搜索.svg',
css: 'clear'
},
{
src: 'underway.svg',
css: 'underway'
},
{
src: 'more.svg',
css: 'more'
},
{
src: '喜欢2.svg',
css: 'like'
@ -253,10 +269,6 @@ module.exports = {
src: '照片.svg',
css: 'photo'
},
{
src: '清除搜索.svg',
css: 'clear'
},
{
src: '微信支付.svg',
css: 'wechat'
@ -333,10 +345,6 @@ module.exports = {
src: '货到付款.svg',
css: 'cash-on-deliver'
},
{
src: 'underway.svg',
css: 'underway'
},
{
src: '电话.svg',
css: 'phone'
@ -372,10 +380,6 @@ module.exports = {
{
src: '热卖.svg',
css: 'hot-sale'
},
{
src: 'more.svg',
css: 'more'
}
]
};

View File

@ -2,5 +2,5 @@
font-style: normal;
font-weight: normal;
font-family: 'vant-icon';
src: url('./vant-icon-1a68df.ttf') format('truetype');
src: url('./vant-icon-4c3245.ttf') format('truetype');
}

View File

@ -4,7 +4,7 @@
font-style: normal;
font-weight: normal;
font-family: 'vant-icon';
src: url('https://b.yzcdn.cn/zanui/icon/vant-icon-1a68df.ttf') format('truetype');
src: url('https://b.yzcdn.cn/zanui/icon/vant-icon-4c3245.ttf') format('truetype');
}
.van-icon {
@ -315,6 +315,9 @@
.van-icon-wap-nav:before {
content: "\F05C";
}
.van-icon-wechat:before {
.van-icon-warn:before {
content: "\F05D";
}
.van-icon-wechat:before {
content: "\F05E";
}