mrr.sj.front/unpackage/dist/dev/mp-weixin/pages/artisan/service-time.wxml

1 line
4.0 KiB
Plaintext

<view class="service-time-page data-v-44c6a613"><custom-navbar vue-id="540e9d53-1" title="服务时间" showBack="{{true}}" class="data-v-44c6a613" bind:__l="__l"></custom-navbar><view class="content data-v-44c6a613"><view class="section-card data-v-44c6a613"><view class="section-header data-v-44c6a613"><view class="title-bar data-v-44c6a613"></view><text class="section-title data-v-44c6a613">服务时间</text></view><view class="time-display-section data-v-44c6a613"><view class="time-value-box data-v-44c6a613"><text class="time-value data-v-44c6a613">服务时间</text><text class="time-value2 data-v-44c6a613">{{currentTime}}</text></view><block wx:if="{{!showBottomActions&&!showTimePickerFlag}}"><view data-event-opts="{{[['tap',[['showTimePicker',['$event']]]]]}}" class="change-button data-v-44c6a613" bindtap="__e"><text class="change-text data-v-44c6a613">信息变更 </text><image class="arrow-right data-v-44c6a613" src="https://mrrplus.oss-cn-beijing.aliyuncs.com/photo/system/b87d4918-4282-4f51-931c-292435ba5d36" mode="aspectFit"></image></view></block></view></view><view class="{{['popup','data-v-44c6a613',(showTimePickerFlag)?'show':'']}}"><view data-event-opts="{{[['tap',[['hideTimePicker',['$event']]]]]}}" class="popup-mask data-v-44c6a613" bindtap="__e"></view><view class="popup-content data-v-44c6a613"><view class="popup-header data-v-44c6a613"><text data-event-opts="{{[['tap',[['hideTimePicker',['$event']]]]]}}" class="cancel-text data-v-44c6a613" bindtap="__e">取消</text><text class="title data-v-44c6a613">选择服务时间</text><text data-event-opts="{{[['tap',[['confirmTime',['$event']]]]]}}" class="confirm-text data-v-44c6a613" bindtap="__e">确定</text></view><view class="time-range data-v-44c6a613"><view data-event-opts="{{[['tap',[['switchTimeType',['start']]]]]}}" class="{{['time-block','data-v-44c6a613',(timeType==='start')?'active':'']}}" bindtap="__e"><text class="time-value-picker data-v-44c6a613">{{$root.m0}}</text><text class="time-label data-v-44c6a613">开始时间</text></view><text class="time-separator data-v-44c6a613">至</text><view data-event-opts="{{[['tap',[['switchTimeType',['end']]]]]}}" class="{{['time-block','data-v-44c6a613',(timeType==='end')?'active':'']}}" bindtap="__e"><text class="time-value-picker data-v-44c6a613">{{$root.m1}}</text><text class="time-label data-v-44c6a613">结束时间</text></view></view><view class="region-body data-v-44c6a613"><picker-view class="picker-scroll data-v-44c6a613" value="{{pickerValue}}" indicator-style="{{indicatorStyle}}" data-event-opts="{{[['change',[['handleTimeChange',['$event']]]]]}}" bindchange="__e"><picker-view-column class="data-v-44c6a613"><block wx:for="{{hours}}" wx:for-item="hour" wx:for-index="index" wx:key="index"><view class="picker-item data-v-44c6a613">{{''+hour+''}}</view></block></picker-view-column><picker-view-column class="data-v-44c6a613"><block wx:for="{{minutes}}" wx:for-item="minute" wx:for-index="index" wx:key="index"><view class="picker-item data-v-44c6a613">{{''+minute+''}}</view></block></picker-view-column><picker-view-column class="data-v-44c6a613"><view class="picker-item data-v-44c6a613">-</view></picker-view-column><picker-view-column class="data-v-44c6a613"><block wx:for="{{hours}}" wx:for-item="hour" wx:for-index="index" wx:key="index"><view class="picker-item data-v-44c6a613">{{''+hour+''}}</view></block></picker-view-column><picker-view-column class="data-v-44c6a613"><block wx:for="{{minutes}}" wx:for-item="minute" wx:for-index="index" wx:key="index"><view class="picker-item data-v-44c6a613">{{''+minute+''}}</view></block></picker-view-column></picker-view></view></view></view><block wx:if="{{showBottomActions}}"><view class="bottom-actions data-v-44c6a613"><view class="action-buttons data-v-44c6a613"><button data-event-opts="{{[['tap',[['cancelChange',['$event']]]]]}}" class="btn-cancel-large data-v-44c6a613" bindtap="__e">取消</button><button data-event-opts="{{[['tap',[['submitChange',['$event']]]]]}}" class="btn-confirm-large data-v-44c6a613" bindtap="__e">提交</button></view></view></block></view></view>