1 line
2.1 KiB
Plaintext
1 line
2.1 KiB
Plaintext
<uni-popup class="vue-ref" vue-id="320e6cc2-1" type="bottom" border-radius="20rpx" data-ref="popup" bind:__l="__l" vue-slots="{{['default']}}"><view class="time-popup"><view class="popup-header"><text class="popup-title">请选择服务时间</text><text data-event-opts="{{[['tap',[['closeTime',['$event']]]]]}}" class="popup-close" bindtap="__e">取消</text></view><view class="time-picker-content"><view class="time-picker-content__datas"><block wx:for="{{dateList}}" wx:for-item="date" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['selectDate',[index]]]]]}}" class="time-picker-content__datas__date__item" bindtap="__e"><view class="time-picker-content__datas__date__item__box"><block wx:if="{{selectedDateIndex==index}}"><image class="time-picker-content__datas__date__item__box__img" src="/static/images/dataBox.png"></image></block></view><text class="{{['time-picker-content__datas__date__item__text',selectedDateIndex===index?'active':'']}}">{{date}}</text></view></block></view><scroll-view style="height:600rpx;width:690rpx;" scroll-y="true"><block wx:if="{{$root.g0}}"><view class="time-picker-content__time__list"><block wx:for="{{$root.l0}}" wx:for-item="time" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['selectTime',['$0',index],[[['timeOptions.'+selectedDateIndex+'','',index]]]]]]]}}" class="{{['time-picker-content__time__list__item',time.m0,[(selectedTimeIndex==index)?'firstActive':'',(selectedTimeIndex+serviceTimeNum-1==index)?'lastActive':'',(index>=selectedTimeIndex&&index<=selectedTimeIndex+serviceTimeNum-1&&sureTimeDataIndex===selectedDateIndex&&selectedTimeIndex!==null)?'isActive':'']]}}" bindtap="__e"><text class="time-picker-content__time__list__item__text">{{time.$orig.show_time}}</text></view></block></view></block></scroll-view><view class="time-picker-content__time__sure"><view data-event-opts="{{[['tap',[['sureTime',['$event']]]]]}}" class="time-picker-content__time__sure__box" bindtap="__e"><text class="time-picker-content__time__sure__box__text">确认</text></view></view></view></view></uni-popup> |