<!--packageI/donation_project/donationProjectSearch/donationProjectSearch.wxml-->

<view class="searchBox">
  <view class="search" bindtap="gotoSearch">
    <icon class="iconfont icon-all_search_2"></icon>
    <input type="text" value="{{searchText}}" bindconfirm="getListData" confirm-type="search" placeholder="请输入姓名或手机号进行查询" />
  </view>
</view>



<view class="wrapper">
  <view class="donation-list ">
    <view class="donation-item" wx:for="{{listData}}" bindtap="getDetails" data-id="{{item.id}}">
      <view class="desc_info">
        <view class="name text-overHide">{{ item.name }}</view>
        <view class="price"><text class="small">￥</text><text class="num">{{ item.price }}</text></view>
      </view>
      <view class="project_name text-overHide" wx:if="{{item.project || item.project.length}}">项目名称：{{ item.project.title || item.project[0].title }}</view>
      <view class="time">
        <i class="iconfont icon-qhm_record"></i>
        <text>{{ item.time }}</text>
      </view>
    </view>
  </view>
</view>

<view wx:if="{{listData.length==0 && networkLoading}}" class="blank">
	<image  src='https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/blank.png' mode='widthFix' />
</view>