|
|
|
@ -4,7 +4,7 @@ |
|
|
|
<view class="bg" wx:if="{{!isTest}}" style="background-image: url({{indexSeason.background}});"> |
|
|
|
<!-- 顶部banner --> |
|
|
|
<view style="position:relative;z-index: 1;"> |
|
|
|
<swiper class="swiper" autoplay="{{true}}" interval="{{5000}}" duration="{{300}}" |
|
|
|
<swiper class="swiper" autoplay="{{true}}" interval="{{3000}}" duration="{{300}}" |
|
|
|
bindchange="changeBannerIndex" data-keyname="activeBannerIndex" circular> |
|
|
|
<block wx:for="{{banner}}" wx:key="index"> |
|
|
|
<swiper-item bindtap="bannerClick" data-item="{{item}}"> |
|
|
|
@ -62,7 +62,7 @@ |
|
|
|
<view class="content-box"> |
|
|
|
<!-- 苏城环游记 todo--> |
|
|
|
<view class="small-swiper-box" wx:if="{{ztbanner.length>0 && func_data.tour_guide}}"> |
|
|
|
<swiper class="small-swiper" autoplay="{{true}}" interval="{{5000}}" duration="{{300}}" |
|
|
|
<swiper class="small-swiper" autoplay="{{true}}" interval="{{3000}}" duration="{{300}}" |
|
|
|
bindchange="changeBannerIndex" data-keyname="ztBannerIndex"> |
|
|
|
<block wx:for="{{ztbanner}}" wx:key="index"> |
|
|
|
<swiper-item bindtap="bannerClick" data-item="{{item}}"> |
|
|
|
@ -94,9 +94,9 @@ |
|
|
|
<view class="season-hot"> |
|
|
|
<view class="season-item" wx:for="{{list}}" wx:key="index" bind:tap="productGotoDetail" data-item="{{item}}"> |
|
|
|
<image src="{{item.headimg}}"></image> |
|
|
|
<view class="season-content" style="padding:6rpx 12rpx 0;height: 120rpx;"> |
|
|
|
<view class="season-content" style="padding:6rpx 12rpx;min-height: 130rpx;"> |
|
|
|
<view class="textOver2">{{item.title}}</view> |
|
|
|
<view class="price" style="padding-top: 8rpx;"> |
|
|
|
<view class="price"> |
|
|
|
<text>¥</text><text>{{item.price/100}}</text><text>起</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
@ -123,7 +123,7 @@ |
|
|
|
</view> |
|
|
|
<!-- 右边的banner --> |
|
|
|
<view class="xpth-banner" wx:if="{{xpth&&xpth.adv&&xpth.adv.length>0}}"> |
|
|
|
<swiper class="xpth-banner-swiper" autoplay="{{true}}" interval="{{5000}}" duration="{{300}}" |
|
|
|
<swiper class="xpth-banner-swiper" autoplay="{{true}}" interval="{{3000}}" duration="{{300}}" |
|
|
|
bindchange="changeBannerIndex" data-keyname="XPathBannerIndex"> |
|
|
|
<block wx:for="{{xpth.adv}}" wx:key="index"> |
|
|
|
<swiper-item bindtap="bannerClick" data-item="{{item}}"> |
|
|
|
@ -141,7 +141,7 @@ |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="small-swiper-box" wx:if="{{xiaobanner.length>0 && func_data.banner_mini}}"> |
|
|
|
<swiper class="small-swiper" autoplay="{{true}}" interval="{{5000}}" duration="{{300}}" |
|
|
|
<swiper class="small-swiper" autoplay="{{true}}" interval="{{3000}}" duration="{{300}}" |
|
|
|
bindchange="changeBannerIndex" data-keyname="smBannerIndex"> |
|
|
|
<block wx:for="{{xiaobanner}}" wx:key="index"> |
|
|
|
<swiper-item bindtap="bannerClick" data-item="{{item}}" style="position: relative;"> |
|
|
|
@ -310,7 +310,7 @@ |
|
|
|
<view class="bg" wx:else style="background-image: url({{indexSeason.background}});"> |
|
|
|
<!-- 顶部banner --> |
|
|
|
<view style="position:relative;z-index: 1;"> |
|
|
|
<swiper class="swiper" autoplay="{{true}}" interval="{{5000}}" duration="{{300}}" |
|
|
|
<swiper class="swiper" autoplay="{{true}}" interval="{{3000}}" duration="{{300}}" |
|
|
|
bindchange="changeBannerIndex" data-keyname="activeBannerIndex" circular> |
|
|
|
<block wx:for="{{banner}}" wx:key="index"> |
|
|
|
<swiper-item data-item="{{item}}"> |
|
|
|
@ -336,7 +336,7 @@ |
|
|
|
<view class="content-box"> |
|
|
|
<!-- 苏城环游记 todo--> |
|
|
|
<view class="small-swiper-box" wx:if="{{ztbanner.length>0 && func_data.tour_guide}}"> |
|
|
|
<swiper class="small-swiper" autoplay="{{true}}" interval="{{5000}}" duration="{{300}}" |
|
|
|
<swiper class="small-swiper" autoplay="{{true}}" interval="{{3000}}" duration="{{300}}" |
|
|
|
bindchange="changeBannerIndex" data-keyname="ztBannerIndex"> |
|
|
|
<block wx:for="{{ztbanner}}" wx:key="index"> |
|
|
|
<swiper-item data-item="{{item}}"> |
|
|
|
@ -350,7 +350,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
<view class="small-swiper-box" wx:if="{{xiaobanner.length>0 && func_data.banner_mini}}"> |
|
|
|
<swiper class="small-swiper" autoplay="{{true}}" interval="{{5000}}" duration="{{300}}" |
|
|
|
<swiper class="small-swiper" autoplay="{{true}}" interval="{{3000}}" duration="{{300}}" |
|
|
|
bindchange="changeBannerIndex" data-keyname="smBannerIndex"> |
|
|
|
<block wx:for="{{xiaobanner}}" wx:key="index"> |
|
|
|
<swiper-item data-item="{{item}}" style="position: relative;"> |
|
|
|
|