<view class="section"> <view class='search_icon' hover-class='active' bindtap='bindSearch'> <!-- <icon type="search" size="20" /> --> <image src='/images/search.png'></image> </view> <input type='text' placeholder-class="section_phcolor" placeholder="请输入搜索内容" focus="true" confirm-type='search' bindinput="bindInput" bindconfirm="bindSearch" /> <view class='cancel' bindtap='cancel'>取消</view> </view> <scroll-view class='context' scroll-y='true' wx:if="{{chargList.length!=0}}" bindscrolltolower="bindScrollTolowerEvent"> <view bindtap="bindSearch2" data-keywords="{{item}}" class="text_box" hover-class='active' wx:for="{{chargList}}" wx:key="key" > <view class='text_context'> <text class='bold'>{{item.chargStationName}}</text> <!-- <text class="h1">{{item.district}}{{item.address}}</text> --> </view> <!-- <text class="right">所有站场</text> --> </view> </scroll-view> <view class='no_result' bindtap='bindSearch' wx:if="{{chargList.length==0}}">没有搜索结果</view>