mirror of
https://github.com/youzan/vant.git
synced 2025-12-25 02:02:01 +08:00
feat(Icon): add back-top icon (#6931)
This commit is contained in:
@@ -230,6 +230,7 @@ const map = {
|
||||
F0E3: 'youzan-shield',
|
||||
F0E4: 'enlarge',
|
||||
F0E5: 'photo-fail',
|
||||
F0E6: 'back-top',
|
||||
};
|
||||
|
||||
const reversedMap = {};
|
||||
|
||||
@@ -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 %>';
|
||||
}
|
||||
|
||||
<% }); %>
|
||||
Reference in New Issue
Block a user