feat(Icon): add back-top icon (#6931)

This commit is contained in:
neverland
2020-08-03 21:26:23 +08:00
committed by GitHub
parent 26c754e2f6
commit 9e86cfbdd8
6 changed files with 12 additions and 6 deletions

View File

@@ -230,6 +230,7 @@ const map = {
F0E3: 'youzan-shield',
F0E4: 'enlarge',
F0E5: 'photo-fail',
F0E6: 'back-top',
};
const reversedMap = {};

View File

@@ -13,7 +13,7 @@
.van-icon {
position: relative;
display: inline-block;
font: normal normal normal 14px/1 "<%= fontName %>";
font: normal normal normal 14px/1 '<%= fontName %>';
font-size: inherit;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
@@ -24,7 +24,7 @@
}
<% _.each(glyphs, function(glyph) { %>.van-icon-<%= glyph.fileName %>::before {
content: "\<%= glyph.codePoint %>";
content: '\<%= glyph.codePoint %>';
}
<% }); %>