[new feature]: add new icons (#315)

This commit is contained in:
张敏 2017-11-15 02:10:19 -06:00 committed by GitHub
parent 4288bd5646
commit eaa70b021f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 13 deletions

View File

@ -61,6 +61,10 @@ module.exports = {
src: '添加.svg', src: '添加.svg',
css: 'add2' css: 'add2'
}, },
{
src: '加购.svg',
css: 'add-o'
},
{ {
src: '照片.svg', src: '照片.svg',
css: 'photo' css: 'photo'
@ -158,7 +162,7 @@ module.exports = {
css: 'other-pay' css: 'other-pay'
}, },
{ {
src: '购物车2.svg', src: '购物车1.svg',
css: 'shopping-cart' css: 'shopping-cart'
}, },
{ {

View File

@ -2,7 +2,7 @@
font-style: normal; font-style: normal;
font-weight: normal; font-weight: normal;
font-family: 'vant-icon'; font-family: 'vant-icon';
src: url('https://b.yzcdn.cn/zanui/icon/vant-icon-e115a13a.ttf') format('truetype'); src: url('https://b.yzcdn.cn/zanui/icon/vant-icon-ecf28a69.ttf') format('truetype');
} }
.van-icon { .van-icon {
@ -16,37 +16,37 @@
} }
} }
.van-icon-add:before { .van-icon-add-o:before {
content: "\E800"; content: "\E800";
} }
.van-icon-add2:before { .van-icon-add:before {
content: "\E801"; content: "\E801";
} }
.van-icon-after-sale:before { .van-icon-add2:before {
content: "\E802"; content: "\E802";
} }
.van-icon-alipay:before { .van-icon-after-sale:before {
content: "\E803"; content: "\E803";
} }
.van-icon-arrow:before { .van-icon-alipay:before {
content: "\E804"; content: "\E804";
} }
.van-icon-balance-details:before { .van-icon-arrow:before {
content: "\E805"; content: "\E805";
} }
.van-icon-balance-pay:before { .van-icon-balance-details:before {
content: "\E806"; content: "\E806";
} }
.van-icon-birthday-privilege:before { .van-icon-balance-pay:before {
content: "\E807"; content: "\E807";
} }
.van-icon-browsing-history:before { .van-icon-birthday-privilege:before {
content: "\E808"; content: "\E808";
} }
.van-icon-card:before { .van-icon-browsing-history:before {
content: "\E809"; content: "\E809";
} }
.van-icon-cart:before { .van-icon-card:before {
content: "\E80A"; content: "\E80A";
} }
.van-icon-cash-back-record:before { .van-icon-cash-back-record:before {