From 49d8efff150f2393a1a78648c708d8633f38b222 Mon Sep 17 00:00:00 2001
From: wangting <wangting@vci-tech.com>
Date: 星期四, 02 一月 2025 17:25:13 +0800
Subject: [PATCH] 调整svg图标样式
---
Source/plt-web/plt-web-ui/src/components/PLT-basic-component/iconShow.vue | 2 +-
Source/plt-web/plt-web-ui/src/page/index/sidebar/sidebarItem.vue | 8 +++++++-
Source/plt-web/plt-web-ui/src/styles/ui.scss | 13 +++++++++++--
3 files changed, 19 insertions(+), 4 deletions(-)
diff --git a/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/iconShow.vue b/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/iconShow.vue
index 3dca8ec..ef8b97f 100644
--- a/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/iconShow.vue
+++ b/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>
diff --git a/Source/plt-web/plt-web-ui/src/page/index/sidebar/sidebarItem.vue b/Source/plt-web/plt-web-ui/src/page/index/sidebar/sidebarItem.vue
index aa85462..ade24e2 100644
--- a/Source/plt-web/plt-web-ui/src/page/index/sidebar/sidebarItem.vue
+++ b/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>
diff --git a/Source/plt-web/plt-web-ui/src/styles/ui.scss b/Source/plt-web/plt-web-ui/src/styles/ui.scss
index 56715a0..ff4eb74 100644
--- a/Source/plt-web/plt-web-ui/src/styles/ui.scss
+++ b/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;
--
Gitblit v1.9.3