[bugfix] Icon template (#1091)

This commit is contained in:
neverland
2018-05-17 17:18:23 +08:00
committed by GitHub
parent 22cff2faec
commit e73e950662
7 changed files with 12 additions and 7 deletions

View File

@@ -16,10 +16,9 @@
&__info {
color: #fff;
left: 50%;
left: 100%;
top: -.5em;
font-size: .5em;
margin-left: .8em;
padding: 0 .3em;
text-align: center;
min-width: 1.2em;
@@ -28,6 +27,7 @@
border-radius: .6em;
box-sizing: border-box;
background-color: $red;
transform: translateX(-50%);
font-family: PingFang SC, Helvetica Neue, Arial, sans-serif;
}

View File

@@ -2,5 +2,5 @@
font-style: normal;
font-weight: normal;
font-family: 'vant-icon';
src: url('./vant-icon-03d6f2.ttf') format('truetype');
src: url('./vant-icon-254016.ttf') format('truetype');
}

View File

@@ -4,7 +4,7 @@
font-style: normal;
font-weight: normal;
font-family: 'vant-icon';
src: url('https://img.yzcdn.cn/zanui/icon/vant-icon-03d6f2.ttf') format('truetype');
src: url('https://img.yzcdn.cn/zanui/icon/vant-icon-254016.ttf') format('truetype');
}
.van-icon {