<t-cell title="{{title || ''}}" hover arrow bindtap="showPicker">
  <view slot="note" style="display: flex;align-items: center;column-gap: 12rpx;">
    <view style="color: {{value? '#000': ''}}">{{value || ''}}</view>
    <t-icon wx:if="{{value}}" name="close-circle-filled" catch:tap="onClear" />
    <text wx:else>{{placeholder || title || '选择日期'}}</text>
  </view>
</t-cell>
<!-- 年月日时分 -->
<t-date-time-picker title="{{placeholder || '选择日期'}}" visible="{{visible}}"
  mode="{{mode || 'date'}}" format="{{format[mode|| 'date'] || 'YYYY-MM-DD HH:mm:ss'}}"
  value="{{value || now}}" bindconfirm="onConfirm" auto-close="{{true}}" bindcancel="hidePicker" />