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.
1 line
2.7 KiB
1 line
2.7 KiB
10 months ago
|
<view class="data-v-e9e7bf0e"><view class="calendar data-v-e9e7bf0e"><view class="calendar-top flex-between data-v-e9e7bf0e"><view data-event-opts="{{[['tap',[['preNextDate',[0]]]]]}}" bindtap="__e" class="data-v-e9e7bf0e"><image class="iconfont _img data-v-e9e7bf0e" style="margin-right:13rpx;" src="https://static.ticket.sz-trip.com/tourGuide/images/index/leftIcon.png"></image>{{''+(monthShow?'上一月':'上一周')+''}}</view><view class="data-v-e9e7bf0e">{{year+"年"+month+"月"}}</view><view data-event-opts="{{[['tap',[['preNextDate',[1]]]]]}}" bindtap="__e" class="data-v-e9e7bf0e">{{''+(monthShow?'下一月':'下一周')+''}}<image class="iconfont _img data-v-e9e7bf0e" style="margin-left:13rpx;" src="https://static.ticket.sz-trip.com/tourGuide/images/index/rightIcon.png"></image></view></view><view class="calendar-bottom data-v-e9e7bf0e"><block wx:for="{{weekList}}" wx:for-item="item" wx:for-index="index"><view class="week-item data-v-e9e7bf0e">{{''+item+''}}</view></block><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index"><block wx:if="{{monthShow}}"><view class="{{['day-box','flex-center','data-v-e9e7bf0e',nowDay>item.$orig.date?'grayDate':'']}}"><view data-event-opts="{{[['tap',[['changeDate',['$0'],[[['everyDay','day+index',item.$orig.day+index,'date']]]]]]]}}" class="{{['data-v-e9e7bf0e','day-item',selectDay==item.$orig.date?'daySelect':'']}}" bindtap="__e">{{''+(nowDay==item.$orig.date?'今日':item.$orig.day)+''}}<block wx:if="{{isShowLunar}}"><view class="day-lunar data-v-e9e7bf0e">{{item.m0}}</view></block><block wx:else><view class="day-point data-v-e9e7bf0e"></view></block></view></view></block></block><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index"><block wx:if="{{!monthShow}}"><view class="{{['day-box','flex-center','data-v-e9e7bf0e',nowDay>item.m1?'grayDate':'']}}"><view data-event-opts="{{[['tap',[['changeDate',[item.m2]]]]]}}" class="{{['data-v-e9e7bf0e','day-item',selectDay==item.m3?'daySelect':'']}}" bindtap="__e">{{''+(nowDay==item.m4?'今日':item.g0)+''}}<block wx:if="{{isShowLunar}}"><view class="day-lunar data-v-e9e7bf0e">{{item.m5}}</view></block><block wx:if="{{item.$orig.day&&selectDay!=item.$orig.date&&item.$orig.flag&&!isShowLunar}}"><view class="day-point data-v-e9e7bf0e"></view></block></view></view></block></block><view data-event-opts="{{[['tap',[['changeWeekMonth',['$event']]]]]}}" style="width:100%;height:50rpx;padding:20rpx;" bindtap="__e" class="data-v-e9e7bf0e"><image class="iconfont _img data-v-e9e7bf0e" src="{{monthShow?'https://static.ticket.sz-trip.com/hsrNewTown/images/calendar/top.png':'https://static.ticket.sz-trip.com/hsrNewTown/images/calendar/bottom.png'}}"></image></view></view></view></view>
|