<!--pages/search/index.wxml-->
<view class="page-wrapper">
  <view class="search-header">
    <view class='search-wrapper'>
      <image class="search-icon" src='/images/icon_search.png'></image>
      <view class='search-input'  bindtap='gotoSearch'>关键词如地名、游泳等</view>
    </view>
    <search-filter bind:filter="filterChange" />
  </view>

  <view class="projects-wrapper">
     <project-item wx:for="{{projects}}" wx:for-index="idx" wx:for-item="item" wx:key="n.id" project-item="{{item}}" />
  </view>

  <more hasMore="{{hasMore}}" loading="{{loading}}" page="{{currentPage}}" />
</view>