<!--components/datePicker/index.wxml-->

<van-popup 
  show="{{ show }}" 
  position="bottom"
  bind:close="onClose"
  z-index="10000"
>

<van-datetime-picker
  type="datetime"
  value="{{ currentDate }}"
  min-date="{{ minDate }}"
  max-date="{{ maxDate }}"
  bind:confirm="onConfirm"
  bind:cancel="onCancel"
/>
</van-popup>
