mrr.sj.front/unpackage/dist/dev/mp-weixin/components/time-picker/time-picker.wxml

1 line
1.8 KiB
Plaintext

<uni-popup style="z-index:20000;" vue-id="9af492b8-1" type="bottom" border-radius="20rpx" data-ref="popup" class="data-v-374e9ea2 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view class="region-body data-v-374e9ea2"><image class="region-body__close data-v-374e9ea2" src="/static/images/shop/close.png" data-event-opts="{{[['tap',[['close',['$event']]]]]}}" bindtap="__e"></image><view class="region-body__header data-v-374e9ea2"> 请选择时间段 </view><picker-view class="picker-scroll data-v-374e9ea2" value="{{pickerValue}}" indicator-style="{{indicatorStyle}}" data-event-opts="{{[['change',[['handleTimeChange',['$event']]]]]}}" bindchange="__e"><picker-view-column class="data-v-374e9ea2"><block wx:for="{{hours}}" wx:for-item="hour" wx:for-index="index" wx:key="index"><view class="picker-item data-v-374e9ea2">{{''+hour+'时'}}</view></block></picker-view-column><picker-view-column class="data-v-374e9ea2"><block wx:for="{{minutes}}" wx:for-item="minute" wx:for-index="index" wx:key="index"><view class="picker-item data-v-374e9ea2">{{''+minute+'分'}}</view></block></picker-view-column><picker-view-column class="data-v-374e9ea2"><view class="picker-item data-v-374e9ea2"> - </view></picker-view-column><picker-view-column class="data-v-374e9ea2"><block wx:for="{{hours}}" wx:for-item="hour" wx:for-index="index" wx:key="index"><view class="picker-item data-v-374e9ea2">{{''+hour+'时'}}</view></block></picker-view-column><picker-view-column class="data-v-374e9ea2"><block wx:for="{{minutes}}" wx:for-item="minute" wx:for-index="index" wx:key="index"><view class="picker-item data-v-374e9ea2">{{''+minute+'分'}}</view></block></picker-view-column></picker-view><view data-event-opts="{{[['tap',[['confirmTime',['$event']]]]]}}" class="region-body__btn data-v-374e9ea2" bindtap="__e">{{"确认\n "+('('+$root.g0+'-'+$root.g1+')')}}</view></view></uni-popup>