diff --git a/chat2db-client/.umirc.ts b/chat2db-client/.umirc.ts index ee096af5f..5e331ae96 100644 --- a/chat2db-client/.umirc.ts +++ b/chat2db-client/.umirc.ts @@ -79,9 +79,9 @@ export default defineConfig({ // }], links: [{ rel: 'icon', type: 'image/ico', sizes: '32x32', href: '/static/front/logo.ico' }], headScripts: [ - `if (localStorage.getItem('app-local-storage-versions') !== 'v3') { + `if (localStorage.getItem('app-local-storage-versions') !== 'v4') { localStorage.clear(); - localStorage.setItem('app-local-storage-versions', 'v3'); + localStorage.setItem('app-local-storage-versions', 'v4'); }`, `if (window.electronApi) { window.electronApi.startServerForSpawn() }`, // `if ("serviceWorker" in navigator) { diff --git a/chat2db-client/src/assets/font/demo_index.html b/chat2db-client/src/assets/font/demo_index.html index 5b0025b30..2fc44bb84 100644 --- a/chat2db-client/src/assets/font/demo_index.html +++ b/chat2db-client/src/assets/font/demo_index.html @@ -54,6 +54,24 @@
@font-face@font-face {
font-family: 'iconfont';
- src: url('iconfont.woff2?t=1700381336886') format('woff2'),
- url('iconfont.woff?t=1700381336886') format('woff'),
- url('iconfont.ttf?t=1700381336886') format('truetype');
+ src: url('iconfont.woff2?t=1702019801419') format('woff2'),
+ url('iconfont.woff?t=1702019801419') format('woff'),
+ url('iconfont.ttf?t=1702019801419') format('truetype');
}
第二步:定义使用 iconfont 的样式
@@ -1264,6 +1258,33 @@ 第三步:挑选相应图标并获取字体编码,应用于页面
+ -
+
+
+ 加号
+
+ .icon-jiahao
+
+
+
+ -
+
+
+ 列表
+
+ .icon-liebiao
+
+
+
+ -
+
+
+ 减去
+
+ .icon-jianqu
+
+
+
-
@@ -1345,42 +1366,6 @@
第三步:挑选相应图标并获取字体编码,应用于页面
- -
-
-
- 电话_填充
-
- .icon-dianhuatianchong
-
-
-
- -
-
-
- 邮箱
-
- .icon-youxiang
-
-
-
- -
-
-
- 微信
-
- .icon-weixin
-
-
-
- -
-
-
- 谷歌
-
- .icon-google
-
-
-
-
@@ -3037,6 +3022,30 @@
第二步:挑选相应图标并获取类名,应用于页面:
+ -
+
+ 加号
+ #icon-jiahao
+
+
+ -
+
+ 列表
+ #icon-liebiao
+
+
+ -
+
+ 减去
+ #icon-jianqu
+
+
-
- -
-
- 电话_填充
- #icon-dianhuatianchong
-
-
- -
-
- 邮箱
- #icon-youxiang
-
-
- -
-
- 微信
- #icon-weixin
-
-
- -
-
- 谷歌
- #icon-google
-
-
-