|
|
@ -4,7 +4,7 @@ |
|
|
<view class="bg" wx:if="{{!isTest}}" style="background-image: url({{indexSeason.background}});"> |
|
|
<view class="bg" wx:if="{{!isTest}}" style="background-image: url({{indexSeason.background}});"> |
|
|
<!-- 顶部banner --> |
|
|
<!-- 顶部banner --> |
|
|
<view style="position:relative;z-index: 1;"> |
|
|
<view style="position:relative;z-index: 1;"> |
|
|
<swiper class="swiper" autoplay="{{true}}" interval="{{3000}}" duration="{{300}}" |
|
|
<swiper class="swiper" autoplay="{{false}}" interval="{{3000}}" duration="{{300}}" |
|
|
bindchange="changeBannerIndex" data-keyname="activeBannerIndex" circular |
|
|
bindchange="changeBannerIndex" data-keyname="activeBannerIndex" circular |
|
|
indicator-dots indicator-active-color="#fff"> |
|
|
indicator-dots indicator-active-color="#fff"> |
|
|
<block wx:for="{{banner}}" wx:key="index"> |
|
|
<block wx:for="{{banner}}" wx:key="index"> |
|
|
@ -70,7 +70,7 @@ |
|
|
<view class="content-box"> |
|
|
<view class="content-box"> |
|
|
<!-- 苏城环游记 todo--> |
|
|
<!-- 苏城环游记 todo--> |
|
|
<view class="small-swiper-box" wx:if="{{ztbanner.length>0 && func_data.tour_guide}}"> |
|
|
<view class="small-swiper-box" wx:if="{{ztbanner.length>0 && func_data.tour_guide}}"> |
|
|
<swiper class="small-swiper" autoplay="{{true}}" interval="{{3000}}" duration="{{300}}" |
|
|
<swiper class="small-swiper" autoplay="{{false}}" interval="{{3000}}" duration="{{300}}" |
|
|
bindchange="changeBannerIndex" data-keyname="ztBannerIndex"> |
|
|
bindchange="changeBannerIndex" data-keyname="ztBannerIndex"> |
|
|
<block wx:for="{{ztbanner}}" wx:key="index"> |
|
|
<block wx:for="{{ztbanner}}" wx:key="index"> |
|
|
<swiper-item bindtap="bannerClick" data-item="{{item}}"> |
|
|
<swiper-item bindtap="bannerClick" data-item="{{item}}"> |
|
|
@ -134,7 +134,7 @@ |
|
|
</view> |
|
|
</view> |
|
|
<!-- 右边的banner --> |
|
|
<!-- 右边的banner --> |
|
|
<view class="xpth-banner" wx:if="{{xpth&&xpth.adv&&xpth.adv.length>0}}"> |
|
|
<view class="xpth-banner" wx:if="{{xpth&&xpth.adv&&xpth.adv.length>0}}"> |
|
|
<swiper class="xpth-banner-swiper" autoplay="{{true}}" interval="{{3000}}" duration="{{300}}" |
|
|
<swiper class="xpth-banner-swiper" autoplay="{{false}}" interval="{{3000}}" duration="{{300}}" |
|
|
bindchange="changeBannerIndex" data-keyname="XPathBannerIndex"> |
|
|
bindchange="changeBannerIndex" data-keyname="XPathBannerIndex"> |
|
|
<block wx:for="{{xpth.adv}}" wx:key="index"> |
|
|
<block wx:for="{{xpth.adv}}" wx:key="index"> |
|
|
<swiper-item bindtap="bannerClick" data-item="{{item}}" data-source="限时特惠"> |
|
|
<swiper-item bindtap="bannerClick" data-item="{{item}}" data-source="限时特惠"> |
|
|
@ -152,7 +152,7 @@ |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="small-swiper-box" wx:if="{{xiaobanner.length>0 && func_data.banner_mini}}"> |
|
|
<view class="small-swiper-box" wx:if="{{xiaobanner.length>0 && func_data.banner_mini}}"> |
|
|
<swiper class="small-swiper" autoplay="{{true}}" interval="{{3000}}" duration="{{300}}" |
|
|
<swiper class="small-swiper" autoplay="{{false}}" interval="{{3000}}" duration="{{300}}" |
|
|
bindchange="changeBannerIndex" data-keyname="smBannerIndex"> |
|
|
bindchange="changeBannerIndex" data-keyname="smBannerIndex"> |
|
|
<block wx:for="{{xiaobanner}}" wx:key="index"> |
|
|
<block wx:for="{{xiaobanner}}" wx:key="index"> |
|
|
<swiper-item bindtap="bannerClick" data-item="{{item}}" style="position: relative;"> |
|
|
<swiper-item bindtap="bannerClick" data-item="{{item}}" style="position: relative;"> |
|
|
@ -286,7 +286,7 @@ |
|
|
<!-- 广告弹窗 --> |
|
|
<!-- 广告弹窗 --> |
|
|
<view class="zzc" bindtap="closeAdv" wx:if="{{showAdv}}"></view> |
|
|
<view class="zzc" bindtap="closeAdv" wx:if="{{showAdv}}"></view> |
|
|
<view class="alertavd" wx:if="{{showAdv}}"> |
|
|
<view class="alertavd" wx:if="{{showAdv}}"> |
|
|
<swiper class="alertsp" indicator-dots='{{true}}' indicator-color="rgba(255,255,255,0.5)" autoplay="{{true}}" interval="{{3000}}" duration="{{300}}" indicator-active-color="white"> |
|
|
<swiper class="alertsp" indicator-dots='{{true}}' indicator-color="rgba(255,255,255,0.5)" autoplay="{{false}}" interval="{{3000}}" duration="{{300}}" indicator-active-color="white"> |
|
|
<block wx:for="{{alertSwipeList}}" wx:key="index"> |
|
|
<block wx:for="{{alertSwipeList}}" wx:key="index"> |
|
|
<swiper-item data-item="{{item}}" bindtap="bannerClick"> |
|
|
<swiper-item data-item="{{item}}" bindtap="bannerClick"> |
|
|
<image src="{{item.head_img}}" style="width: 100%; height:100%; border-radius: 10rpx;" mode="aspectFill"></image> |
|
|
<image src="{{item.head_img}}" style="width: 100%; height:100%; border-radius: 10rpx;" mode="aspectFill"></image> |
|
|
@ -321,7 +321,7 @@ |
|
|
<view class="bg" wx:else style="background-image: url({{indexSeason.background}});"> |
|
|
<view class="bg" wx:else style="background-image: url({{indexSeason.background}});"> |
|
|
<!-- 顶部banner --> |
|
|
<!-- 顶部banner --> |
|
|
<view style="position:relative;z-index: 1;"> |
|
|
<view style="position:relative;z-index: 1;"> |
|
|
<swiper class="swiper" autoplay="{{true}}" interval="{{3000}}" duration="{{300}}" |
|
|
<swiper class="swiper" autoplay="{{false}}" interval="{{3000}}" duration="{{300}}" |
|
|
bindchange="changeBannerIndex" data-keyname="activeBannerIndex" circular> |
|
|
bindchange="changeBannerIndex" data-keyname="activeBannerIndex" circular> |
|
|
<block wx:for="{{banner}}" wx:key="index"> |
|
|
<block wx:for="{{banner}}" wx:key="index"> |
|
|
<swiper-item data-item="{{item}}"> |
|
|
<swiper-item data-item="{{item}}"> |
|
|
@ -347,7 +347,7 @@ |
|
|
<view class="content-box"> |
|
|
<view class="content-box"> |
|
|
<!-- 苏城环游记 todo--> |
|
|
<!-- 苏城环游记 todo--> |
|
|
<view class="small-swiper-box" wx:if="{{ztbanner.length>0 && func_data.tour_guide}}"> |
|
|
<view class="small-swiper-box" wx:if="{{ztbanner.length>0 && func_data.tour_guide}}"> |
|
|
<swiper class="small-swiper" autoplay="{{true}}" interval="{{3000}}" duration="{{300}}" |
|
|
<swiper class="small-swiper" autoplay="{{false}}" interval="{{3000}}" duration="{{300}}" |
|
|
bindchange="changeBannerIndex" data-keyname="ztBannerIndex"> |
|
|
bindchange="changeBannerIndex" data-keyname="ztBannerIndex"> |
|
|
<block wx:for="{{ztbanner}}" wx:key="index"> |
|
|
<block wx:for="{{ztbanner}}" wx:key="index"> |
|
|
<swiper-item data-item="{{item}}"> |
|
|
<swiper-item data-item="{{item}}"> |
|
|
@ -361,7 +361,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<view class="small-swiper-box" wx:if="{{xiaobanner.length>0 && func_data.banner_mini}}"> |
|
|
<view class="small-swiper-box" wx:if="{{xiaobanner.length>0 && func_data.banner_mini}}"> |
|
|
<swiper class="small-swiper" autoplay="{{true}}" interval="{{3000}}" duration="{{300}}" |
|
|
<swiper class="small-swiper" autoplay="{{false}}" interval="{{3000}}" duration="{{300}}" |
|
|
bindchange="changeBannerIndex" data-keyname="smBannerIndex"> |
|
|
bindchange="changeBannerIndex" data-keyname="smBannerIndex"> |
|
|
<block wx:for="{{xiaobanner}}" wx:key="index"> |
|
|
<block wx:for="{{xiaobanner}}" wx:key="index"> |
|
|
<swiper-item data-item="{{item}}" style="position: relative;"> |
|
|
<swiper-item data-item="{{item}}" style="position: relative;"> |
|
|
|