123456789101112131415161718192021 |
- <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="{{tips.length!=0}}">
- <view bindtap="bindSearch2" data-keywords="{{item}}" class="text_box" hover-class='active' wx:for="{{tips}}" wx:key="key" wx:if="{{item.location.length!=0}}">
- <view class='search'>
- <image src='/images/search.png'></image>
- </view>
- <view class='text_context'>
- <text class='bold'>{{item.name}}</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="{{tips.length==0}}">没有搜索结果</view>
|