diff --git a/src/components/icon-font/iconfont/iconfont.css b/src/components/icon-font/iconfont/iconfont.css index 695fe840..494a0708 100644 --- a/src/components/icon-font/iconfont/iconfont.css +++ b/src/components/icon-font/iconfont/iconfont.css @@ -1,9 +1,9 @@ @font-face { font-family: iconfont; /* Project id 4613488 */ src: - url('iconfont.woff2?t=1734062014514') format('woff2'), - url('iconfont.woff?t=1734062014514') format('woff'), - url('iconfont.ttf?t=1734062014514') format('truetype'); + url('iconfont.woff2?t=1737340346059') format('woff2'), + url('iconfont.woff?t=1737340346059') format('woff'), + url('iconfont.ttf?t=1737340346059') format('truetype'); } .iconfont { @@ -14,6 +14,86 @@ -moz-osx-font-smoothing: grayscale; } +.icon-SelectionInverse::before { + content: '\eace'; +} + +.icon-justice1::before { + content: '\e652'; +} + +.icon-New_img::before { + content: '\e733'; +} + +.icon-new_release_outlined::before { + content: '\e66c'; +} + +.icon-new-releases::before { + content: '\e60f'; +} + +.icon-catalog::before { + content: '\e62b'; +} + +.icon-save2::before { + content: '\e635'; +} + +.icon-left-template::before { + content: '\e62a'; +} + +.icon-logs::before { + content: '\e6ec'; +} + +.icon-gpu::before { + content: '\e71e'; +} + +.icon-filled-gpu::before { + content: '\e6de'; +} + +.icon-outline-gpu::before { + content: '\e641'; +} + +.icon-ts-tubiao_webserver::before { + content: '\e716'; +} + +.icon-server::before { + content: '\e66a'; +} + +.icon-host::before { + content: '\e7c6'; +} + +.icon-playcircle::before { + content: '\e80f'; +} + +.icon-recreate::before { + content: '\e6a5'; +} + +.icon-save1::before { + content: '\e647'; +} + +.icon-save::before { + content: '\e67c'; +} + +.icon-upload_image::before { + content: '\e613'; +} + .icon-sound-wave::before { content: '\e619'; } diff --git a/src/components/icon-font/iconfont/iconfont.js b/src/components/icon-font/iconfont/iconfont.js index 50a1806f..3c878548 100644 --- a/src/components/icon-font/iconfont/iconfont.js +++ b/src/components/icon-font/iconfont/iconfont.js @@ -1,5 +1,5 @@ (window._iconfont_svg_string_4613488 = - ''), + ''), ((h) => { var a = (l = (l = document.getElementsByTagName('script'))[ l.length - 1 @@ -8,8 +8,8 @@ if (!l) { var c, z, - t, v, + t, i, m = function (a, l) { l.parentNode.insertBefore(a, l); @@ -47,21 +47,21 @@ }), document.addEventListener('DOMContentLoaded', z, !1)) : document.attachEvent && - ((t = c), - (v = h.document), + ((v = c), + (t = h.document), (i = !1), p(), - (v.onreadystatechange = function () { - 'complete' == v.readyState && - ((v.onreadystatechange = null), o()); + (t.onreadystatechange = function () { + 'complete' == t.readyState && + ((t.onreadystatechange = null), o()); })); } function o() { - i || ((i = !0), t()); + i || ((i = !0), v()); } function p() { try { - v.documentElement.doScroll('left'); + t.documentElement.doScroll('left'); } catch (a) { return void setTimeout(p, 50); } diff --git a/src/components/icon-font/iconfont/iconfont.json b/src/components/icon-font/iconfont/iconfont.json index 161cfc01..f214cb71 100644 --- a/src/components/icon-font/iconfont/iconfont.json +++ b/src/components/icon-font/iconfont/iconfont.json @@ -5,6 +5,146 @@ "css_prefix_text": "icon-", "description": "", "glyphs": [ + { + "icon_id": "27116743", + "name": "SelectionInverse", + "font_class": "SelectionInverse", + "unicode": "eace", + "unicode_decimal": 60110 + }, + { + "icon_id": "43035036", + "name": "justice", + "font_class": "justice1", + "unicode": "e652", + "unicode_decimal": 58962 + }, + { + "icon_id": "1740853", + "name": "New_img", + "font_class": "New_img", + "unicode": "e733", + "unicode_decimal": 59187 + }, + { + "icon_id": "9745732", + "name": "new_release_outlined", + "font_class": "new_release_outlined", + "unicode": "e66c", + "unicode_decimal": 58988 + }, + { + "icon_id": "40667024", + "name": "new-releases", + "font_class": "new-releases", + "unicode": "e60f", + "unicode_decimal": 58895 + }, + { + "icon_id": "41920256", + "name": "catalog", + "font_class": "catalog", + "unicode": "e62b", + "unicode_decimal": 58923 + }, + { + "icon_id": "13851416", + "name": "save", + "font_class": "save2", + "unicode": "e635", + "unicode_decimal": 58933 + }, + { + "icon_id": "3238366", + "name": "模板", + "font_class": "left-template", + "unicode": "e62a", + "unicode_decimal": 58922 + }, + { + "icon_id": "26746089", + "name": "logs", + "font_class": "logs", + "unicode": "e6ec", + "unicode_decimal": 59116 + }, + { + "icon_id": "1132892", + "name": "gpu", + "font_class": "gpu", + "unicode": "e71e", + "unicode_decimal": 59166 + }, + { + "icon_id": "38418656", + "name": "GPUxCPU", + "font_class": "filled-gpu", + "unicode": "e6de", + "unicode_decimal": 59102 + }, + { + "icon_id": "7556336", + "name": "gpu", + "font_class": "outline-gpu", + "unicode": "e641", + "unicode_decimal": 58945 + }, + { + "icon_id": "8040181", + "name": "webserver", + "font_class": "ts-tubiao_webserver", + "unicode": "e716", + "unicode_decimal": 59158 + }, + { + "icon_id": "6587064", + "name": "server", + "font_class": "server", + "unicode": "e66a", + "unicode_decimal": 58986 + }, + { + "icon_id": "40493325", + "name": "host", + "font_class": "host", + "unicode": "e7c6", + "unicode_decimal": 59334 + }, + { + "icon_id": "6151262", + "name": "play circle", + "font_class": "playcircle", + "unicode": "e80f", + "unicode_decimal": 59407 + }, + { + "icon_id": "25197526", + "name": "recreate", + "font_class": "recreate", + "unicode": "e6a5", + "unicode_decimal": 59045 + }, + { + "icon_id": "12689724", + "name": "save", + "font_class": "save1", + "unicode": "e647", + "unicode_decimal": 58951 + }, + { + "icon_id": "15838524", + "name": "save", + "font_class": "save", + "unicode": "e67c", + "unicode_decimal": 59004 + }, + { + "icon_id": "8782480", + "name": "upload_image", + "font_class": "upload_image", + "unicode": "e613", + "unicode_decimal": 58899 + }, { "icon_id": "14464883", "name": "sound-wave", diff --git a/src/components/icon-font/iconfont/iconfont.ttf b/src/components/icon-font/iconfont/iconfont.ttf index a01ab979..c80e7bb2 100644 Binary files a/src/components/icon-font/iconfont/iconfont.ttf and b/src/components/icon-font/iconfont/iconfont.ttf differ diff --git a/src/components/icon-font/iconfont/iconfont.woff b/src/components/icon-font/iconfont/iconfont.woff index bd7007f4..079613ec 100644 Binary files a/src/components/icon-font/iconfont/iconfont.woff and b/src/components/icon-font/iconfont/iconfont.woff differ diff --git a/src/components/icon-font/iconfont/iconfont.woff2 b/src/components/icon-font/iconfont/iconfont.woff2 index 12a04fbf..10dfa0dc 100644 Binary files a/src/components/icon-font/iconfont/iconfont.woff2 and b/src/components/icon-font/iconfont/iconfont.woff2 differ diff --git a/src/components/icon-font/index.tsx b/src/components/icon-font/index.tsx index a1fd9df8..2c4fbc7b 100644 --- a/src/components/icon-font/index.tsx +++ b/src/components/icon-font/index.tsx @@ -1,8 +1,8 @@ import { createFromIconfontCN } from '@ant-design/icons'; -// import './iconfont/iconfont.js'; +import './iconfont/iconfont.js'; const IconFont = createFromIconfontCN({ - scriptUrl: '//at.alicdn.com/t/c/font_4613488_6x6w1c4c2c.js' + scriptUrl: '' }); export default IconFont;