|
|
|
@ -20,14 +20,14 @@ |
|
|
|
</view> |
|
|
|
<view style="position:relative;z-index: 1;" > |
|
|
|
<swiper class="swiper" autoplay="{{true}}" interval="{{5000}}" duration="{{300}}" bindchange="changeBannerIndex" circular> |
|
|
|
<block wx:for="{{banner}}" wx:key="this"> |
|
|
|
<block wx:for="{{banner}}" wx:key="index"> |
|
|
|
<swiper-item bindtap="bannerClick" data-item="{{item}}"> |
|
|
|
<image src="{{item.head_img}}" mode="scaleToFill"></image> |
|
|
|
</swiper-item> |
|
|
|
</block> |
|
|
|
</swiper> |
|
|
|
<view class="com-flex dot-list"> |
|
|
|
<view class="dot{{index===activeBannerIndex?' active':''}}" wx:for="{{banner}}" wx:key="this"></view> |
|
|
|
<view class="dot{{index===activeBannerIndex?' active':''}}" wx:for="{{banner}}" wx:key="index"></view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="content"> |
|
|
|
@ -43,9 +43,9 @@ |
|
|
|
</view> |
|
|
|
<view wx:if="{{hdrlNavIndex!=4}}"> |
|
|
|
<view style="margin-left:16.67rpx;margin-right: 14.67rpx;display: flex;overflow-x: scroll;" class="hdrlList" wx:if="{{!isTest}}"> |
|
|
|
<view class="hdrlItem" wx:for="{{hdrlList}}" bindtap="goDetail" data-item="{{item}}" wx:key="this" style="width: 593.33rpx;"> |
|
|
|
<view class="hdrlItem" wx:for="{{hdrlList}}" bindtap="goDetail" data-item="{{item}}" wx:key="index" style="width: 593.33rpx;"> |
|
|
|
<view style="background: #fff;display: flex;border-radius: 13rpx;"> |
|
|
|
<image class="hdrlItem-img" src="{{item.post_url}}" mode=""/> |
|
|
|
<image class="hdrlItem-img" src="{{item.post_url}}" mode="aspectFill"/> |
|
|
|
<view class="hdrlItem-content"> |
|
|
|
<view class="hdrlItem-title textOver3">{{item.name}}</view> |
|
|
|
<view class="hdrlItem-date">{{item.begin_date}}-{{item.end_date}}</view> |
|
|
|
@ -56,7 +56,7 @@ |
|
|
|
</view> |
|
|
|
<view wx:else> |
|
|
|
<view style="margin-left:16.67rpx;margin-right: 14.67rpx;display: flex;overflow-x: scroll;" wx:if="{{!isTest}}" class="one"> |
|
|
|
<view class="hdrlItem" wx:for="{{hdrlList}}" bindtap="goDetail" data-item="{{item}}" wx:key="this"> |
|
|
|
<view class="hdrlItem" wx:for="{{hdrlList}}" bindtap="goDetail" data-item="{{item}}" wx:key="index"> |
|
|
|
<view style="background: #fff;width: 570rpx;display: flex;border-radius: 13rpx;"> |
|
|
|
<image class="movieItem-img" src="{{item.headimg}}" mode=""/> |
|
|
|
<view style="display: flex;flex-direction: column;justify-content: space-between;padding: 10rpx 10rpx 5rpx 2rpx;font-size: 30rpx;font-weight: 500;width: 500rpx;box-sizing: border-box;"> |
|
|
|
@ -80,8 +80,8 @@ |
|
|
|
</view> |
|
|
|
<!-- 下面几大板块 --> |
|
|
|
<view class="slide-out-box"> |
|
|
|
<scroll-view scroll-x bindscroll="listenScroll" class="slide-box"> |
|
|
|
<view class="pbservice" style="margin-bottom:30rpx;width: fit-content;"> |
|
|
|
<scroll-view scroll-x bindscroll="listenScroll" class="slide-box no-scrollbar"> |
|
|
|
<view class="pbservice no-scrollbar" style="margin-bottom:30rpx;width: fit-content;"> |
|
|
|
<view bindtap="gotoPath" data-event="ticket_click" style="margin-left: 10rpx;" data-title="景点门票" data-path="/pages/list/scene/index" class="pbservice-item"> |
|
|
|
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/jdmp.png" mode="widthFix"></image> |
|
|
|
<view class="text">景点门票</view> |
|
|
|
@ -127,14 +127,14 @@ |
|
|
|
<view class="small-swiper-box"> |
|
|
|
<swiper class="small-swiper" autoplay="{{true}}" interval="{{5000}}" duration="{{300}}" |
|
|
|
bindchange="changeSmBannerIndex"> |
|
|
|
<block wx:for="{{xiaobanner}}" wx:key="*this"> |
|
|
|
<block wx:for="{{xiaobanner}}" wx:key="index"> |
|
|
|
<swiper-item bindtap="bannerClick" data-item="{{item}}"> |
|
|
|
<image style="border-radius:13rpx" src="{{item.head_img}}" mode="aspectFill"></image> |
|
|
|
</swiper-item> |
|
|
|
</block> |
|
|
|
</swiper> |
|
|
|
<view class="dot-list com-flex sm-dot-list"> |
|
|
|
<view class="dot{{smBannerIndex==index?' active':''}}" wx:for="{{xiaobanner}}" wx:key="this"></view> |
|
|
|
<view class="dot{{smBannerIndex==index?' active':''}}" wx:for="{{xiaobanner}}" wx:key="index"></view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<!-- 游苏州 --> |
|
|
|
@ -150,7 +150,7 @@ |
|
|
|
<view class="ysz-box {{yszIndex==1?'ysz-box2':''}}"> |
|
|
|
<view wx:if="{{yszIndex == 0}}" style="margin: 20rpx 14rpx 0;"> |
|
|
|
<view class="pbservice ggfw-list" style="width:100%;overflow-x: auto;"> |
|
|
|
<view bindtap="gotoPath" data-event="security_home_click" data-title="电子社保卡" data-path="/pages/pbService/security/index" class="pbservice-item ggfw"> |
|
|
|
<view bindtap="gotoUrl" data-event="sbk" data-title="电子社保卡" data-url="https://m.cloud.sz-trip.com/sbkLogin" class="pbservice-item ggfw"> |
|
|
|
<image src="https://static.ticket.sz-trip.com/uploads/20240923/4c0ee81974879d5160b932a7e526e90d.png" mode="widthFix"></image> |
|
|
|
<view>电子社保卡</view> |
|
|
|
</view> |
|
|
|
@ -201,7 +201,7 @@ |
|
|
|
<image class="tjbd-title" style="width: 333rpx;height: 80rpx;margin-left: 26rpx;margin-bottom: 20rpx;" src="https://static.ticket.sz-trip.com/uploads/20240923/fc8d43d1ca820912aae4b2bede13235c.png" mode=""/> |
|
|
|
<!-- 4个产品榜单 --> |
|
|
|
<view style="display: flex;overflow-x: scroll;padding-right: 20rpx;" class="bottom-box" wx:if="{{!isTest}}"> |
|
|
|
<view class="bd-box" style="background:{{item.bg}};" wx:for="{{bdList}}" wx:key="this"> |
|
|
|
<view class="bd-box" style="background:{{item.bg}};" wx:for="{{bdList}}" wx:key="index"> |
|
|
|
<!-- <image class="zz" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/zzIcon.png" mode=""/> --> |
|
|
|
<view class="bd-top"> |
|
|
|
<image class="bd-type" src="{{item.icon}}" mode=""/> |
|
|
|
@ -235,7 +235,7 @@ |
|
|
|
</view> |
|
|
|
<view class="bd-item-bottom"> |
|
|
|
<view class="bd-price">{{item.price/100}}</view> |
|
|
|
<view class="bd-distance" wx:if="{{item.distance}}">{{(item.distance/1000)}}km</view> |
|
|
|
<view class="bd-distance" wx:if="{{item.distance}}">{{(item.distance)}}</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|