1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
| <wxs src="./index.wxs" module="computed" />
|
| <import src="./calendar.wxml" />
|
| <van-popup
| wx:if="{{ poppable }}"
| custom-class="van-calendar__popup--{{ position }}"
| close-icon-class="van-calendar__close-icon"
| show="{{ show }}"
| round="{{ round }}"
| position="{{ position }}"
| closeable="{{ showTitle || showSubtitle }}"
| close-on-click-overlay="{{ closeOnClickOverlay }}"
| bind:enter="onOpen"
| bind:close="onClose"
| bind:after-enter="onOpened"
| bind:after-leave="onClosed"
| >
| <template
| is="calendar"
| data="{{ title, subtitle, showTitle, showSubtitle, minDate, maxDate, type, color, showMark, formatter, rowHeight, currentDate, safeAreaInsetBottom, showConfirm, confirmDisabledText, confirmText, scrollIntoView, allowSameDay }}"
| />
| </van-popup>
|
| <template
| wx:else
| is="calendar"
| data="{{ title, subtitle, showTitle, showSubtitle, minDate, maxDate, type, color, showMark, formatter, rowHeight, currentDate, safeAreaInsetBottom, showConfirm, confirmDisabledText, confirmText, scrollIntoView, allowSameDay }}"
| />
|
| <van-toast id="van-toast" />
|
|