mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
feat(Icon): add delete-o、sort、font、font-o、revoke icon (#7760)
This commit is contained in:
parent
7a6e78fbf9
commit
7315b584d9
Binary file not shown.
@ -233,6 +233,11 @@ const map = {
|
||||
F0E6: 'back-top',
|
||||
F0E7: 'share-o',
|
||||
F0E8: 'minus',
|
||||
F0E9: 'delete-o',
|
||||
F0EA: 'sort',
|
||||
F0EB: 'font',
|
||||
F0EC: 'font-o',
|
||||
F0ED: 'revoke',
|
||||
};
|
||||
|
||||
const reversedMap = {};
|
||||
|
@ -10,6 +10,7 @@ module.exports = {
|
||||
'plus',
|
||||
'minus',
|
||||
'fail',
|
||||
'circle',
|
||||
],
|
||||
outline: [
|
||||
// has corresponding filled icon
|
||||
@ -79,6 +80,8 @@ module.exports = {
|
||||
'new-arrival-o',
|
||||
'goods-collect-o',
|
||||
'eye-o',
|
||||
'delete-o',
|
||||
'font-o',
|
||||
// without corresponding filled icon
|
||||
'balance-o',
|
||||
'refund-o',
|
||||
@ -109,12 +112,12 @@ module.exports = {
|
||||
'search',
|
||||
'points',
|
||||
'edit',
|
||||
'delete',
|
||||
'qr',
|
||||
'qr-invalid',
|
||||
'closed-eye',
|
||||
'down',
|
||||
'scan',
|
||||
'revoke',
|
||||
'free-postage',
|
||||
'certificate',
|
||||
'logistics',
|
||||
@ -124,7 +127,6 @@ module.exports = {
|
||||
'exchange',
|
||||
'upgrade',
|
||||
'ellipsis',
|
||||
'circle',
|
||||
'description',
|
||||
'records',
|
||||
'sign',
|
||||
@ -214,6 +216,8 @@ module.exports = {
|
||||
'new-arrival',
|
||||
'goods-collect',
|
||||
'eye',
|
||||
'delete',
|
||||
'font',
|
||||
// without corresponding outline icon
|
||||
'alipay',
|
||||
'wechat',
|
||||
@ -241,5 +245,6 @@ module.exports = {
|
||||
'wap-nav',
|
||||
'enlarge',
|
||||
'photo-fail',
|
||||
'sort',
|
||||
],
|
||||
};
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -5,9 +5,9 @@
|
||||
font-family: 'vant-icon';
|
||||
font-style: normal;
|
||||
font-display: auto;
|
||||
src: url('https://img.yzcdn.cn/vant/vant-icon-96970a.woff2') format('woff2'),
|
||||
url('https://img.yzcdn.cn/vant/vant-icon-96970a.woff') format('woff'),
|
||||
url('https://img.yzcdn.cn/vant/vant-icon-96970a.ttf') format('truetype');
|
||||
src: url('https://img.yzcdn.cn/vant/vant-icon-84f687.woff2') format('woff2'),
|
||||
url('https://img.yzcdn.cn/vant/vant-icon-84f687.woff') format('woff'),
|
||||
url('https://img.yzcdn.cn/vant/vant-icon-84f687.ttf') format('truetype');
|
||||
}
|
||||
|
||||
.van-icon {
|
||||
@ -299,6 +299,10 @@
|
||||
content: '\F043';
|
||||
}
|
||||
|
||||
.van-icon-delete-o::before {
|
||||
content: '\F0E9';
|
||||
}
|
||||
|
||||
.van-icon-delete::before {
|
||||
content: '\F044';
|
||||
}
|
||||
@ -403,6 +407,14 @@
|
||||
content: '\F05C';
|
||||
}
|
||||
|
||||
.van-icon-font-o::before {
|
||||
content: '\F0EC';
|
||||
}
|
||||
|
||||
.van-icon-font::before {
|
||||
content: '\F0EB';
|
||||
}
|
||||
|
||||
.van-icon-free-postage::before {
|
||||
content: '\F05D';
|
||||
}
|
||||
@ -735,6 +747,10 @@
|
||||
content: '\F0AD';
|
||||
}
|
||||
|
||||
.van-icon-revoke::before {
|
||||
content: '\F0ED';
|
||||
}
|
||||
|
||||
.van-icon-scan::before {
|
||||
content: '\F0AE';
|
||||
}
|
||||
@ -823,6 +839,10 @@
|
||||
content: '\F0C2';
|
||||
}
|
||||
|
||||
.van-icon-sort::before {
|
||||
content: '\F0EA';
|
||||
}
|
||||
|
||||
.van-icon-star-o::before {
|
||||
content: '\F0C3';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user