findstation.wxml 1.0 KB

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