crm_second_opening_mini/pages/index/newSche/selectTimeRange/selectTimeRange.wxml

1 line
1.6 KiB
Plaintext

<view class="select_time_range data-v-4c6e39ee"><view class="sche_calendar data-v-4c6e39ee"><view class="sche_month data-v-4c6e39ee"><view data-event-opts="{{[['tap',[['prev',['$event']]]]]}}" class="iconfont icon-arrows_left data-v-4c6e39ee" bindtap="__e"></view><view class="data-v-4c6e39ee">{{time}}</view><view data-event-opts="{{[['tap',[['next',['$event']]]]]}}" class="iconfont icon-arrows_right data-v-4c6e39ee" bindtap="__e"></view></view><view class="calendar data-v-4c6e39ee"><view class="header data-v-4c6e39ee"><block wx:for="{{date}}" wx:for-item="item" wx:for-index="index" wx:key="*this"><view class="{{['data-v-4c6e39ee',index==todayIndex&&isTodayWeek?'weekMark':'']}}">{{item+''}}</view></block></view><view class="date-box data-v-4c6e39ee"><block wx:for="{{dateArr}}" wx:for-item="item" wx:for-index="index" wx:key="isToday"><view data-event-opts="{{[['tap',[['everyDay',['$0','$1'],[[['dateArr','isToday',item.isToday,'isToday']],[['dateArr','isToday',item.isToday,'dateNum']]]]]]]}}" class="{{['data-v-4c6e39ee',isToday==item.isToday?'nowDay':'',todayData==item.isToday?'nowdate':'']}}" bindtap="__e"><view class="data-v-4c6e39ee"></view><view class="{{['date-head','data-v-4c6e39ee',item.dateNum>=start&&item.dateNum<=end?'red':'']}}"><view class="date-style data-v-4c6e39ee">{{item.dateNum}}</view><block wx:if="{{item.dateNum>=start&&item.dateNum<=end>0}}"><view class="data-v-4c6e39ee">{{item.dateNum==start?'起':''}}</view></block><block wx:if="{{item.dateNum>=start&&item.dateNum<=end>0}}"><view class="data-v-4c6e39ee">{{item.dateNum==end?'止':''}}</view></block></view></view></block></view></view></view></view>