<!--packageC/Myshaky/searchResult/searchResult.wxml-->
<view class="searchResult">
  <view class="searchBox">
    <view class="searchDizhi" catchtap="goDw">
      <view class="city">{{city}}</view>
      <van-icon name='arrow-down'></van-icon>
    </view>
    <view class="searchInput">
      <icon class="iconfont icon-sousuo fontOne"></icon>
      <input placeholder="搜索你喜欢的活动" class="inputTitle" bindinput="inpText"></input>
    </view>
    <view class="bbtn" bindtap="goSearch">搜索</view>
  </view>
  <view class="intoduc" wx:if="{{kong}}">
    没有该活动
  </view>
  <view class="intoduceBottom" wx:else>
    <view class='loveList' wx:for="{{listData}}" wx:key='index' id="{{item.id}}" bindtap="goxq">
      <view class='listLefts'>
        <image mode="aspectFill" src="{{item.thumb}}"></image>
        <!-- 报名状态 -->
        <view class='listStatus' wx:if="{{nowTime > item.registration_time && nowTime < item.registration_end_time}}">报名中</view>
        <view class='listStatus' wx:if="{{nowTime < item.registration_time }}">待开始</view>
        <view class='listStatus' wx:if="{{nowTime > item.registration_end_time}}">报名结束</view>
      </view>
      <view class='listRight'>
        <view class='dy'>
          <view class='de'>{{item.title}}</view>
          <view class='listTime'>
            <icon class='iconfont icon-service_j fontTwo'></icon>
            <view class='listext'>{{item.start_time}}开始</view>
          </view>
          <view class='ds'>
            <view wx:if="{{item.cash != '0.00'}}">
              <view class='ds1'>￥</view>
              <view class='ds2'>{{item.cash}}</view>
            </view>
            <view wx:else>
              <view>免费</view>
            </view>
            <view class='dsi'>
              <view class='dw'>{{item.city_name}}</view>
              <view class='dq'>|</view>
              <view class='dl'>{{item.address}}</view>
            </view>
          </view>
        </view>
      </view>
    </view>
  </view>
</view>