| | |
| | | <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> |
| | |
| | | default: 'string' |
| | | }, |
| | | placeholder: { |
| | | type: String, |
| | | default: '' |
| | | }, |
| | | redColor: { |
| | | type: String, |
| | | default: '' |
| | | }, |
| | |
| | | flex-direction: row; |
| | | align-items: center; |
| | | justify-content: center; |
| | | padding: 0 10px; |
| | | padding: 0 0px; |
| | | border-radius: 4px; |
| | | background-color: #fff; |
| | | color: #666; |