index.wxml 1.7 KB

1
  1. <view><view style="height:1rpx;"></view><view class="commons-time-box"><block wx:for="{{typeList}}" wx:for-item="i" wx:for-index="__i0__" wx:key="type"><view data-event-opts="{{[['tap',[['changeTypeFn',['$0'],[[['typeList','type',i.type,'type']]]]]]]}}" class="{{['time-box',value.type==i.type?'active':'']}}" bindtap="__e">{{''+i.name+''}}</view></block><view data-event-opts="{{[['tap',[['openBotomModal',['$event']]]]]}}" class="{{['time-box','time-box-icon',value.type==6?'active':'']}}" bindtap="__e"><uni-icons vue-id="955f6816-1" type="calendar" size="20" bind:__l="__l"></uni-icons></view><uni-popup class="vue-ref" vue-id="955f6816-2" type="bottom" background-color="#fff" data-ref="popup" bind:__l="__l" vue-slots="{{['default']}}"><view class="btn-box"><view style="color:red;">取消</view><view data-event-opts="{{[['tap',[['confirm',['$event']]]]]}}" style="color:#007AFF;" bindtap="__e">确认</view></view><view class="commons-time-box"><block wx:for="{{modalTimeList}}" wx:for-item="i" wx:for-index="__i1__" wx:key="type"><view data-event-opts="{{[['tap',[['modalTimeSelect',['$0'],[[['modalTimeList','type',i.type,'type']]]]]]]}}" class="{{['modal-select-box',modalTimeType==i.type?'active':'']}}" bindtap="__e">{{''+i.name+''}}</view></block></view><view><view class="color-bl text-center" style="margin:30rpx;">选择时间区间</view><view><uni-datetime-picker vue-id="{{('955f6816-3')+','+('955f6816-2')}}" type="daterange" rangeSeparator="至" value="{{value.time}}" data-event-opts="{{[['^change',[['selectPicker']]],['^input',[['__set_model',['$0','time','$event',[]],['value']]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></uni-datetime-picker></view><view style="height:200rpx;"></view></view></uni-popup></view></view>