update 起草组icon
This commit is contained in:
@@ -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
@@ -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.
@@ -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: 选中首页的时候不显示背景颜色 -->
|
||||
|
||||
@@ -146,13 +146,6 @@ export default {
|
||||
)
|
||||
},
|
||||
renderIcon (icon) {
|
||||
// 图片做菜单icon,cus_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>
|
||||
|
||||
Reference in New Issue
Block a user