From 576c918c2c213176e2aff1e130fd84d5dc1ee835 Mon Sep 17 00:00:00 2001
From: yuxc <yuxc@vci-tech.com>
Date: 星期四, 09 一月 2025 16:05:02 +0800
Subject: [PATCH] 在删除属性时删除的属性有数据进行属性的提示
---
Source/plt-web/plt-web-ui/src/components/PLT-basic-component/input-icon.vue | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/input-icon.vue b/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/input-icon.vue
index 1b14178..5849ea0 100644
--- a/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/input-icon.vue
+++ b/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/input-icon.vue
@@ -1,8 +1,8 @@
<template>
<div>
<el-input :width="width" :class="inputClass" :style="inputStyle" :clearable="true" :value="value"
- :disabled="disabled" :placeholder="placeholder" type="text" :size="size" @clear="clearValue" @focus="handleFocus">
- <span slot="append" v-html="svgHtml" style="font-size: 20px;padding:3px 10px;width:20px;height:20px;display: block" @click="handleFocus"></span>
+ :disabled="disabled" :placeholder="placeholder" :read-only="true" type="text" :size="size" @clear="clearValue">
+ <span slot="append" v-html="svgHtml" style="font-size: 18px;padding:3px 10px;width:18px;height:18px;display: block" @click="handleFocus"></span>
</el-input>
<el-dialog v-dialogDrag
v-dialog-resize
@@ -14,7 +14,7 @@
@close="dialogClose">
<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"
@@ -205,6 +205,11 @@
.el-input-group__append, .el-input-group__prepend{
padding: 0;
}
+ svg{
+ font-size: inherit;
+ height: 100%;
+ width:100%;
+ }
}
.tag-group{font-size: 14px;}
.el-tag{
@@ -223,6 +228,9 @@
}
.iconList .iconItem .svgContent{
font-size: 24px;
+ width: 24px;
+ height: 24px;
+ margin: 0 auto;
}
.iconList .iconItem .svgContent:hover{
transform: scale(1.5);
--
Gitblit v1.9.3