1 |
- <view class="w-select data-v-5fdefe44" style="{{'--select-wrap-width:'+(width)+';'+('--select-wrap-height:'+(height)+';')+('--select-bg-color:'+(bgColor)+';')}}" id="wSelect"><view data-event-opts="{{[['tap',[['changeShow',['$event']]]]]}}" class="{{['select-wrap','data-v-5fdefe44',isShow?'select-wrap-active':'']}}" style="height:35px;" bindtap="__e"><block wx:if="{{multiple}}"><view class="select-content data-v-5fdefe44"><block wx:if="{{$root.g0}}"><view class="select-content-item-default data-v-5fdefe44">{{''+defaultValue+''}}</view></block><block wx:if="{{$root.g1>0}}"><view class="select-content-item data-v-5fdefe44">{{''+multiSelectList[0][valueName]+''}}</view></block><block wx:if="{{$root.g2>1}}"><view class="select-content-item data-v-5fdefe44">{{''+multiLength+''}}</view></block></view></block><block wx:if="{{!multiple||filterable}}"><input style="{{'font-size:14px;font-weight:bold;'+(!filterable?'pointer-events: none':'font-size:'+fontSize)}}" type="text" placeholder="{{multiple?$root.g3===0?defaultValue:'':defaultValue}}" disabled="{{!filterable}}" data-event-opts="{{[['input',[['inputChange',['$event']]]],['blur',[['blurChange',['$event']]]]]}}" value="{{inputData}}" bindinput="__e" bindblur="__e" class="data-v-5fdefe44"/></block><block wx:if="{{$root.g4}}"><view data-event-opts="{{[['tap',[['refreshValue',['$event']]]]]}}" class="close-icon data-v-5fdefe44" catchtap="__e"><image src="{{refreshUrl}}" mode class="data-v-5fdefe44"></image></view></block><block wx:if="{{$root.g5}}"><view class="{{['w-select-arrow','','data-v-5fdefe44',isShow?'w-select-arrow-up':'']}}"></view></block><scroll-view hidden="{{!(optionsShow)}}" class="{{['select-options','data-v-5fdefe44',isShow?showPosition==='bottom'?'animation-bottom-in':'animation-top-in':showPosition==='bottom'?'animation-bottom-out':'animation-top-out',showPosition==='bottom'?'position-bottom':'position-top']}}" scroll-y="{{true}}"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="__i0__" wx:key="keyName"><view data-event-opts="{{[['tap',[['handleClickItem',['$0'],[[['filterList',''+keyName+'',item.$orig[keyName]]]]]]]]}}" class="{{['select-option-item','data-v-5fdefe44',item.g6?'item-active':value===item.$orig[keyName]?'item-active':'']}}" catchtap="__e">{{''+item.$orig[valueName]+''}}</view></block><block wx:if="{{$root.g7<1}}"><view class="options-no-data data-v-5fdefe44" style="{{'font-size:'+(fontSize)+';'}}">无匹配数据~</view></block></scroll-view></view><block wx:if="{{isShow}}"><view data-event-opts="{{[['tap',[['closeContentSelect',['$event']]]]]}}" class="contentMask data-v-5fdefe44" bindtap="__e"></view></block></view>
|