mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-13 12:43:43 +08:00
feat: import iconfont styles, change password function is ready
This commit is contained in:
31
web/src/assets/iconfont/iconfont.css
Normal file
31
web/src/assets/iconfont/iconfont.css
Normal file
@@ -0,0 +1,31 @@
|
||||
@font-face {
|
||||
font-family: "iconfont"; /* Project id 4125778 */
|
||||
src: url('iconfont.woff2?t=1686901862117') format('woff2'),
|
||||
url('iconfont.woff?t=1686901862117') format('woff'),
|
||||
url('iconfont.ttf?t=1686901862117') format('truetype');
|
||||
}
|
||||
|
||||
.iconfont {
|
||||
font-family: "iconfont" !important;
|
||||
font-size: 16px;
|
||||
font-style: normal;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.icon-password:before {
|
||||
content: "\e62a";
|
||||
}
|
||||
|
||||
.icon-send:before {
|
||||
content: "\e604";
|
||||
}
|
||||
|
||||
.icon-logout:before {
|
||||
content: "\e62e";
|
||||
}
|
||||
|
||||
.icon-github:before {
|
||||
content: "\e66f";
|
||||
}
|
||||
|
||||
1
web/src/assets/iconfont/iconfont.js
Normal file
1
web/src/assets/iconfont/iconfont.js
Normal file
File diff suppressed because one or more lines are too long
4
web/src/assets/iconfont/iconfont.js:Zone.Identifier
Normal file
4
web/src/assets/iconfont/iconfont.js:Zone.Identifier
Normal file
@@ -0,0 +1,4 @@
|
||||
[ZoneTransfer]
|
||||
ZoneId=3
|
||||
ReferrerUrl=https://www.iconfont.cn/manage/index?manage_type=myprojects&projectId=4125778
|
||||
HostUrl=https://www.iconfont.cn/api/project/download.zip?spm=a313x.7781069.1998910419.d7543c303&pid=4125778&ctoken=SHhMU2NkC6BavrZsXJmrL-LS
|
||||
37
web/src/assets/iconfont/iconfont.json
Normal file
37
web/src/assets/iconfont/iconfont.json
Normal file
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"id": "4125778",
|
||||
"name": "chatgpt",
|
||||
"font_family": "iconfont",
|
||||
"css_prefix_text": "icon-",
|
||||
"description": "",
|
||||
"glyphs": [
|
||||
{
|
||||
"icon_id": "611345",
|
||||
"name": "密码",
|
||||
"font_class": "password",
|
||||
"unicode": "e62a",
|
||||
"unicode_decimal": 58922
|
||||
},
|
||||
{
|
||||
"icon_id": "1418205",
|
||||
"name": "发送",
|
||||
"font_class": "send",
|
||||
"unicode": "e604",
|
||||
"unicode_decimal": 58884
|
||||
},
|
||||
{
|
||||
"icon_id": "1048893",
|
||||
"name": "注销",
|
||||
"font_class": "logout",
|
||||
"unicode": "e62e",
|
||||
"unicode_decimal": 58926
|
||||
},
|
||||
{
|
||||
"icon_id": "14401714",
|
||||
"name": "github",
|
||||
"font_class": "github",
|
||||
"unicode": "e66f",
|
||||
"unicode_decimal": 58991
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
web/src/assets/iconfont/iconfont.ttf
Normal file
BIN
web/src/assets/iconfont/iconfont.ttf
Normal file
Binary file not shown.
BIN
web/src/assets/iconfont/iconfont.woff
Normal file
BIN
web/src/assets/iconfont/iconfont.woff
Normal file
Binary file not shown.
BIN
web/src/assets/iconfont/iconfont.woff2
Normal file
BIN
web/src/assets/iconfont/iconfont.woff2
Normal file
Binary file not shown.
Reference in New Issue
Block a user