index.wxml 3.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <safetyTip id="safeTip" />
  2. <chat show="{{showChat}}" type="1" ishome="true" wx:if="{{showChat}}" bind:close="closeChat"/>
  3. <view class="common_fix common_service" hidden="{{!showBack}}" bindtap="openServicePopup">
  4. <text class="icon icon-consulting"></text>
  5. </view>
  6. <view class="common_fix common_back" hidden="{{!showBack}}" bindtap="toTop">
  7. <text class="icon icon-toTop"></text>
  8. </view>
  9. <!-- 添加筛选 -->
  10. <view class="screen screenFix" hidden="{{screenHid}}">
  11. <view class="screen-col {{days == item.id?'screenCurrent':'screenCol'}}" wx:for="{{screen}}" bindtap="chooseScreen" data-id="{{item.id}}" wx:key="*this">{{item.txt}}</view>
  12. <view class="screen-col screenCol line {{defaultHid?'':'default'}}" bindtap="defaultShow">{{sort==0?'默认':sort==1?'时间':'人气'}}<text class="drop {{defaultHid?'dropDown':'dropUp'}}"></text></view>
  13. <view class="defaultHid" hidden="{{defaultHid}}">
  14. <view class="{{sort == item.id?'defaultCur':''}}" wx:for="{{default}}" bindtap="defaultScreen" data-id="{{item.id}}" wx:key="*this">{{item.txt}}</view>
  15. </view>
  16. </view>
  17. <view class="topCol">
  18. <!-- <navigator url="/pages/city/list" class="city">{{region || '定位中'}}<text wx:if="{{region}}"></text></navigator> -->
  19. <navigator url='/pages/public/search/search' class="searchBox">
  20. <text class="icon iconfont icon-search"></text>
  21. <view class="input">夏令营</view>
  22. </navigator>
  23. </view>
  24. <view class="content">
  25. <downTimer source="0" />
  26. <swiper indicator-dots="true" class="swiper" autoplay="true" wx:if="{{info.cyclePositions.length > 0}}">
  27. <block wx:for="{{info.cyclePositions}}" wx:key="*this">
  28. <swiper-item bindtap="navigatorCols" data-type="cyclePositions" data-index="{{index}}">
  29. <image src="{{item.logo}}" class="slide-image" />
  30. </swiper-item>
  31. </block>
  32. </swiper>
  33. <view style="background-color: #AFDBF6;height: 40rpx;width: 100%;position: absolute;top: 97rpx;left: 0;z-index: -99;"> </view>
  34. <view class="white-bg septal-top-line borderTopRadiu" wx:if="{{info.advertise.length > 0 || info.columns.length > 0}}">
  35. <!--菜单导航 begin start-->
  36. <view class="grids" wx:if="{{info.columns.length > 0}}">
  37. <view class="grids-item grids-item-20" wx:for="{{info.columns}}" wx:key="*this">
  38. <view class="grids-content" bindtap="navigatorCols" data-type="columns" data-index="{{index}}">
  39. <image src="{{item.logo}}" class="grids-img"></image>
  40. </view>
  41. </view>
  42. </view>
  43. <view class="live" wx:if="{{info.live.liveSwitch == 1}}" bindtap="navigatorLive"><image src="{{info.live.liveImg}}"></image></view>
  44. <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>
  45. </view>
  46. <!--菜单导航 begin end-->
  47. <!-- 添加筛选 -->
  48. <view class="septal-top-line">
  49. <!-- <view class="screen borderTopRadiu" id="screen">
  50. <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>
  51. <view class="screen-col screenCol line {{defaultHid?'':'default'}}" bindtap="defaultShow">{{sort==0?'默认':sort==1?'时间':'人气'}}<text class="drop {{defaultHid?'dropDown':'dropUp'}}"></text></view>
  52. <view class="defaultHid" hidden="{{defaultHid}}" id="click_sort" wx:if="{{!defaultHid}}">
  53. <view class="{{sort == item.id?'defaultCur':''}}" wx:for="{{default}}" bindtap="defaultScreen" data-id="{{item.id}}" wx:key="*this">{{item.txt}}</view>
  54. </view>
  55. </view> -->
  56. <!-- 推荐 -->
  57. <activity data="{{activeData}}" imgPath="{{imgPath}}" />
  58. <view wx:if="{{historyData.length>0}}" class="history-act-img"></view>
  59. <activity data="{{historyData}}" imgPath="{{imgPath}}" history="1"/>
  60. </view>
  61. <view class='load-more' hidden="{{!bottom}}">下面没有了哦</view>
  62. </view>
  63. <tabbar tabbar="{{tabbar}}"></tabbar>