update 起草组icon

This commit is contained in:
danshihao
2024-01-18 18:10:23 +08:00
parent 4fe3944324
commit 4f5cc1eaf8
8 changed files with 15 additions and 17 deletions
+7 -3
View File
@@ -1,8 +1,8 @@
@font-face {
font-family: "anticon-jeecg"; /* Project id 2798517 */
src: url('iconfont.woff2?t=1639559463058') format('woff2'),
url('iconfont.woff?t=1639559463058') format('woff'),
url('iconfont.ttf?t=1639559463058') format('truetype');
src: url('iconfont.woff2?t=1705570227820') format('woff2'),
url('iconfont.woff?t=1705570227820') format('woff'),
url('iconfont.ttf?t=1705570227820') format('truetype');
}
.anticon-jeecg {
@@ -13,6 +13,10 @@
-moz-osx-font-smoothing: grayscale;
}
.anticondraftgroup:before {
content: "\e65e";
}
.anticonothermeeting:before {
content: "\e621";
}
File diff suppressed because one or more lines are too long
+7
View File
@@ -5,6 +5,13 @@
"css_prefix_text": "anticon",
"description": "",
"glyphs": [
{
"icon_id": "3009589",
"name": "cus_draftgroup",
"font_class": "gongzuopai",
"unicode": "e65e",
"unicode_decimal": 58974
},
{
"icon_id": "26512409",
"name": "cus_othermeeting",
Binary file not shown.
Binary file not shown.
Binary file not shown.
-6
View File
@@ -172,11 +172,5 @@
}
}
}
// icon图片默认是选中的图片,如果没被选中,就设置灰掉
.ant-menu-item:not(.ant-menu-item-selected) {
.icon-img {
filter: grayscale(100%);
}
}
</style>
<!-- update_end author:sunjianlei date:20190530 for: 选中首页的时候不显示背景颜色 -->
-7
View File
@@ -146,13 +146,6 @@ export default {
)
},
renderIcon (icon) {
// 图片做菜单iconcus_img_xxx.png, xxx_act.png放在assets/imgs/icon/
// (act是激活后的图片,未激活时通过样式置灰)
if (icon !== 'none' && icon !== undefined && icon.indexOf('cus_img_') !== -1) {
const img = require('@/assets/imgs/icon/' + icon.substr(8) + '_act.png')
return (<img style="width:16px;height:16px;user-select:none;margin-right:8px;vertical-align:sub;"
src={img} alt="" class="icon-img"/>)
}
if (icon !== 'none' && icon !== undefined && icon.indexOf('cus_') !== -1) {
let className = `anticon-jeecg anticon${icon.substr(4)}`
return <i class={className} style='margin-right: 8px'></i>