From 05700b21d4ade0c03c29637ebb1215aefc1ad588 Mon Sep 17 00:00:00 2001
From: zq <136432190602163.com>
Date: Tue, 19 Aug 2025 14:18:22 +0800
Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=A1=A8=E5=8D=95=E7=B1=BB?=
=?UTF-8?q?=E7=BB=84=E4=BB=B6=E6=8F=90=E7=A4=BA=E6=97=B6=E6=92=91=E5=BC=80?=
=?UTF-8?q?=E9=AB=98=E5=BA=A6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/assets/site/sitesem.svg | 2 +-
src/components/GuipInput.vue | 25 ++++++++++++++++--
src/components/GuipSelect.vue | 27 ++++++++++++++++++--
src/components/SliderMenu.vue | 2 +-
src/components/Tooltip.vue | 42 +++++++++++++++++++++----------
src/components/site/addSiteStep/step2.vue | 23 +++++++++++++----
6 files changed, 97 insertions(+), 24 deletions(-)
diff --git a/src/assets/site/sitesem.svg b/src/assets/site/sitesem.svg
index 1c1b9b1..0352de3 100644
--- a/src/assets/site/sitesem.svg
+++ b/src/assets/site/sitesem.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/components/GuipInput.vue b/src/components/GuipInput.vue
index 2983dff..eed7f1a 100644
--- a/src/components/GuipInput.vue
+++ b/src/components/GuipInput.vue
@@ -1,7 +1,8 @@
-
+ :prop="prop" :rules="rules" class="custom-form-item">
+
@@ -147,4 +149,23 @@ export default {
pointer-events: none;
/* 防止单位文本影响输入框的点击事件 */
}
+.custom-form-item {
+ ::v-deep .el-form-item__content {
+ display: flex;
+ flex-direction: column;
+ align-items: flex-start;
+ }
+
+ .input-wrapper {
+ position: relative;
+ width: 100%;
+ }
+
+ ::v-deep .el-form-item__error {
+ position: relative;
+ margin-top: 4px;
+ padding-top: 0;
+ line-height: 1;
+ }
+}
\ No newline at end of file
diff --git a/src/components/GuipSelect.vue b/src/components/GuipSelect.vue
index e43a309..c8387f6 100644
--- a/src/components/GuipSelect.vue
+++ b/src/components/GuipSelect.vue
@@ -1,7 +1,7 @@
+ :label="label" :prop="prop" :rules="rules" class="custom-form-item">
{{ desc }}
@@ -141,4 +141,27 @@ export default {
}
}
}
-
\ No newline at end of file
+
+
\ No newline at end of file
diff --git a/src/components/SliderMenu.vue b/src/components/SliderMenu.vue
index 5f8c607..95a2933 100644
--- a/src/components/SliderMenu.vue
+++ b/src/components/SliderMenu.vue
@@ -24,7 +24,7 @@
activeColor="#006AFF" :isActive="item.index == currentMenuItem && currentMenuItem['index'].substring(0,1) && isCollapse" />
{{ item.title }}
-
{{ subItem.title }}
diff --git a/src/components/Tooltip.vue b/src/components/Tooltip.vue
index edeb8e8..cc7807b 100644
--- a/src/components/Tooltip.vue
+++ b/src/components/Tooltip.vue
@@ -1,7 +1,8 @@
-
+
+
{{ message }}
@@ -30,7 +31,13 @@ export default {
data() {
return {
visible: false,
- positionStyle: {}
+ positionStyle: {},
+ defaultImages:{
+ success: require('@/assets/message_Success.png'),
+ info: require('@/assets/message_Warning.png'),
+ warning: require('@/assets/message_Warning.png'),
+ error: require('@/assets/message_error.png')
+ }
}
},
computed: {
@@ -93,40 +100,49 @@ export default {
}
-