Merge pull request 'add icon' (#106) from lyc-dev into main
This commit is contained in:
commit
50aff2f158
|
@ -1,8 +1,8 @@
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: "iconfont"; /* Project id 4723712 */
|
font-family: "iconfont"; /* Project id 4723712 */
|
||||||
src: url('iconfont.woff2?t=1732240267757') format('woff2'),
|
src: url('iconfont.woff2?t=1733880548695') format('woff2'),
|
||||||
url('iconfont.woff?t=1732240267757') format('woff'),
|
url('iconfont.woff?t=1733880548695') format('woff'),
|
||||||
url('iconfont.ttf?t=1732240267757') format('truetype');
|
url('iconfont.ttf?t=1733880548695') format('truetype');
|
||||||
}
|
}
|
||||||
|
|
||||||
.iconfont {
|
.iconfont {
|
||||||
|
@ -13,6 +13,26 @@
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.icon-yuyin:before {
|
||||||
|
content: "\e648";
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon-dianying:before {
|
||||||
|
content: "\e693";
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon-jiqirenfushi:before {
|
||||||
|
content: "\e624";
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon-xiangmuicon_maobishufa:before {
|
||||||
|
content: "\e651";
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon-meishu-F:before {
|
||||||
|
content: "\e638";
|
||||||
|
}
|
||||||
|
|
||||||
.icon-shangchuan:before {
|
.icon-shangchuan:before {
|
||||||
content: "\e61b";
|
content: "\e61b";
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -5,6 +5,41 @@
|
||||||
"css_prefix_text": "icon-",
|
"css_prefix_text": "icon-",
|
||||||
"description": "",
|
"description": "",
|
||||||
"glyphs": [
|
"glyphs": [
|
||||||
|
{
|
||||||
|
"icon_id": "6338162",
|
||||||
|
"name": "语音生成",
|
||||||
|
"font_class": "yuyin",
|
||||||
|
"unicode": "e648",
|
||||||
|
"unicode_decimal": 58952
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"icon_id": "6880941",
|
||||||
|
"name": "视频生成",
|
||||||
|
"font_class": "dianying",
|
||||||
|
"unicode": "e693",
|
||||||
|
"unicode_decimal": 59027
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"icon_id": "11532042",
|
||||||
|
"name": "数字人生成",
|
||||||
|
"font_class": "jiqirenfushi",
|
||||||
|
"unicode": "e624",
|
||||||
|
"unicode_decimal": 58916
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"icon_id": "13522843",
|
||||||
|
"name": "文生图片",
|
||||||
|
"font_class": "xiangmuicon_maobishufa",
|
||||||
|
"unicode": "e651",
|
||||||
|
"unicode_decimal": 58961
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"icon_id": "37635062",
|
||||||
|
"name": "文生连环画",
|
||||||
|
"font_class": "meishu-F",
|
||||||
|
"unicode": "e638",
|
||||||
|
"unicode_decimal": 58936
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"icon_id": "4942656",
|
"icon_id": "4942656",
|
||||||
"name": "上传",
|
"name": "上传",
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -36,6 +36,11 @@ const getFileTypeIcon = () => {
|
||||||
rar: 'icon-rar',
|
rar: 'icon-rar',
|
||||||
apt: 'icon-A',
|
apt: 'icon-A',
|
||||||
aippt: 'icon-A',
|
aippt: 'icon-A',
|
||||||
|
aiyuyin: 'icon-yuyin', // 语音生成
|
||||||
|
aivideo: 'icon-dianying', // 视频生成
|
||||||
|
airobot: 'icon-jiqirenfushi', // 数字人生成
|
||||||
|
aiimg: 'icon-xiangmuicon_maobishufa', // 文生图片
|
||||||
|
aidraw: 'icon-meishu-F', // 文生连环画
|
||||||
}
|
}
|
||||||
if (iconObj[name]) {
|
if (iconObj[name]) {
|
||||||
return '#' + iconObj[name]
|
return '#' + iconObj[name]
|
||||||
|
|
Loading…
Reference in New Issue