wangting
2025-01-02 49d8efff150f2393a1a78648c708d8633f38b222
调整svg图标样式
已修改3个文件
23 ■■■■ 文件已修改
Source/plt-web/plt-web-ui/src/components/PLT-basic-component/iconShow.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/plt-web/plt-web-ui/src/page/index/sidebar/sidebarItem.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/plt-web/plt-web-ui/src/styles/ui.scss 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/plt-web/plt-web-ui/src/components/PLT-basic-component/iconShow.vue
@@ -1,5 +1,5 @@
<template>
   <div v-show="name" :title="title" class="iconShow" :style="'width:'+fontSize+';height:'+fontSize+';font-size: '+fontSize+';'+style" v-html="svgHtml"></div>
   <div v-show="name" :title="title" class="iconShow" :name="name" :style="'width:'+fontSize+';height:'+fontSize+';font-size: '+fontSize+';'+style" v-html="svgHtml"></div>
</template>
<script>
Source/plt-web/plt-web-ui/src/page/index/sidebar/sidebarItem.vue
@@ -167,7 +167,13 @@
  display: inline-block;
  margin-top: -2px;
  margin-right: 10px;
  color: #eeeeea;
  color: rgba(255, 255, 255, 0.7);
}
.el-submenu__title:hover .iconShowSpan{
  color: #ffffff;
}
.el-submenu__title:hover .iconShowSpan svg{
  fill: #ffffff;
}
</style>
Source/plt-web/plt-web-ui/src/styles/ui.scss
@@ -493,7 +493,12 @@
.UI-dynamic > .avue-crud{
  height: 100%;
}
/*
svg图标
 */
.iconShow svg{
  fill: currentColor;
}
/*
表单
 */
@@ -508,7 +513,9 @@
}
/***按钮框****/
/***
按钮
****/
.tree-buttons .el-button{
  margin: 0 5px 5px 0;
}
@@ -546,6 +553,7 @@
  -ms-flex-pack: center;
  justify-content: center;
}
/*图标**/
.el-button--small.button-custom-icon > span .iconShow{
  font-size: 16px !important;
  width: 16px !important;
@@ -559,6 +567,7 @@
.el-tree .el-tree-node__loading-icon{
  display: none !important;
}
/*图标**/
.el-tree-node__label .iconShow{
  display: inline-block;
  width: 14px !important;