<safetyTip id="safeTip" />
<chat show="{{showChat}}" type="1" ishome="true" wx:if="{{showChat}}" bind:close="closeChat"/>
<view class="common_fix common_service" hidden="{{!showBack}}" bindtap="openServicePopup">
	<text class="icon icon-consulting"></text>
</view>
<view class="common_fix common_back" hidden="{{!showBack}}" bindtap="toTop">
	<text class="icon icon-toTop"></text>
</view>
<!-- 添加筛选 -->
<view class="screen screenFix" hidden="{{screenHid}}">
	<view class="screen-col {{days == item.id?'screenCurrent':'screenCol'}}" wx:for="{{screen}}" bindtap="chooseScreen" data-id="{{item.id}}" wx:key="*this">{{item.txt}}</view>
	<view class="screen-col screenCol line {{defaultHid?'':'default'}}" bindtap="defaultShow">{{sort==0?'默认':sort==1?'时间':'人气'}}<text class="drop {{defaultHid?'dropDown':'dropUp'}}"></text></view>
	<view class="defaultHid" hidden="{{defaultHid}}">
		<view class="{{sort == item.id?'defaultCur':''}}" wx:for="{{default}}" bindtap="defaultScreen" data-id="{{item.id}}" wx:key="*this">{{item.txt}}</view>
	</view>
</view>

<view class="topCol">
  <!-- <navigator url="/pages/city/list" class="city">{{region || '定位中'}}<text wx:if="{{region}}"></text></navigator> -->
  <navigator url='/pages/public/search/search' class="searchBox">
    <text class="icon iconfont icon-search"></text>
    <view class="input">夏令营</view>
  </navigator>
</view>
<view class="content">
  <downTimer source="0" />
  <swiper indicator-dots="true" class="swiper" autoplay="true" wx:if="{{info.cyclePositions.length > 0}}">
      <block wx:for="{{info.cyclePositions}}" wx:key="*this">
        <swiper-item bindtap="navigatorCols" data-type="cyclePositions" data-index="{{index}}">
            <image src="{{item.logo}}" class="slide-image" />
        </swiper-item>
      </block>
  </swiper>
  <view style="background-color: #AFDBF6;height: 40rpx;width: 100%;position: absolute;top: 97rpx;left: 0;z-index: -99;"> </view>
  <view class="white-bg septal-top-line borderTopRadiu" wx:if="{{info.advertise.length > 0 || info.columns.length > 0}}">
    <!--菜单导航 begin start-->
    <view class="grids" wx:if="{{info.columns.length > 0}}">
      <view class="grids-item grids-item-20" wx:for="{{info.columns}}" wx:key="*this">
        <view class="grids-content" bindtap="navigatorCols" data-type="columns" data-index="{{index}}">
          <image src="{{item.logo}}" class="grids-img"></image>
        </view>
      </view>
    </view>
    <view class="live" wx:if="{{info.live.liveSwitch == 1}}" bindtap="navigatorLive"><image src="{{info.live.liveImg}}"></image></view>
    <view class="banner" wx:if="{{info.advertise.length > 0}}" wx:for="{{info.advertise}}" wx:key="index" bindtap="navigatorCols" data-type="advertise" data-index="{{index}}"><image src="{{item.logo}}"></image></view>
  </view>
  <!--菜单导航 begin end-->
  <!-- 添加筛选 -->
  <view class="septal-top-line">
    <!-- <view class="screen borderTopRadiu" id="screen">
      <view class="screen-col {{days == item.id?'screenCurrent':'screenCol'}}" wx:for="{{screen}}" bindtap="chooseScreen" data-id="{{item.id}}" wx:key="*this" id="click_date">{{item.txt}}</view>
      <view class="screen-col screenCol line {{defaultHid?'':'default'}}" bindtap="defaultShow">{{sort==0?'默认':sort==1?'时间':'人气'}}<text class="drop {{defaultHid?'dropDown':'dropUp'}}"></text></view>
      <view class="defaultHid" hidden="{{defaultHid}}" id="click_sort" wx:if="{{!defaultHid}}">
        <view class="{{sort == item.id?'defaultCur':''}}" wx:for="{{default}}" bindtap="defaultScreen" data-id="{{item.id}}" wx:key="*this">{{item.txt}}</view>
      </view>
    </view> -->
    <!-- 推荐 -->
    <activity data="{{activeData}}" imgPath="{{imgPath}}" />
    <view wx:if="{{historyData.length>0}}" class="history-act-img"></view>
    <activity data="{{historyData}}" imgPath="{{imgPath}}" history="1"/>
  </view>
  <view class='load-more' hidden="{{!bottom}}">下面没有了哦</view>
</view>
<tabbar tabbar="{{tabbar}}"></tabbar>