From 01fa158740467ca0db83b131249beeeb515a73c2 Mon Sep 17 00:00:00 2001
From: cuiqian2004 <cuiqian2004@163.com>
Date: 星期二, 01 四月 2025 16:03:57 +0800
Subject: [PATCH] test

---
 pages/modal/5601.vue |   58 ++++++++++++++++++++++++----------------------------------
 1 files changed, 24 insertions(+), 34 deletions(-)

diff --git a/pages/modal/5601.vue b/pages/modal/5601.vue
index 1943ef7..8696077 100644
--- a/pages/modal/5601.vue
+++ b/pages/modal/5601.vue
@@ -1376,7 +1376,7 @@
 						}
 					})
 				});
-				pageData.DefList = detailStyleDefList 
+				pageData.DefList = detailStyleDefList
 				$this.$set(this.pageDetail, pageIndex, pageData)
 			},
 			//鍔犺浇姝e湪鐮佺洏鍐呭
@@ -1557,6 +1557,13 @@
 							if (ele.fieldId == attr.attr) {
 								ele.value = attr.value;
 								ele.oldvalue = attr.value;
+								if (ele.name == "Input") {
+									if (attr.prompt) ele.placeholder = attr.prompt;
+								}
+								if (attr.enable !== undefined) {
+									if (attr.enable) ele.disabled = false;
+									else ele.disabled = true;
+								}
 							}
 						} else if (ele.name == "Layout") {
 							ele.setting.colList.forEach((col) => {
@@ -1564,6 +1571,13 @@
 									if (col.fieldId == attr.attr) {
 										col.value = attr.value;
 										col.oldvalue = attr.value;
+										if (col.name == "Input") {
+											if (attr.prompt) col.placeholder = attr.prompt;
+										}
+										if (attr.enable !== undefined) {
+											if (attr.enable) col.disabled = false;
+											else col.disabled = true;
+										}
 									}
 								}
 							});
@@ -2903,39 +2917,7 @@
 			flex-direction: column;
 		}
 
-		.v-head-style {
-			width: 98%;
-
-			.uni-forms-item {
-				margin-bottom: 11rpx;
-			}
-
-			.input-wrapper {
-				border: 1px solid #d5d5d5;
-				width: 100%;
-				display: flex;
-				flex-direction: row;
-
-				.uni-input {
-					flex: 1;
-					padding: 12rpx 8rpx;
-					color: #2d8cf0;
-					// height: 40rpx;
-					// line-height: 40rpx;
-				}
-
-				.uni-icon {
-					padding: 10rpx 5rpx;
-					font-size: 32rpx;
-					color: rgb(192, 196, 204);
-				}
-			}
-
-			.input-wrapper:hover {
-				border: 1px solid rgb(41, 121, 255);
-			}
-		}
-
+	
 		.view-content {
 			display: flex;
 			flex: 1;
@@ -3077,7 +3059,15 @@
 				padding: 0px;
 				margin: 0;
 
+				.uni-forms-item {
+					padding-bottom: 5rpx;
+					margin-bottom: 0;
 
+					.uni-forms-item__label {
+						height: 20px !important;
+						padding: 0 10rpx 0 0 !important;
+					}
+				}
 
 			}
 

--
Gitblit v1.9.1