easy-select.wxml 1.1 KB

1
  1. <view data-event-opts="{{[['tap',[['trigger',['$event']]]]]}}" class="easy-select data-v-32406354" style="{{$root.s0}}" catchtap="__e"><input type="text" placeholder="{{placeholder}}" disabled="{{true}}" clearable="{{true}}" data-event-opts="{{[['input',[['__set_model',['','value','$event',[]]]]]]}}" value="{{value}}" bindinput="__e" class="data-v-32406354"/><view class="{{['easy-select-suffix data-v-32406354',showSuffix]}}" style="{{'border:'+('1px solid rgba(0,0,0,0)')+';'}}"><view class="easy-select-down-tag data-v-32406354">^</view></view><block wx:if="{{showOptions}}"><view class="easy-select-options data-v-32406354" style="{{'min-width:'+(boundingClientRect.width+'px')+';'+('top:'+(optionsGroupTop)+';')+('margin:'+(optionsGroupMargin)+';')}}"><block wx:for="{{options}}" wx:for-item="item" wx:for-index="__i0__" wx:key="value"><view data-event-opts="{{[['tap',[['select',['$0'],[[['options','value',item.value]]]]]]]}}" class="{{['easy-select-options-item data-v-32406354',(currentSelect.label===item.label)?'active':'']}}" catchtap="__e"><text class="data-v-32406354">{{item.label}}</text></view></block></view></block></view>