From e680ee8cc2c34ec2d21c238e8110e4f1501eb8bc Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期五, 24 十一月 2023 11:06:37 +0800
Subject: [PATCH] #

---
 uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.vue |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.vue b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.vue
index e844331..f0e24dc 100644
--- a/uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.vue
+++ b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.vue
@@ -5,9 +5,9 @@
 				<view class="uni-date-editor--x" :class="{'uni-date-editor--x__disabled': disabled,
 		'uni-date-x--border': border}">
 					<view v-if="!isRange" class="uni-date-x uni-date-single">
-						<uni-icons type="calendar" color="#e1e1e1" size="22"></uni-icons>
+						<!-- <uni-icons type="calendar" color="#e1e1e1" size="22"></uni-icons> -->
 						<input class="uni-date__x-input" type="text" v-model="singleVal"
-							:placeholder="singlePlaceholderText" :disabled="true" />
+							:placeholder="singlePlaceholderText" :placeholder-style="redColor" :disabled="true" />
 					</view>
 					<view v-else class="uni-date-x uni-date-range">
 						<uni-icons type="calendar" color="#e1e1e1" size="22"></uni-icons>
@@ -208,6 +208,10 @@
 				default: 'string'
 			},
 			placeholder: {
+				type: String,
+				default: ''
+			},
+			redColor: {
 				type: String,
 				default: ''
 			},
@@ -768,7 +772,7 @@
 		flex-direction: row;
 		align-items: center;
 		justify-content: center;
-		padding: 0 10px;
+		padding: 0 0px;
 		border-radius: 4px;
 		background-color: #fff;
 		color: #666;

--
Gitblit v1.9.1