You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

0 lines
2.2 KiB

6 months ago
  1. <view class="{{['show-box','_div','data-v-ce8b158a',(disabled)?'disabled':'',(isShowList)?'active':'']}}" style="{{(style_Container)}}"><block wx:if="{{showInput}}"><input class="input data-v-ce8b158a" placeholder-style="color: #bbb;" type="text" placeholder="{{placeholder}}" data-event-opts="{{[['focus',[['onFocus',['$event']]]],['blur',[['onBlur',['$event']]]],['input',[['__set_model',['','selectText','$event',[]]],['onInput',['$event']]]],['confirm',[['$emit',['confirm','$event']]]]]}}" value="{{selectText}}" bindfocus="__e" bindblur="__e" bindinput="__e" bindconfirm="__e"/></block><block wx:else><view data-event-opts="{{[['tap',[['onUpperClick',['$event']]]]]}}" class="{{['input','_div','data-v-ce8b158a',(selectText===placeholder)?'placeholder':'']}}" style="{{(input_style)}}" bindtap="__e">{{selectText}}</view></block><label data-event-opts="{{[['tap',[['onUpperClick',['$event']]]]]}}" class="{{['iconfont','iconarrowBottom-fill','right-arrow','_span','data-v-ce8b158a',(isRotate)?'isRotate':'']}}" bindtap="__e"></label><block wx:if="{{clearable&&selectText&&selectText!=placeholder}}"><label data-event-opts="{{[['tap',[['onClear',['$event']]]]]}}" class="right-arrow _span data-v-ce8b158a" bindtap="__e"><label class="iconfont iconshanchu1 clear _span data-v-ce8b158a"></label></label></block><view data-event-opts="{{[['tap',[['onListClick',['$event']]]]]}}" hidden="{{!(isShowList)}}" class="list-container _div data-v-ce8b158a" style="{{('top:'+listTop__+'px;')}}" catchtap="__e"><label class="popper__arrow _span data-v-ce8b158a"></label><scroll-view class="list data-v-ce8b158a" style="{{'background-color:#fff;'+('max-height: '+listBoxHeight__+'em;')}}" scroll-y="true" scroll-x="true"><block wx:for="{{innerList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['onClickItem',[index,'$0'],[[['innerList','',index,'value']]]]]]]}}" class="{{['item','_div','data-v-ce8b158a',(activeIndex==index)?'active':'',(item.disabled)?'disabled':'']}}" bindtap="__e"><view class="_div data-v-ce8b158a">{{item.value}}</view></view></block><view hidden="{{!(innerList.length==0)}}" class="data-state item _div data-v-ce8b158a">无数据</view></scroll-view></view></view>