[add] 添加自定义图标
This commit is contained in:
@@ -14,6 +14,8 @@ import moment from 'moment'
|
||||
import 'moment/locale/zh-cn'
|
||||
// 水印功能
|
||||
import '@/utils/warterMark'
|
||||
// 引入自定义icon
|
||||
import '@/assets/icon/iconfont.less'
|
||||
|
||||
moment.locale('zh-cn')
|
||||
|
||||
|
||||
@@ -0,0 +1,71 @@
|
||||
@font-face {
|
||||
font-family: "iconfont"; /* Project id 4236293 */
|
||||
src: url('iconfont.woff2?t=1693807596400') format('woff2'),
|
||||
url('iconfont.woff?t=1693807596400') format('woff'),
|
||||
url('iconfont.ttf?t=1693807596400') format('truetype');
|
||||
}
|
||||
|
||||
.iconfont {
|
||||
font-family: "iconfont" !important;
|
||||
font-size: 16px;
|
||||
font-style: normal;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.icon-chexiao:before {
|
||||
content: "\e619";
|
||||
}
|
||||
|
||||
.icon-star:before {
|
||||
content: "\e6ae";
|
||||
}
|
||||
|
||||
.icon-water-drop-slash:before {
|
||||
content: "\e846";
|
||||
}
|
||||
|
||||
.icon-star1:before {
|
||||
content: "\e640";
|
||||
}
|
||||
|
||||
.icon-jiedian:before {
|
||||
content: "\e629";
|
||||
}
|
||||
|
||||
.icon-user:before {
|
||||
content: "\e645";
|
||||
}
|
||||
|
||||
.icon-bianji:before {
|
||||
content: "\e611";
|
||||
}
|
||||
|
||||
.icon-shanchu_:before {
|
||||
content: "\e614";
|
||||
}
|
||||
|
||||
.icon-chat:before {
|
||||
content: "\e635";
|
||||
}
|
||||
|
||||
.icon-edit-1:before {
|
||||
content: "\e605";
|
||||
}
|
||||
|
||||
.icon-fangxingfenxiang:before {
|
||||
content: "\e85d";
|
||||
}
|
||||
|
||||
.icon-chart-pie:before {
|
||||
content: "\e65c";
|
||||
}
|
||||
|
||||
.icon-root-list:before {
|
||||
content: "\e667";
|
||||
}
|
||||
|
||||
.icon-save:before {
|
||||
content: "\e625";
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,107 @@
|
||||
{
|
||||
"id": "4236293",
|
||||
"name": "laws_sinotruk",
|
||||
"font_family": "iconfont",
|
||||
"css_prefix_text": "icon-",
|
||||
"description": "",
|
||||
"glyphs": [
|
||||
{
|
||||
"icon_id": "755531",
|
||||
"name": "撤销",
|
||||
"font_class": "chexiao",
|
||||
"unicode": "e619",
|
||||
"unicode_decimal": 58905
|
||||
},
|
||||
{
|
||||
"icon_id": "1251444",
|
||||
"name": "star",
|
||||
"font_class": "star",
|
||||
"unicode": "e6ae",
|
||||
"unicode_decimal": 59054
|
||||
},
|
||||
{
|
||||
"icon_id": "8953349",
|
||||
"name": "water-drop-slash",
|
||||
"font_class": "water-drop-slash",
|
||||
"unicode": "e846",
|
||||
"unicode_decimal": 59462
|
||||
},
|
||||
{
|
||||
"icon_id": "10166370",
|
||||
"name": "star",
|
||||
"font_class": "star1",
|
||||
"unicode": "e640",
|
||||
"unicode_decimal": 58944
|
||||
},
|
||||
{
|
||||
"icon_id": "10936714",
|
||||
"name": "节点",
|
||||
"font_class": "jiedian",
|
||||
"unicode": "e629",
|
||||
"unicode_decimal": 58921
|
||||
},
|
||||
{
|
||||
"icon_id": "13851484",
|
||||
"name": "user",
|
||||
"font_class": "user",
|
||||
"unicode": "e645",
|
||||
"unicode_decimal": 58949
|
||||
},
|
||||
{
|
||||
"icon_id": "22808337",
|
||||
"name": "bianji",
|
||||
"font_class": "bianji",
|
||||
"unicode": "e611",
|
||||
"unicode_decimal": 58897
|
||||
},
|
||||
{
|
||||
"icon_id": "22808347",
|
||||
"name": "shanchu_",
|
||||
"font_class": "shanchu_",
|
||||
"unicode": "e614",
|
||||
"unicode_decimal": 58900
|
||||
},
|
||||
{
|
||||
"icon_id": "27107441",
|
||||
"name": "chat",
|
||||
"font_class": "chat",
|
||||
"unicode": "e635",
|
||||
"unicode_decimal": 58933
|
||||
},
|
||||
{
|
||||
"icon_id": "32162437",
|
||||
"name": "edit-1",
|
||||
"font_class": "edit-1",
|
||||
"unicode": "e605",
|
||||
"unicode_decimal": 58885
|
||||
},
|
||||
{
|
||||
"icon_id": "34202238",
|
||||
"name": "方形分享",
|
||||
"font_class": "fangxingfenxiang",
|
||||
"unicode": "e85d",
|
||||
"unicode_decimal": 59485
|
||||
},
|
||||
{
|
||||
"icon_id": "35043333",
|
||||
"name": "chart-pie",
|
||||
"font_class": "chart-pie",
|
||||
"unicode": "e65c",
|
||||
"unicode_decimal": 58972
|
||||
},
|
||||
{
|
||||
"icon_id": "35043480",
|
||||
"name": "root-list",
|
||||
"font_class": "root-list",
|
||||
"unicode": "e667",
|
||||
"unicode_decimal": 58983
|
||||
},
|
||||
{
|
||||
"icon_id": "36945912",
|
||||
"name": "save",
|
||||
"font_class": "save",
|
||||
"unicode": "e625",
|
||||
"unicode_decimal": 58917
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
@import "./iconfont.css";
|
||||
|
||||
:global(.anticon) {
|
||||
&:before {
|
||||
font-family: "icon-extend", "extend", serif !important;
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user