feat: 更新iconfont

This commit is contained in:
2025-06-05 17:31:13 +08:00
parent a12107da40
commit 13a0afe97e
21 changed files with 2990 additions and 76 deletions
+49 -3
View File
@@ -54,6 +54,18 @@
<div class="content unicode" style="display: block;">
<ul class="icon_lists dib-box">
<li class="dib">
<span class="icon iconfont">&#xe600;</span>
<div class="name">translate2</div>
<div class="code-name">&amp;#xe600;</div>
</li>
<li class="dib">
<span class="icon iconfont">&#xe73c;</span>
<div class="name">translate</div>
<div class="code-name">&amp;#xe73c;</div>
</li>
<li class="dib">
<span class="icon iconfont">&#xe73b;</span>
<div class="name">error</div>
@@ -432,9 +444,9 @@
<pre><code class="language-css"
>@font-face {
font-family: 'iconfont';
src: url('iconfont.woff2?t=1715597123285') format('woff2'),
url('iconfont.woff?t=1715597123285') format('woff'),
url('iconfont.ttf?t=1715597123285') format('truetype');
src: url('iconfont.woff2?t=1749113785534') format('woff2'),
url('iconfont.woff?t=1749113785534') format('woff'),
url('iconfont.ttf?t=1749113785534') format('truetype');
}
</code></pre>
<h3 id="-iconfont-">第二步:定义使用 iconfont 的样式</h3>
@@ -460,6 +472,24 @@
<div class="content font-class">
<ul class="icon_lists dib-box">
<li class="dib">
<span class="icon iconfont icon-fanyi"></span>
<div class="name">
translate2
</div>
<div class="code-name">.icon-fanyi
</div>
</li>
<li class="dib">
<span class="icon iconfont icon-fanyi_translate"></span>
<div class="name">
translate
</div>
<div class="code-name">.icon-fanyi_translate
</div>
</li>
<li class="dib">
<span class="icon iconfont icon-error"></span>
<div class="name">
@@ -1027,6 +1057,22 @@
<div class="content symbol">
<ul class="icon_lists dib-box">
<li class="dib">
<svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#icon-fanyi"></use>
</svg>
<div class="name">translate2</div>
<div class="code-name">#icon-fanyi</div>
</li>
<li class="dib">
<svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#icon-fanyi_translate"></use>
</svg>
<div class="name">translate</div>
<div class="code-name">#icon-fanyi_translate</div>
</li>
<li class="dib">
<svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#icon-error"></use>
+11 -3
View File
@@ -1,8 +1,8 @@
@font-face {
font-family: "iconfont"; /* Project id 4489595 */
src: url('iconfont.woff2?t=1715597123285') format('woff2'),
url('iconfont.woff?t=1715597123285') format('woff'),
url('iconfont.ttf?t=1715597123285') format('truetype');
src: url('iconfont.woff2?t=1749113785534') format('woff2'),
url('iconfont.woff?t=1749113785534') format('woff'),
url('iconfont.ttf?t=1749113785534') format('truetype');
}
.iconfont {
@@ -13,6 +13,14 @@
-moz-osx-font-smoothing: grayscale;
}
.icon-fanyi:before {
content: "\e600";
}
.icon-fanyi_translate:before {
content: "\e73c";
}
.icon-error:before {
content: "\e73b";
}
File diff suppressed because one or more lines are too long
+14
View File
@@ -5,6 +5,20 @@
"css_prefix_text": "icon-",
"description": "",
"glyphs": [
{
"icon_id": "22779598",
"name": "translate2",
"font_class": "fanyi",
"unicode": "e600",
"unicode_decimal": 58880
},
{
"icon_id": "36857448",
"name": "translate",
"font_class": "fanyi_translate",
"unicode": "e73c",
"unicode_decimal": 59196
},
{
"icon_id": "15838473",
"name": "error",
-257
View File
@@ -1,257 +0,0 @@
/* 在线链接服务仅供平台体验和调试使用,平台不承诺服务的稳定性,企业客户需下载字体包自行发布使用并做好备份。 */
/* 在线链接服务仅供平台体验和调试使用,平台不承诺服务的稳定性,企业客户需下载字体包自行发布使用并做好备份。 */
@font-face {
font-family: "j-icon";
/* Project id 4489595 */
src: url('iconfont.woff2?t=1715597123285') format('woff2'),
url('iconfont.woff?t=1715597123285') format('woff'),
url('iconfont.ttf?t=1715597123285') format('truetype');
}
.j-icon {
font-family: 'j-icon' !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.j-icon-error:before {
content: '\e73b';
}
.j-icon-more:before {
content: '\e73a';
}
.j-icon-scan:before {
content: '\e738';
}
.j-icon-fire:before {
content: '\e739';
}
.j-icon-arrow-down-circle:before {
content: '\e731';
}
.j-icon-map:before {
content: '\e732';
}
.j-icon-map-fill:before {
content: '\e733';
}
.j-icon-help-circle:before {
content: '\e72f';
}
.j-icon-warn-circle:before {
content: '\e730';
}
.j-icon-backspace:before {
content: '\e72d';
}
.j-icon-backspace-fill:before {
content: '\e72c';
}
.j-icon-eye-close:before {
content: '\e72e';
}
.j-icon-upload:before {
content: '\e722';
}
.j-icon-eye-disable:before {
content: '\e726';
}
.j-icon-record:before {
content: '\e725';
}
.j-icon-icon-test3:before {
content: '\e724';
}
.j-icon-icon-test5:before {
content: '\e723';
}
.j-icon-icon-test9:before {
content: '\e721';
}
.j-icon-editor-fill:before {
content: '\e72b';
}
.j-icon-share:before {
content: '\e729';
}
.j-icon-share-fill:before {
content: '\e728';
}
.j-icon-editor:before {
content: '\e72a';
}
.j-icon-wechat:before {
content: '\e727';
}
.j-icon-telephone:before {
content: '\e71c';
}
.j-icon-user:before {
content: '\e71a';
}
.j-icon-add:before {
content: '\e700';
}
.j-icon-add-circle:before {
content: '\e710';
}
.j-icon-arrow-up-circle:before {
content: '\e720';
}
.j-icon-arrow-right-circle:before {
content: '\e71f';
}
.j-icon-arrow-down:before {
content: '\e702';
}
.j-icon-ashbin:before {
content: '\e71d';
}
.j-icon-arrow-right:before {
content: '\e703';
}
.j-icon-eye:before {
content: '\e719';
}
.j-icon-bottom:before {
content: '\e707';
}
.j-icon-arrow-left-circle:before {
content: '\e71e';
}
.j-icon-attachment:before {
content: '\e714';
}
.j-icon-code:before {
content: '\e717';
}
.j-icon-close:before {
content: '\e704';
}
.j-icon-complete:before {
content: '\e718';
}
.j-icon-download:before {
content: '\e716';
}
.j-icon-minus:before {
content: '\e701';
}
.j-icon-picture:before {
content: '\e712';
}
.j-icon-search:before {
content: '\e711';
}
.j-icon-select:before {
content: '\e705';
}
.j-icon-success:before {
content: '\e706';
}
.j-icon-add-bold:before {
content: '\e708';
}
.j-icon-arrow-left-bold:before {
content: '\e70f';
}
.j-icon-arrow-up-bold:before {
content: '\e70e';
}
.j-icon-close-bold:before {
content: '\e70d';
}
.j-icon-arrow-down-bold:before {
content: '\e70c';
}
.j-icon-minus-bold:before {
content: '\e709';
}
.j-icon-arrow-right-bold:before {
content: '\e70b';
}
.j-icon-select-bold:before {
content: '\e70a';
}
.j-icon-arrow-up-fill:before {
content: '\e737';
}
.j-icon-arrow-down-fill:before {
content: '\e736';
}
.j-icon-arrow-left-fill:before {
content: '\e735';
}
.j-icon-arrow-right-fill:before {
content: '\e734';
}
.j-icon-user-fill:before {
content: '\e71b';
}
.j-icon-success-filling:before {
content: '\e713';
}
.j-icon-top-filling:before {
content: '\e715';
}
Binary file not shown.
Binary file not shown.
Binary file not shown.