| | |
| | | <template> |
| | | <view |
| | | class="c-date-picker" |
| | | :class="readOnly ? 'read-only':''" |
| | | :class="readOnly?'read-only':''" |
| | | > |
| | | <CDateRangeAction |
| | | v-if="mode==='dateRange'" |
| | |
| | | class="at-icon at-icon-chevron-right" |
| | | /> |
| | | <view |
| | | v-show="showClear" |
| | | v-show="!readOnly && showClear" |
| | | class="at-icon at-icon-close" |
| | | @tap.stop="evt => handleClear()" |
| | | ></view> |
| | |
| | | class="at-icon at-icon-chevron-right" |
| | | /> |
| | | <view |
| | | v-show="showClear" |
| | | v-show="!readOnly && showClear" |
| | | class="at-icon at-icon-close" |
| | | @tap.stop="evt => handleClear()" |
| | | ></view> |
| | |
| | | class="at-icon at-icon-chevron-right" |
| | | /> |
| | | <view |
| | | v-show="showClear" |
| | | v-show="!readOnly && showClear" |
| | | class="at-icon at-icon-close" |
| | | @tap.stop="evt => handleClear()" |
| | | ></view> |