<view class="search data-v-5e524b80"><view class="content data-v-5e524b80" style="{{'border-radius:'+(radius+'px')+';'+('border:'+(border)+';')+('background-color:'+(backgroundColor)+';')}}"><view class="{{['content-box data-v-5e524b80',(mode===2)?'center':'']}}"><text class="icon icon-search data-v-5e524b80"></text><input class="{{['input data-v-5e524b80',(!active&&mode===2)?'center':'']}}" focus="{{isFocus}}" placeholder="{{placeholder}}" data-event-opts="{{[['focus',[['focus',['$event']]]],['blur',[['blur',['$event']]]],['input',[['__set_model',['','inputVal','$event',[]]]]]]}}" value="{{inputVal}}" bindfocus="__e" bindblur="__e" bindinput="__e"/><block wx:if="{{isDelShow}}"><text data-event-opts="{{[['tap',[['clear',['$event']]]]]}}" class="icon icon-del data-v-5e524b80" bindtap="__e"></text></block></view><view data-event-opts="{{[['tap',[['search',['$event']]]]]}}" hidden="{{!(active&&show&&button==='inside'||isDelShow&&button==='inside')}}" class="searchBtn data-v-5e524b80" bindtap="__e">搜索</view></view><block wx:if="{{button==='outside'}}"><view data-event-opts="{{[['tap',[['search',['$event']]]]]}}" class="{{['button data-v-5e524b80',(show||active)?'active':'']}}" bindtap="__e"><view class="button-item data-v-5e524b80">{{!show?searchName:'搜索'}}</view></view></block></view>