1 |
- <view class="uni-calendar data-v-f37caa26"><block wx:if="{{!insert&&show}}"><view data-event-opts="{{[['tap',[['clean',['$event']]]]]}}" class="{{['uni-calendar__mask data-v-f37caa26',(aniMaskShow)?'uni-calendar--mask-show':'']}}" bindtap="__e"></view></block><block wx:if="{{insert||show}}"><view class="{{['uni-calendar__content data-v-f37caa26',(!insert)?'uni-calendar--fixed':'',(aniMaskShow)?'uni-calendar--ani-show':'']}}"><block wx:if="{{!insert}}"><view class="uni-calendar__header uni-calendar--fixed-top data-v-f37caa26"><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="uni-calendar__header-btn-box data-v-f37caa26" bindtap="__e"><text class="uni-calendar__header-text uni-calendar--fixed-width data-v-f37caa26">{{cancelText}}</text></view><view data-event-opts="{{[['tap',[['confirm',['$event']]]]]}}" class="uni-calendar__header-btn-box data-v-f37caa26" bindtap="__e"><text class="uni-calendar__header-text uni-calendar--fixed-width data-v-f37caa26">{{okText}}</text></view></view></block><view class="uni-calendar__header data-v-f37caa26"><view data-event-opts="{{[['tap',[['pre',['$event']]]]]}}" class="uni-calendar__header-btn-box data-v-f37caa26" catchtap="__e"><view class="uni-calendar__header-btn uni-calendar--left data-v-f37caa26"></view></view><picker mode="date" value="{{date}}" fields="month" data-event-opts="{{[['change',[['bindDateChange',['$event']]]]]}}" bindchange="__e" class="data-v-f37caa26"><text class="uni-calendar__header-text data-v-f37caa26">{{(nowDate.year||'')+' / '+(nowDate.month||'')}}</text></picker><view data-event-opts="{{[['tap',[['next',['$event']]]]]}}" class="uni-calendar__header-btn-box data-v-f37caa26" catchtap="__e"><view class="uni-calendar__header-btn uni-calendar--right data-v-f37caa26"></view></view><text data-event-opts="{{[['tap',[['backtoday',['$event']]]]]}}" class="uni-calendar__backtoday data-v-f37caa26" bindtap="__e">{{todayText}}</text></view><view class="uni-calendar__box data-v-f37caa26"><block wx:if="{{showMonth}}"><view class="uni-calendar__box-bg data-v-f37caa26"><text class="uni-calendar__box-bg-text data-v-f37caa26">{{nowDate.month}}</text></view></block><view class="uni-calendar__weeks data-v-f37caa26"><view class="uni-calendar__weeks-day data-v-f37caa26"><text class="uni-calendar__weeks-day-text data-v-f37caa26">{{SUNText}}</text></view><view class="uni-calendar__weeks-day data-v-f37caa26"><text class="uni-calendar__weeks-day-text data-v-f37caa26">{{monText}}</text></view><view class="uni-calendar__weeks-day data-v-f37caa26"><text class="uni-calendar__weeks-day-text data-v-f37caa26">{{TUEText}}</text></view><view class="uni-calendar__weeks-day data-v-f37caa26"><text class="uni-calendar__weeks-day-text data-v-f37caa26">{{WEDText}}</text></view><view class="uni-calendar__weeks-day data-v-f37caa26"><text class="uni-calendar__weeks-day-text data-v-f37caa26">{{THUText}}</text></view><view class="uni-calendar__weeks-day data-v-f37caa26"><text class="uni-calendar__weeks-day-text data-v-f37caa26">{{FRIText}}</text></view><view class="uni-calendar__weeks-day data-v-f37caa26"><text class="uni-calendar__weeks-day-text data-v-f37caa26">{{SATText}}</text></view></view><block wx:for="{{weeks}}" wx:for-item="item" wx:for-index="weekIndex" wx:key="weekIndex"><view class="uni-calendar__weeks data-v-f37caa26"><block wx:for="{{item}}" wx:for-item="weeks" wx:for-index="weeksIndex" wx:key="weeksIndex"><view class="uni-calendar__weeks-item data-v-f37caa26"><calendar-item class="uni-calendar-item--hook data-v-f37caa26" vue-id="{{'6fc411d2-1-'+weekIndex+'-'+weeksIndex}}" weeks="{{weeks}}" calendar="{{calendar}}" selected="{{selected}}" lunar="{{lunar}}" data-event-opts="{{[['^change',[['choiceDate']]]]}}" bind:change="__e" bind:__l="__l"></calendar-item></view></block></view></block></view></view></block></view>
|