From 9644ad8546c51776824ac046bac9f57e17ac5694 Mon Sep 17 00:00:00 2001 From: 田源 <tianyuan@vci-tech.com> Date: 星期四, 26 十二月 2024 16:41:40 +0800 Subject: [PATCH] 业务功能模块&&管理功能模块树结构修改为图标库图标以及图标选择修改为新图标库选择 系统菜单图标更改为图标库图标并且设置默认图标 --- Source/plt-web/plt-web-ui/src/views/systemModel/mangeModel/index.vue | 13 +++++++++---- 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/views/systemModel/mangeModel/index.vue b/Source/plt-web/plt-web-ui/src/views/systemModel/mangeModel/index.vue index ce496d7..443976c 100644 --- a/Source/plt-web/plt-web-ui/src/views/systemModel/mangeModel/index.vue +++ b/Source/plt-web/plt-web-ui/src/views/systemModel/mangeModel/index.vue @@ -6,9 +6,8 @@ <avue-tree :key="refresh" ref="tree" :data="treeData" :option="treeOption" node-key="id" @node-click="nodeClick"> <span slot-scope="{ node, data }" class="el-tree-node__label"> - <span> -<!-- <i :class="data.icon"></i>--> - <icon-show :name="data.icon"></icon-show> + <span style="display: flex"> + <icon-show :name="data.icon" class="iconShowSpan"></icon-show> {{ (node || {}).label }} </span> </span> @@ -251,7 +250,7 @@ id: item.id, name: item.name, leaf: !item.hasChildren, - icon: item.source || 'el-icon-s-home' + icon: item.source || 'iconoir:home' } })) }) @@ -555,4 +554,10 @@ margin-bottom: 15px; } +.iconShowSpan{ + display: inline-block; + width: 14px !important; + height: 14px !important; + margin-right: 3px; +} </style> -- Gitblit v1.9.3