<!-- packageC/Myshaky/activityHome/activityHome.wxml -->
<view class="activityHome">
  <view class="searchBox">
    <view class="searchDizhi" catchtap="goDw">
      <icon class="iconfont icon-service_n" style="  margin-top: -5rpx;"></icon>
      <view class="city">{{city}}</view>
      <van-icon name='arrow-down'></van-icon>
    </view>
    <view class="searchInput" catchtap="goSearch" >
      <icon class="iconfont icon-sousuo fontOne"></icon>
      <input placeholder="搜索你喜欢的活动" class="inputTitle" bindinput="inpText" disabled="true"></input>
    </view>
  </view>
  <view class="bannerBox">
    <swiper style='height:{{Height}}' indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" circular="true"  indicator-active-color="rgba(255, 255, 255, 1)">
      <block wx:for="{{imageurl}}" wx:key="index">
        <swiper-item class='firSwiper' catchtap='tapUrl' data-url="{{item.app_link}}" >
          <view class="testOne">
            <image mode="widthFix" bindload='imgHeight' src="{{item.thumb}}"></image>
          </view>
        </swiper-item>
      </block>
    </swiper>
  </view>
  <view class="sort">
    <view class="ul">
      <view class="item li" wx:for="{{categories}}" wx:key="index">
        <view class="img" id="{{item.id}}" bindtap="goFenlei" data-solt="{{item.sort}}" data-name='Channel' data-cname='{{item.calssify_title}}'>
          <image mode="aspectFill" src="{{item.thumb}}"></image>
        </view>
        <view class="span">{{item.calssify_title}}</view>
      </view>
    </view>
  </view>
  <!-- 热门 -->
  <view class="hot-least" wx:if="{{set && set.is_hot==1}}">
    <view class="title">
      <view class="strong">
        <view>近期热门</view>
      </view>
      <view class="all" id="0" bindtap="goFenlei" data-name="hot">
        全部
        <van-icon name='arrow'></van-icon>
      </view>
    </view>
    <view class="image">
      <scroll-view class='hotswiper' scroll-x="true" style="width: 100%" scroll-with-animation='true'>
        <view class="hot-swiperLisBoxs" id="{{item.id}}" bindtap="goxq" wx:for='{{hot}}' wx:key='index'>
          <view class='hotPhoto'>
            <image src="{{item.thumb}}" mode="aspectFill"></image>
          </view>
        </view>
      </scroll-view>
    </view>
  </view>
  <!-- 人气 -->
  <view class="people-hot" wx:if="{{set && set.is_discount==1}}">
    <view class="hotTop">人气精选</view>
    <view class="hotList">
      <scroll-view class='hotswiper' scroll-x="true" style="width: 100%" scroll-with-animation='true'>
        <view class="swiperLisBox" id="{{item.id}}" bindtap="goxq" wx:for='{{discount}}' wx:key='index'>
          <view class='hotPhoto'>
            <image mode="aspectFill" src="{{item.thumb}}"></image>
          </view>
          <view class='hotLis'>
            <view class='hotLis-tit'>{{item.title}}</view>
            <view class='hotLis-Time'>{{item.start_time}}-{{item.end_time}}</view>
          </view>
        </view>
        <view class="swiperLisBoxs" id="0" bindtap="goFenlei" data-name='poper'>
          <view class="ddbox">
            <view class='hotPhoto-top'>查看更多</view>
            <view class="hotline"></view>
            <view class='hotLis'>See More</view>
          </view>
          
        </view>
      </scroll-view>
    </view>
  </view>
  <!-- 推荐 -->
  <view class="intoduce" wx:if="{{set && set.is_recommand==1}}">
    <view class="intoduceTitle">为您推荐</view>
    <view class="intoduceBottom">
      <view class='loveList' wx:for="{{recommand}}" wx:key="index" id="{{item.id}}" bindtap="goxq">
        <view class='listLeft'>
          <!-- 报名状态 -->
          <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>
          <image mode="aspectFill" src="{{item.thumb}}"></image>
        </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>
</view>
<kFoot exshow="{{true}}" wx:if="{{kFootshow}}"></kFoot>
<shopfoot bindtabrshow="tabrshowbtn"></shopfoot>