<!--packageH/blindBox/blindBoxIndex/blindBoxIndex.wxml-->
<view class="page">
    <view class="searchBox">
      <view class="search" catchtap="toSearch">
        <icon class="iconfont icon-all_search_2"></icon>
        <input type="text" name="" id="" placeholder="搜索盲盒活动" bindconfirm='goSearch' bindblur="goSearch" bindinput="textInp" />
      </view>
    </view>
    <view class="banner">
      <!-- <image src="" alt="" ></image> -->
      <swiper circular='true' autoplay="{{true}}">
        <block wx:for="{{slide}}" wx:key='index'>
          <swiper-item>
            <image src="{{item.img_src}}" catchtap="tapSlide" data-mini_url="{{item.mini_url}}"></image>
          </swiper-item>
        </block>
      </swiper>
    </view>
    <van-tabs active="{{activeName}}" title-active-color="#f14e4e" bind:change="tapTabs">
      <van-tab title="全部"></van-tab>
      <van-tab title="进行中"></van-tab>
      <van-tab title="未开始"></van-tab>
      <van-tab title="已结束"></van-tab>
    </van-tabs>
    <view class="listItems">
      <view class="listItem" wx:for="{{list}}" wx:key='index' catchtap="goDetail" data-id='{{item.id}}'>
        <view class="image">
          <image src="{{item.activity_img_src}}" alt="" ></image>
        </view>
        <view class="name">{{item.activity_name}}</view>
        <view class="price">￥{{item.price}}</view>
        <view class="num">
          <icon class="iconfont icon-fontclass-renshu1"></icon>
          <span>{{item.join_log_count}}人参与</span>
        </view>
      </view>
    </view>
		<view class="order" catchtap="goOrder">
			<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/blindBoxOrder.png" alt=""></image>
		</view>
  </view>

  <!-- <shopfoot></shopfoot> -->