feat(Icon): add share-o icon

This commit is contained in:
chenjiahan 2020-09-03 14:07:53 +08:00
parent 96887e0b24
commit ea6324234b
5 changed files with 11 additions and 5 deletions

View File

@ -231,6 +231,7 @@ const map = {
F0E4: 'enlarge', F0E4: 'enlarge',
F0E5: 'photo-fail', F0E5: 'photo-fail',
F0E6: 'back-top', F0E6: 'back-top',
F0E7: 'share-o',
}; };
const reversedMap = {}; const reversedMap = {};

View File

@ -54,6 +54,7 @@ module.exports = {
'video-o', 'video-o',
'shop-o', 'shop-o',
'shop-collect-o', 'shop-collect-o',
'share-o',
'chat-o', 'chat-o',
'smile-comment-o', 'smile-comment-o',
'vip-card-o', 'vip-card-o',
@ -188,6 +189,7 @@ module.exports = {
'video', 'video',
'shop', 'shop',
'shop-collect', 'shop-collect',
'share',
'chat', 'chat',
'smile-comment', 'smile-comment',
'vip-card', 'vip-card',
@ -212,7 +214,6 @@ module.exports = {
'goods-collect', 'goods-collect',
'eye', 'eye',
// without corresponding outline icon // without corresponding outline icon
'share',
'alipay', 'alipay',
'wechat', 'wechat',
'photograph', 'photograph',

File diff suppressed because one or more lines are too long

View File

@ -5,9 +5,9 @@
font-family: 'vant-icon'; font-family: 'vant-icon';
font-style: normal; font-style: normal;
font-display: auto; font-display: auto;
src: url('https://img.yzcdn.cn/vant/vant-icon-eeb192.woff2') format('woff2'), src: url('https://img.yzcdn.cn/vant/vant-icon-ae8bba.woff2') format('woff2'),
url('https://img.yzcdn.cn/vant/vant-icon-eeb192.woff') format('woff'), url('https://img.yzcdn.cn/vant/vant-icon-ae8bba.woff') format('woff'),
url('https://img.yzcdn.cn/vant/vant-icon-eeb192.ttf') format('truetype'); url('https://img.yzcdn.cn/vant/vant-icon-ae8bba.ttf') format('truetype');
} }
.van-icon { .van-icon {
@ -763,6 +763,10 @@
content: '\F0B5'; content: '\F0B5';
} }
.van-icon-share-o::before {
content: '\F0E7';
}
.van-icon-share::before { .van-icon-share::before {
content: '\F0B6'; content: '\F0B6';
} }