From aae423f3b0b7c9e2396e5762b7cfaddcb27a3088 Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期二, 07 十一月 2023 18:55:53 +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