You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.0 KiB
29 lines
1.0 KiB
<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, holiday ,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, holiday, type, color, showMark, formatter, rowHeight, currentDate, safeAreaInsetBottom, showConfirm, confirmDisabledText, confirmText, scrollIntoView, allowSameDay }}"
|
|
/>
|
|
|