|
|
|
@ -33,27 +33,38 @@ |
|
|
|
<view class="main-content" > |
|
|
|
<!-- 金刚区 --> |
|
|
|
<view class="no-scrollbar" wx:if="{{mainTypeList.length>0}}"> |
|
|
|
<scroll-view scroll-x style="height:152rpx" bindscroll="listenScroll" data-keyname="mainTypeLeft" class="no-scrollbar"> |
|
|
|
<!-- <scroll-view scroll-x style="height:152rpx" bindscroll="listenScroll" data-keyname="mainTypeLeft" class="no-scrollbar"> |
|
|
|
<view class="top-icons no-scrollbar"> |
|
|
|
<view bindtap="mainNavClick" class="top-icon-item" wx:for="{{mainTypeList}}" wx:key="index" data-item="{{item}}"> |
|
|
|
<image src="{{item.icon}}" mode="aspectFill"></image> |
|
|
|
<view class="top-icon-text">{{item.title}}</view> |
|
|
|
<view class="top-icon-text">{{item.menu_name}}</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</scroll-view> |
|
|
|
<view class="scroll-line"> |
|
|
|
<view class="scroll-line-bg" wx:if="{{mainTypeLeft <= 50}}" style="width:17rpx;"></view> |
|
|
|
<view class="scroll-line-bg" wx:else style="width:17rpx;margin-left: 17rpx;"></view> |
|
|
|
</scroll-view> --> |
|
|
|
<swiper class="top-icons no-scrollbar" autoplay="{{false}}" style="height:160rpx" |
|
|
|
bindchange="changeBannerIndex" data-keyname="mainNavIndex" |
|
|
|
display-multiple-items="5" circular |
|
|
|
current="0"> |
|
|
|
<block wx:for="{{mainTypeList}}" wx:key="index"> |
|
|
|
<swiper-item bindtap="mainNavClick" class="top-icon-item {{(mainNavIndex+2)==index || (index==0&&mainNavIndex==6)||(index==1&&mainNavIndex==7)?'active':''}}" data-item="{{item}}"> |
|
|
|
<image src="{{item.icon}}" mode="aspectFill" class="{{(mainNavIndex+2)==index?'active':''}}"></image> |
|
|
|
<view class="top-icon-text">{{item.menu_name}}</view> |
|
|
|
</swiper-item> |
|
|
|
</block> |
|
|
|
</swiper> |
|
|
|
<view class="scroll-line" style="width: 0 !important;"> |
|
|
|
<!-- <view class="scroll-line-bg" wx:if="{{(mainNavIndex+2) < (mainTypeList.length/2)}}" style="width:17rpx;"></view> |
|
|
|
<view class="scroll-line-bg" wx:else style="width:17rpx;margin-left: 17rpx;"></view> --> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="content-box"> |
|
|
|
<!-- 苏城环游记 todo--> |
|
|
|
<view class="small-swiper-box" wx:if="{{xiaobanner.length>0}}"> |
|
|
|
<view class="small-swiper-box" wx:if="{{ztbanner.length>0 && func_data.tour_guide}}"> |
|
|
|
<swiper class="small-swiper" autoplay="{{true}}" interval="{{5000}}" duration="{{300}}" |
|
|
|
bindchange="changeBannerIndex" data-keyname="smBannerIndex"> |
|
|
|
<block wx:for="{{xiaobanner}}" wx:key="index"> |
|
|
|
bindchange="changeBannerIndex" data-keyname="ztBannerIndex"> |
|
|
|
<block wx:for="{{ztbanner}}" wx:key="index"> |
|
|
|
<swiper-item bindtap="bannerClick" data-item="{{item}}"> |
|
|
|
<!-- 原 圆角77rpx,现改为13rpx --> |
|
|
|
<image style="border-radius:13rpx" src="{{item.head_img}}" mode="aspectFill"></image> |
|
|
|
@ -66,26 +77,26 @@ |
|
|
|
</view> |
|
|
|
|
|
|
|
<!-- 限时特惠--新版--> |
|
|
|
<view class="sale-road-boxes xpth" style="margin-bottom: 18.67rpx;margin-top: 0;padding-top: 0;" > |
|
|
|
<view class="sale-road-boxes xpth" style="margin-bottom: 18.67rpx;margin-top: 0;padding-top: 0;" wx:if="{{func_data.hot_deals}}"> |
|
|
|
<!-- 上方标题部分 --> |
|
|
|
<view class="xsth-title"> |
|
|
|
<view class="xsth-left" style="display: flex;"> |
|
|
|
<image wx:if="{{xpthIndex==0}}" mode="heightFix" class="common-header-img" src="https://static.ticket.sz-trip.com/uploads/20250527/f2dc42edee46a79a6ba375ae1a1c24b7.png"></image> |
|
|
|
<image wx:if="{{xpthIndex==0}}" mode="heightFix" class="common-header-img" src="https://static.ticket.sz-trip.com/uploads/20250604/9bd8c914b1e47d1856729357da00a7b1.png"></image> |
|
|
|
<image wx:else="" bindtap="changeXpthIndex" data-value="{{0}}" mode="heightFix" class="common-header-img" src="https://static.ticket.sz-trip.com/uploads/20250526/2bcce6d179c4abd3fa6cbdec8c8519bf.png"></image> |
|
|
|
|
|
|
|
<image wx:if="{{xpthIndex==0}}" bindtap="changeXpthIndex" data-value="{{1}}" mode="heightFix" class="common-header-img" src="https://static.ticket.sz-trip.com/uploads/20250527/1d1117bf6120fb75159eb8657b15c640.png"></image> |
|
|
|
<image wx:else mode="heightFix" class="common-header-img" src="https://static.ticket.sz-trip.com/uploads/20250526/fcab4f467a250c2750c4af53942fa205.png"></image> |
|
|
|
<image wx:else mode="heightFix" class="common-header-img" src="https://static.ticket.sz-trip.com/uploads/20250604/13c6feaebe2e2a575a64627502608153.png"></image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<!-- 热门 --> |
|
|
|
<view style="width: 100%;" wx:if="{{xpthIndex==0}}"> |
|
|
|
<scroll-view scroll-x style="height:372rpx"> |
|
|
|
<scroll-view scroll-x style="height:372rpx;padding-top: 25rpx;"> |
|
|
|
<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;"> |
|
|
|
<view style="height: 70rpx;" class="textOver2">{{item.title}}</view> |
|
|
|
<view class="price" > |
|
|
|
<view style="height: 60rpx;" class="textOver2">{{item.title}}</view> |
|
|
|
<view class="price" style="padding-top: 8rpx;"> |
|
|
|
<text>¥</text><text>{{item.price/100}}</text><text>起</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
@ -100,13 +111,14 @@ |
|
|
|
<!-- 左边的2个产品 --> |
|
|
|
<view class="xpth-left"> |
|
|
|
<view class="xpth-item" wx:for="{{xpth.list}}" bindtap="productGotoDetail" data-item="{{item}}" wx:key="id"> |
|
|
|
<image src="{{item.headimg}}" mode="" /> |
|
|
|
<view class="xpth-item-content"> |
|
|
|
<view class="xpth-item-title textOver2">{{item.title}}</view> |
|
|
|
<view class="xpth-item-bottom"> |
|
|
|
<view class="xpth-item-price">{{item.price/100}}</view> |
|
|
|
<image class="prod-img" src="{{item.headimg}}" mode="" /> |
|
|
|
<view class="xpth-item-content"> |
|
|
|
<view class="xpth-item-title textOver2">{{item.title}}</view> |
|
|
|
<view class="xpth-item-bottom"> |
|
|
|
<view class="xpth-item-price">{{item.price/100}}</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<image class="cover-image" src="https://static.ticket.sz-trip.com/uploads/20250526/ed62e372f9c8874f9b50b40f70982202.png"></image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<!-- 右边的banner --> |
|
|
|
@ -115,23 +127,26 @@ |
|
|
|
bindchange="changeBannerIndex" data-keyname="XPathBannerIndex"> |
|
|
|
<block wx:for="{{xpth.adv}}" wx:key="index"> |
|
|
|
<swiper-item bindtap="bannerClick" data-item="{{item}}"> |
|
|
|
<image style="border-radius:13rpx" src="{{item.head_img}}"></image> |
|
|
|
<image src="{{item.head_img}}"></image> |
|
|
|
<!-- <view class="xpth-cover textOver2">{{item.title}}</view> --> |
|
|
|
<image class="cover-image" src="https://static.ticket.sz-trip.com/uploads/20250526/90645448ce9a82c91916543bc6c4935c.png"></image> |
|
|
|
</swiper-item> |
|
|
|
</block> |
|
|
|
</swiper> |
|
|
|
<view class="xpth-banner-dot-list"> |
|
|
|
<!-- <view class="xpth-banner-dot-list"> |
|
|
|
<view class="dot{{XPathBannerIndex==index?' active':''}}" wx:for="{{xpth.adv}}" wx:key="index"></view> |
|
|
|
</view> |
|
|
|
</view> --> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="small-swiper-box" wx:if="{{xiaobanner.length>0}}"> |
|
|
|
<view class="small-swiper-box" wx:if="{{xiaobanner.length>0 && func_data.banner_mini}}"> |
|
|
|
<swiper class="small-swiper" autoplay="{{true}}" interval="{{5000}}" duration="{{300}}" |
|
|
|
bindchange="changeBannerIndex" data-keyname="smBannerIndex"> |
|
|
|
<block wx:for="{{xiaobanner}}" wx:key="index"> |
|
|
|
<swiper-item bindtap="bannerClick" data-item="{{item}}"> |
|
|
|
<swiper-item bindtap="bannerClick" data-item="{{item}}" style="position: relative;"> |
|
|
|
<!-- 原 圆角77rpx,现改为13rpx --> |
|
|
|
<image style="position: absolute;left: 0;right: 0;top: 0;bottom: 0;" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/index2025/smallBg.png"></image> |
|
|
|
<image style="border-radius:13rpx" src="{{item.head_img}}" mode="aspectFill"></image> |
|
|
|
</swiper-item> |
|
|
|
</block> |
|
|
|
@ -142,14 +157,14 @@ |
|
|
|
</view> |
|
|
|
|
|
|
|
<!-- 公共服务 --> |
|
|
|
<view class="sale-road-boxes" style="margin-top:0;"> |
|
|
|
<view class="sale-road-boxes" style="margin-top:0;" wx:if="{{func_data.service_public}}"> |
|
|
|
<image class="common-header-img" mode="heightFix" src="{{indexSeason.ggfw}}"></image> |
|
|
|
<navigator url="/pages/pbService/index" catchtap="pagePoint" data-event="public_view" class="title-more"> |
|
|
|
<view style="height: 40rpx;line-height: 40rpx;">更多</view> |
|
|
|
<image style="width: 12rpx;height: 20rpx;margin-left: 8rpx;" src="https://static.ticket.sz-trip.com/uploads/20250526/e6b945c42851563e9672c6992057bd91.png" mode="" /> |
|
|
|
</navigator> |
|
|
|
</view> |
|
|
|
<view> |
|
|
|
<view wx:if="{{func_data.service_public}}"> |
|
|
|
<view class="ggfw-list" style="width:100%;margin-top: 30rpx;"> |
|
|
|
<view class="ggfw" wx:for="{{publicSerivce}}" wx:key="index" data-item="{{item}}" bindtap="mainIconClick"> |
|
|
|
<image src="{{item.img}}"></image> |
|
|
|
@ -158,11 +173,11 @@ |
|
|
|
</view> |
|
|
|
|
|
|
|
<!-- 旅游助手 --> |
|
|
|
<view class="sale-road-boxes" style="margin-top:36rpx"> |
|
|
|
<view class="sale-road-boxes" style="margin-top:36rpx" wx:if="{{func_data.helper_travel}}"> |
|
|
|
<image mode="heightFix" class="common-header-img" src="{{indexSeason.lyzs}}"></image> |
|
|
|
<!-- <image class="rmtj-right" src="{{imageSourceList.CBTP[1]}}" mode="" style="width: 276rpx;height: 100rpx;"/> --> |
|
|
|
</view> |
|
|
|
<view class="pic-list" style="margin-top:30rpx"> |
|
|
|
<view class="pic-list" style="margin-top:30rpx" wx:if="{{func_data.helper_travel}}"> |
|
|
|
<image class="new-pic" wx:for="{{travelData}}" wx:key="index" data-item="{{item}}" bindtap="mainIconClick" |
|
|
|
src="{{item.img}}" mode="aspectFill"></image> |
|
|
|
</view> |
|
|
|
@ -179,11 +194,11 @@ |
|
|
|
|
|
|
|
|
|
|
|
<!-- 数字文旅--> |
|
|
|
<view class="sale-road-boxes" style="margin-top:30rpx"> |
|
|
|
<view class="sale-road-boxes" style="margin-top:30rpx" wx:if="{{func_data.culture_digital}}"> |
|
|
|
<image mode="heightFix" class="common-header-img" src="{{indexSeason.wlcx}}"></image> |
|
|
|
<!-- <image class="rmtj-right" src="{{imageSourceList.CBTP[0]}}" mode="" style="width: 276rpx;height: 100rpx;"/> --> |
|
|
|
</view> |
|
|
|
<view class="slide-out-box"> |
|
|
|
<view class="slide-out-box" wx:if="{{func_data.culture_digital}}"> |
|
|
|
<!-- 元旦修改 .slide-box的原样式 height:360rpx--> |
|
|
|
<scroll-view scroll-x style="height:400rpx" bindscroll="listenScroll" data-keyname="scrollLeft" class="slide-box"> |
|
|
|
<view class="pbservice"> |
|
|
|
@ -201,20 +216,20 @@ |
|
|
|
</view> |
|
|
|
|
|
|
|
<!-- 十全十美 --> |
|
|
|
<view class="sale-road-boxes"> |
|
|
|
<view class="sale-road-boxes" wx:if="{{func_data.scenery_ten}}"> |
|
|
|
<image mode="heightFix" class="common-header-img" src="{{indexSeason.sqj}}"></image> |
|
|
|
<!-- <image class="rmtj-right" src="{{imageSourceList.CBTP[2]}}" mode="" /> --> |
|
|
|
</view> |
|
|
|
<view class="six-box-new"> |
|
|
|
<view class="six-box-new" wx:if="{{func_data.scenery_ten}}"> |
|
|
|
<image wx:for="{{SQSM}}" src="{{item.img}}" data-item="{{item}}" bindtap="mainIconClick" mode="widthFix" wx:key="index"></image> |
|
|
|
</view> |
|
|
|
|
|
|
|
<!-- 长三角文旅平台 --> |
|
|
|
<view class="sale-road-boxes" style="margin-top:0" wx:if="{{otherPlat}}"> |
|
|
|
<!-- 长三角文旅平台 --> |
|
|
|
<view class="sale-road-boxes" style="margin-top:0" wx:if="{{otherPlat &&func_data.platform_nearby}}"> |
|
|
|
<image mode="heightFix" class="common-header-img" src="{{indexSeason.csjwlpt}}"></image> |
|
|
|
<!-- <image class="rmtj-right" src="{{imageSourceList.CBTP[3]}}" mode="" style="width: 276rpx;height: 100rpx;"/> --> |
|
|
|
</view> |
|
|
|
<view class="other-plats" wx:if="{{otherPlat}}"> |
|
|
|
<view class="other-plats" wx:if="{{otherPlat &&func_data.platform_nearby}}"> |
|
|
|
<view class="other-plat" wx:for="{{otherPlat}}" bindtap="gotoOther" data-item="{{item}}" wx:key="index"> |
|
|
|
<image src="{{item.icon}}" mode="heightFix"></image> |
|
|
|
<!-- <view>{{item.name}}</view> --> |
|
|
|
@ -222,11 +237,11 @@ |
|
|
|
</view> |
|
|
|
|
|
|
|
<!-- 热门推荐 --> |
|
|
|
<view class="sale-road-boxes" style="margin-top:0" wx:if="{{repurchaseList.length>0}}"> |
|
|
|
<view class="sale-road-boxes" style="margin-top:0" wx:if="{{repurchaseList.length>0 &&func_data.repurchase }}"> |
|
|
|
<image mode="heightFix" class="common-header-img" src="{{indexSeason.rmtj}}"></image> |
|
|
|
<!-- <image class="rmtj-right" src="{{imageSourceList.CBTP[4]}}" mode="" style="width: 276rpx;height: 100rpx;"/> --> |
|
|
|
</view> |
|
|
|
<view class="hot-list"> |
|
|
|
<view class="hot-list" wx:if="{{func_data.repurchase}}"> |
|
|
|
<view class="hot-list-item" wx:for="{{2}}" wx:for-index="number" wx:key="number"> |
|
|
|
<view wx:for="{{repurchaseList}}" wx:if="{{index%2==number}}" bindtap="gotoDetail" data-item="{{item}}" wx:key="id"> |
|
|
|
<view class="hot-item"> |
|
|
|
|