[Improvement] Support local font file (#408)

This commit is contained in:
neverland
2017-12-11 15:38:01 +08:00
committed by GitHub
parent 92d513d2eb
commit 6b7740b742
8 changed files with 71 additions and 17 deletions

View File

@@ -0,0 +1,6 @@
@font-face {
font-style: normal;
font-weight: normal;
font-family: 'vant-icon';
src: url('./vant-icon-82e489.ttf') format('truetype');
}

View File

@@ -2,7 +2,7 @@
font-style: normal;
font-weight: normal;
font-family: 'vant-icon';
src: url('https://b.yzcdn.cn/zanui/icon/vant-icon-b95631de.ttf') format('truetype');
src: url('https://b.yzcdn.cn/zanui/icon/vant-icon-82e489.ttf') format('truetype');
}
.van-icon {

Binary file not shown.