From f7e5086381cfd7cf97fc7ae83e2c16ed5bf189af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com>
Date: Fri, 4 Jul 2025 11:40:21 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A8=AA=E5=90=91=E6=97=B6?=
=?UTF-8?q?=E7=9A=84=E6=98=BE=E7=A4=BA=E9=80=BB=E8=BE=91?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/form-input/address.vue | 16 ++++++---
.../components/form-input/attachments.vue | 2 +-
.../components/form-input/date-group.vue | 34 +++++++++----------
.../components/form-input/form-input.vue | 19 ++++++-----
.../components/form-input/modules/uploads.vue | 2 +-
.../components/form-input/phone.vue | 29 +++++++++++-----
6 files changed, 61 insertions(+), 41 deletions(-)
diff --git a/pages/form-input/components/form-input/address.vue b/pages/form-input/components/form-input/address.vue
index 8e4e0762..33fcbd10 100644
--- a/pages/form-input/components/form-input/address.vue
+++ b/pages/form-input/components/form-input/address.vue
@@ -1,5 +1,5 @@
-
+
{{ province_name }}{{ city_name ? ' / ' + city_name : '' }}{{ county_name ? ' / ' + county_name : '' }}
{{ placeholder }}
@@ -10,8 +10,9 @@
+
-
+
@@ -59,8 +60,11 @@
};
},
watch: {
- propValue(val) {
- this.init();
+ propValue: {
+ handler(newVal) {
+ this.init();
+ },
+ deep: true
},
propKey(val) {
// 初始化
@@ -124,4 +128,8 @@
color: #606266;
opacity: 0.6;
}
+.border-line {
+ border-top: 2rpx solid #eee;
+ margin: 10rpx 0;
+}
\ No newline at end of file
diff --git a/pages/form-input/components/form-input/attachments.vue b/pages/form-input/components/form-input/attachments.vue
index d1a3710d..fb79dda6 100644
--- a/pages/form-input/components/form-input/attachments.vue
+++ b/pages/form-input/components/form-input/attachments.vue
@@ -1,6 +1,6 @@
-
+
diff --git a/pages/form-input/components/form-input/date-group.vue b/pages/form-input/components/form-input/date-group.vue
index ed26c6f3..546fe28d 100644
--- a/pages/form-input/components/form-input/date-group.vue
+++ b/pages/form-input/components/form-input/date-group.vue
@@ -1,5 +1,20 @@
-
+
+
+
+
+ {{ com_data.start_placeholder }}-
+ {{ com_data.end_placeholder }}
+
+
+
+
+ {{ form_value[0] || '' }}-
+ {{ form_value[1] || '' }}
+
+
+
+
@@ -8,24 +23,9 @@
-
+
-
-
-
- {{ com_data.start_placeholder }}-
- {{ com_data.end_placeholder }}
-
-
-
-
- {{ form_value[0] || '' }}-
- {{ form_value[1] || '' }}
-
-
-
-
diff --git a/pages/form-input/components/form-input/form-input.vue b/pages/form-input/components/form-input/form-input.vue
index 5bf6c68f..3c12c3fb 100644
--- a/pages/form-input/components/form-input/form-input.vue
+++ b/pages/form-input/components/form-input/form-input.vue
@@ -6,12 +6,12 @@
- {{ form_name }}
-
-
+ {{ form_name }}
+
+
-
+
{{ item.com_data.title }}*
@@ -36,23 +36,23 @@
-
+
-
+
-
+
-
+
-
+
@@ -442,6 +442,7 @@ export default {
.row-item {
padding: 10rpx 15rpx;
border-bottom: 2rpx solid #eee;
+ overflow: hidden;
}
.row-item:last-child {
border-bottom: none;
diff --git a/pages/form-input/components/form-input/modules/uploads.vue b/pages/form-input/components/form-input/modules/uploads.vue
index 5b015d59..91da3e3d 100644
--- a/pages/form-input/components/form-input/modules/uploads.vue
+++ b/pages/form-input/components/form-input/modules/uploads.vue
@@ -26,7 +26,7 @@
-
+
{{ new_name(item.name)[0] || '' }}.{{ new_name(item.name)[1] || '' }}
diff --git a/pages/form-input/components/form-input/phone.vue b/pages/form-input/components/form-input/phone.vue
index eb2f4b18..5638cbb6 100644
--- a/pages/form-input/components/form-input/phone.vue
+++ b/pages/form-input/components/form-input/phone.vue
@@ -1,12 +1,15 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
@@ -54,7 +57,11 @@
propStyle: {
type: String,
default: '',
- }
+ },
+ propDirection: {
+ type: String,
+ default: 'row',
+ },
},
data() {
return {
@@ -278,4 +285,8 @@
top: 0;
right: 36rpx;
}
+.verify-submi-border {
+ border-top: 2rpx solid #eee;
+ margin: 10rpx 0;
+}
\ No newline at end of file