dropdownPanel.wxml 1.9 KB

1
  1. <view data-event-opts="{{[['touchmove',[['discard',['$event']]]]]}}" class="filter-wrapper data-v-058cfd0b" style="{{'height:'+(height+'px')+';'}}" catchtouchmove="__e"><view class="inner-wrapper data-v-058cfd0b"><view data-event-opts="{{[['tap',[['tapMask',['$event']]]]]}}" class="{{['mask','data-v-058cfd0b',showMask?'show':'hide']}}" style="{{'top:'+(top)+';'}}" bindtap="__e"></view><view class="navs data-v-058cfd0b"><block wx:for="{{filterData}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['navClick',['$0',index],[[['filterData','',index]]]]]]]}}" class="{{['c-flex-center','data-v-058cfd0b',(index>0)?'c-flex-center':'',(index===actNav)?'actNav':'']}}" bindtap="__e"><block wx:if="{{item.special&&item.name=='批量'}}"><view class="x-f data-v-058cfd0b" style="align-items:end;"><u-icon vue-id="{{'a7d9b54a-1-'+index}}" name="file-text" color="{{index===actNav?'#2979ff':'#222'}}" size="20" class="data-v-058cfd0b" bind:__l="__l"></u-icon>{{''+(index===actNav?'取消':'批量')+''}}</view></block><block wx:else><text style="width:max-content;" class="data-v-058cfd0b">{{item.name}}</text><block wx:if="{{index===actNav}}"><image class="icon-triangle data-v-058cfd0b" src="{{imgPath+'/app/manergevip/icon-pullup.png'}}" mode></image></block><block wx:else><image class="icon-triangle data-v-058cfd0b" src="{{imgPath+'/app/manergevip/icon-down.png'}}" mode></image></block></block></view></block></view><view class="{{['popup','data-v-058cfd0b',popupShow?'popupShow':'']}}" scroll-y="true"><scroll-view style="height:30vh;" scroll-y="true" class="data-v-058cfd0b"><slot></slot></scroll-view><view class="footer x-bc data-v-058cfd0b"><view data-event-opts="{{[['tap',[['reset',['$event']]]]]}}" class="footer-btn data-v-058cfd0b" bindtap="__e">重置</view><view data-event-opts="{{[['tap',[['confirm',['$event']]]]]}}" class="footer-btn footer-blue data-v-058cfd0b" bindtap="__e">确认</view></view></view></view></view>