|
|
@ -1,9 +1,9 @@ |
|
|
<view class="van-calendar"> |
|
|
|
|
|
|
|
|
<view class="van-calendar" style="height:750rpx"> |
|
|
<header title="{{ title }}" showTitle="{{ showTitle }}" subtitle="{{ subtitle }}" showSubtitle="{{ showSubtitle }}"> |
|
|
<header title="{{ title }}" showTitle="{{ showTitle }}" subtitle="{{ subtitle }}" showSubtitle="{{ showSubtitle }}"> |
|
|
<slot name="title" slot="title"></slot> |
|
|
<slot name="title" slot="title"></slot> |
|
|
</header> |
|
|
</header> |
|
|
|
|
|
|
|
|
<scroll-view class="van-calendar__body" scroll-y scroll-into-view="{{ scrollIntoView }}" scroll-top="{{ top }}"> |
|
|
|
|
|
|
|
|
<scroll-view class="van-calendar__body" style="height:600rpx" scroll-y scroll-into-view="{{ scrollIntoView }}" scroll-top="{{ top }}"> |
|
|
<month wx:for="{{ computed.getMonths(minDate, maxDate) }}" wx:key="index" id="month{{ index }}" class="month" |
|
|
<month wx:for="{{ computed.getMonths(minDate, maxDate) }}" wx:key="index" id="month{{ index }}" class="month" |
|
|
data-date="{{ item }}" date="{{ item }}" type="{{ type }}" color="{{ color }}" index="{{ index }}" minDate="{{ minDate }}" |
|
|
data-date="{{ item }}" date="{{ item }}" type="{{ type }}" color="{{ color }}" index="{{ index }}" minDate="{{ minDate }}" |
|
|
maxDate="{{ maxDate }}" showMark="{{ showMark }}" formatter="{{ formatter }}" rowHeight="{{ rowHeight }}" |
|
|
maxDate="{{ maxDate }}" showMark="{{ showMark }}" formatter="{{ formatter }}" rowHeight="{{ rowHeight }}" |
|
|
|