From eb635360fde01f6a3c34d485e979e4724aa22b16 Mon Sep 17 00:00:00 2001 From: yuxc <yuxc@vci-tech.com> Date: 星期二, 07 一月 2025 15:57:37 +0800 Subject: [PATCH] 菜单配置文件调整 --- Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Icons/index.vue | 20 +++++++++++++++----- 1 files changed, 15 insertions(+), 5 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Icons/index.vue b/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Icons/index.vue index 13c1cf5..ee6bbae 100644 --- a/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Icons/index.vue +++ b/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Icons/index.vue @@ -4,7 +4,7 @@ <basic-container> <div style="display: flex;justify-content: space-between;flex-wrap: wrap"> <div class="tag-group"> - <span class="tag-group__title">鍒嗙粍</span> + <span class="tag-group__title" v-if="types.length>0">鍒嗙粍</span> <el-tag v-for="item in types" :key="item.key" @@ -51,11 +51,11 @@ <pre style="font-size: 12px;color: #909399;margin-top: 0;padding:5px;background-color: #F5F7FA">涓婁紶鏂囦欢涓簀son鏂囦欢锛岀ず渚嬪涓� [{ "name": "鍥炬爣搴撳悕:鍥炬爣鍚嶇О", - "svg": "html浠g爜" + "svg": "svg鐨刪tml浠g爜" }, { "name": "鍥炬爣搴撳悕:鍥炬爣鍚嶇О", - "svg": "html浠g爜" + "svg": "svg鐨刪tml浠g爜" }] 鏂囦欢鍐呭椤讳弗鏍兼寜鐓хず渚嬫牸寮忥紝name涓哄浘鏍囧簱鍚�+鍥炬爣鍚嶇О锛屼互鈥�:鈥濆垎闅旓紝svg涓哄浘鏍噃tml浠g爜</pre> </el-dialog> @@ -473,7 +473,14 @@ } </script> -<style scoped> +<style scoped lang="scss"> +::v-deep{ + svg{ + font-size: inherit; + height: 100%; + width:100%; + } +} .tag-group{font-size: 14px;} .el-tag{ margin: 0 0 10px 10px; @@ -490,7 +497,10 @@ text-align: center; } .iconList .iconItem .svgContent{ - font-size: 26px; + font-size: 24px; + width: 24px; + height: 24px; + margin: 0 auto; } .iconList .iconItem .svgContent:hover{ transform: scale(1.5); -- Gitblit v1.9.3