mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
icon
This commit is contained in:
parent
4626b1483f
commit
e3bc352263
@ -78,6 +78,7 @@ export default {
|
|||||||
<zan-icon name="clear"></zan-icon>
|
<zan-icon name="clear"></zan-icon>
|
||||||
<zan-icon name="success"></zan-icon>
|
<zan-icon name="success"></zan-icon>
|
||||||
<zan-icon name="fail"></zan-icon>
|
<zan-icon name="fail"></zan-icon>
|
||||||
|
<zan-icon name="contact"></zan-icon>
|
||||||
```
|
```
|
||||||
:::
|
:::
|
||||||
|
|
||||||
|
Binary file not shown.
@ -66,7 +66,8 @@ module.exports = {
|
|||||||
{
|
{
|
||||||
keywords: ['chat'],
|
keywords: ['chat'],
|
||||||
src: '客服.svg',
|
src: '客服.svg',
|
||||||
css: 'chat'
|
css: 'chat',
|
||||||
|
'correct_contour_direction': true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
keywords: ['shop'],
|
keywords: ['shop'],
|
||||||
@ -142,6 +143,11 @@ module.exports = {
|
|||||||
keywords: ['fail'],
|
keywords: ['fail'],
|
||||||
src: '失败.svg',
|
src: '失败.svg',
|
||||||
css: 'fail'
|
css: 'fail'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
keywords: ['contact'],
|
||||||
|
src: '联系人.svg',
|
||||||
|
css: 'contact'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'zan-icon';
|
font-family: 'zan-icon';
|
||||||
src: url('https://b.yzcdn.cn/zanui/icon/zanui-icon-c69ed306e0.eot');
|
src: url('https://b.yzcdn.cn/zanui/icon/zanui-icon-f9c0557ddc.eot');
|
||||||
src: url('https://b.yzcdn.cn/zanui/icon/zanui-icon-c69ed306e0.eot?#iefix') format('embedded-opentype'),
|
src: url('https://b.yzcdn.cn/zanui/icon/zanui-icon-f9c0557ddc.eot?#iefix') format('embedded-opentype'),
|
||||||
url('https://b.yzcdn.cn/zanui/icon/zanui-icon-c69ed306e0.woff2') format('woff2'),
|
url('https://b.yzcdn.cn/zanui/icon/zanui-icon-f9c0557ddc.woff2') format('woff2'),
|
||||||
url('https://b.yzcdn.cn/zanui/icon/zanui-icon-c69ed306e0.woff') format('woff'),
|
url('https://b.yzcdn.cn/zanui/icon/zanui-icon-f9c0557ddc.woff') format('woff'),
|
||||||
url('https://b.yzcdn.cn/zanui/icon/zanui-icon-c69ed306e0.ttf') format('truetype')
|
url('https://b.yzcdn.cn/zanui/icon/zanui-icon-f9c0557ddc.ttf') format('truetype')
|
||||||
}
|
}
|
||||||
|
|
||||||
.zan-icon {
|
.zan-icon {
|
||||||
@ -73,3 +73,4 @@
|
|||||||
.zan-icon-clear:before { content: '\e817'; } /* '' */
|
.zan-icon-clear:before { content: '\e817'; } /* '' */
|
||||||
.zan-icon-success:before { content: '\e818'; } /* '' */
|
.zan-icon-success:before { content: '\e818'; } /* '' */
|
||||||
.zan-icon-fail:before { content: '\e819'; } /* '' */
|
.zan-icon-fail:before { content: '\e819'; } /* '' */
|
||||||
|
.zan-icon-contact:before { content: '\e81a'; } /* '' */
|
Loading…
x
Reference in New Issue
Block a user