Browse Source

假日版首页、端午ui

master
shaojing 2 years ago
parent
commit
11ae28e894
  1. 8
      app.json
  2. 2
      pages/component/newCalendar/index.wxml
  3. 4
      pages/component/newCalendar/index.wxss
  4. 744
      pages/index/index.js
  5. 788
      pages/index/index.wxml
  6. 367
      pages/index/index.wxss
  7. 2
      pages/info/museumInfo/index.wxml
  8. 2
      pages/list/activitynew/index.wxml
  9. 27
      pages/list/activitynew/index.wxss
  10. 2
      pages/list/museum/index.wxml
  11. 14
      pages/list/scene/index.js
  12. 34
      pages/order/components/contact/index.js
  13. 17
      pages/order/components/contact/index.wxml
  14. 14
      pages/order/components/contact/index.wxss
  15. 4
      pages/order/orderList/index.wxml
  16. 10
      pages/order/scene/index.js
  17. 4
      pages/order/scene/index.wxml
  18. 2
      pages/pbService/index.wxml
  19. 970
      subPackages/index/index.js
  20. 6
      subPackages/index/index.json
  21. 683
      subPackages/index/index.wxml
  22. 1191
      subPackages/index/index.wxss
  23. 1198
      subPackages/indexs/index.js
  24. 6
      subPackages/indexs/index.json
  25. 306
      subPackages/indexs/index.wxml
  26. 1427
      subPackages/indexs/index.wxss

8
app.json

@ -184,8 +184,14 @@
"pages/user/userPrivacy/index", "pages/user/userPrivacy/index",
"pages/user/personalInfo/index", "pages/user/personalInfo/index",
"pages/info/luggageInfo/index" "pages/info/luggageInfo/index"
], ],
"subpackages": [{
"root": "subPackages",
"pages": [
"indexs/index",
"index/index"
]
}],
"plugins": { "plugins": {
"live-player-plugin": { "live-player-plugin": {
"version": "1.3.5", "version": "1.3.5",

2
pages/component/newCalendar/index.wxml

@ -58,7 +58,7 @@
<image wx:else src="https://static.ticket.sz-trip.com/uploads/20240327/d23c7a3d743e4fb9623c534adf10760b.png" mode=""/> <image wx:else src="https://static.ticket.sz-trip.com/uploads/20240327/d23c7a3d743e4fb9623c534adf10760b.png" mode=""/>
</view> </view>
<!-- 节假日花样 --> <!-- 节假日花样 -->
<!-- <image wx:if="{{currentViewType==='month'}}" style="width: 180rpx;height: 157.33rpx;position: absolute;right: 0;bottom: 0;" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/calendar-bottom.png" mode=""/> --> <image wx:if="{{currentViewType==='month'}}" style="width: 250rpx;height: 144.67rpx;position: absolute;right: 0;bottom: 30.67rpx;" src="https://static.ticket.sz-trip.com/uploads/20240605/1dda9e2e0fbc5d64aef702b5e692b2e5.png" mode=""/>
</view> </view>

4
pages/component/newCalendar/index.wxss

@ -13,8 +13,8 @@
margin: 0 auto; margin: 0 auto;
padding: 37rpx 22rpx 40rpx; padding: 37rpx 22rpx 40rpx;
/* 节假日花样 */ /* 节假日花样 */
/* background-image: url("https://static.ticket.sz-trip.com/jundaosuzhou/images/calendar-top.png"); background-image: url("https://static.ticket.sz-trip.com/uploads/20240605/82a51ad6c58274c78f99fef4af3c9739.png");
background-size: 100% 100%; */ background-size: 100% 100%;
width: 90%; width: 90%;
height: 65.67rpx height: 65.67rpx
} }

744
pages/index/index.js

@ -63,7 +63,68 @@ Page({
], ],
viewHeight: "0px", viewHeight: "0px",
isMuted: true, isMuted: true,
videoPlay: false, videoPlay: false,
hdrlNavList:[
{
type:null,
title:'全部'
},
{
type:'scene',
title:'景区活动'
},
{
type:'show',
title:'演出'
},
{
type:'exhibition',
title:'展览'
},
{
type:'movie',
title:'电影'
},
{
type:'other',
title:'其他'
}
], //活动日历板块导航分类
hdrlNavIndex:0,//活动日历默认选中第一个全部分类
today:null,
hdrlList:[],
yszNav:['公共服务','旅游助手'],
yszIndex:0,
bdList:[
{
bg: 'linear-gradient(-8deg, #B9E1F0, #F4F9FF)',
icon:'https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/feiwan.png', //非玩不可
path:'/pages/list/scene/index',
url:'',
},
{
bg: 'linear-gradient(-8deg, #F3FFC4, #F9FFE3)',
icon:'https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/feimai.png', //非买不可
path:'/pages/list/techan/index',
url:'',
},
{
bg: 'linear-gradient(-8deg, #A0F292, #E0F7DC)',
icon:'https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/feiyou.png', //非游不可
url:'https://m.cloud.sz-trip.com/OneDayTravelNew',
path:'',
},
{
bg: 'linear-gradient(-8deg, #E3D9FF, #F6F2FF)',
icon:'https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/feikan.png', //非看不可
url:'',
path:'/pages/list/theatre/index',
},
],
list1:[], //非玩-景点
list2:[], //非买-文创
list3:[], //非游-一日游
list4:[], //非看-剧场演出
}, },
onLoad: function(options) { onLoad: function(options) {
this.getHeight() this.getHeight()
@ -124,7 +185,21 @@ Page({
}) })
if (options.from) { if (options.from) {
app.globalData.from = options.from; app.globalData.from = options.from;
} }
// 获取今天的日期
let today = new Date();
this.setData({
month: (this.data.months[today.getMonth()]).toUpperCase(),
date: today.getDate()
})
let d = new Date();
let month = d.getMonth() + 1,
day = d.getDate();
month = month > 10 ? month : ("0" + month);
day = day > 10 ? day : ("0" + day);
this.setData({
today: d.getFullYear() + "-" + month + "-" + day
})
let systemInfo = wx.getSystemInfoSync(), let systemInfo = wx.getSystemInfoSync(),
rect = wx.getMenuButtonBoundingClientRect(); rect = wx.getMenuButtonBoundingClientRect();
let height = (rect.top - systemInfo.statusBarHeight) * 2 + rect.height; let height = (rect.top - systemInfo.statusBarHeight) * 2 + rect.height;
@ -135,10 +210,12 @@ Page({
lat: res.latitude, lat: res.latitude,
lon: res.longitude lon: res.longitude
}) })
this.getList() this.getList()
this.getHdrlList()
}, },
fail: (err) => { fail: (err) => {
this.getList() this.getList()
this.getHdrlList()
} }
}) })
this.setData({ this.setData({
@ -157,16 +234,164 @@ Page({
}) })
this.getTwoProduct() this.getTwoProduct()
this.getBanner() this.getBanner()
this.getWeather() this.getWeather()
// 获取今天的日期 },
let today = new Date(); gobdDetail(e) {
this.setData({ console.log(e);
month: (this.data.months[today.getMonth()]).toUpperCase(), let url = e.currentTarget.dataset.url
date: today.getDate() wx.navigateTo({
}) url: url
this.getVideoPrize() })
this.getXpthList() },
}, getList() {
let bdList = this.data.bdList
// 非玩不可--景点
commonApi._post("scene/get_scene_by_tag",{
tag_id:"4",
limit:6,
lon:this.data.lon,
lat:this.data.lat,
offset:0,
sort:"weight",
title:'',
area_id:''
}).then(res=>{
res.data.list.map(item => {
if (item.distance || item.distance == 0) {
if (item.distance >= 1000) {
item.distance = (item.distance / 1000).toFixed(2) + 'km';
} else {
item.distance = (item.distance).toFixed(2) + 'm';
}
}
})
this.setData({
list1:res.data.list
})
})
// 非买不可--文创
commonApi._post('product/get_product_by_tag',{
tag_id: 326,
offset: 0,
limit: 6,
}).then(res=>{
this.setData({
list2:res.data.list
})
})
// 非游不可--线路一日游
commonApi._post('product/get_product_by_tag',{
type_id: 23,
tag_id:17,
offset: 0,
limit: 6,
sort: 'weight'
}).then(res=>{
this.setData({
list3:res.data.list
})
})
// 非看不可--剧场演出
commonApi._post("product/get_product_by_tag",{
tag_id:"6",
offset:0,
limit:6,
sort:'',
order:'',
lat:this.data.lat,
lon:this.data.lon,
title:''
}).then(res=>{
this.setData({
list4:res.data.list
})
})
},
goDetail(e) {
let item = e.currentTarget.dataset.item;
let type = this.data.hdrlNavList[this.data.hdrlNavIndex].type
if (type == 'movie') {
wx.navigateTo({
url: '/pages/list/movieticket/list/info/index?id=' + item.third_id
})
}else {
wx.navigateTo({
url: '/pages/info/activityInfo/index?id=' + item.id,
})
}
},
// 分类为电影时调这个接口
getMovieList() {
let service = "Cinema/getHotMovieList";
let data = {
page: 1,
pageSize: 5
};
commonApi._post(service, data).then(res => {
console.log(res.data);
this.setData({
hdrlList: res.data
})
})
console.log(this.data.hdrlList);
},
// 推荐榜单更多跳转
moreBtn(e) {
let item = e.currentTarget.dataset.item
if (item.path!='') {
wx.navigateTo({
url: item.path,
})
} else {
// if (e.currentTarget.dataset.event) {
// this.pagePoint({
// event: e.currentTarget.dataset.event
// }, 1)
// }
let url = item.url;
app.globalData.weburl = url;
wx.navigateTo({
url: '/pages/pbService/web/index?weburl=' + encodeURIComponent(url),
})
}
},
// 活动日历下的列表
getHdrlList() {
commonApi._post('pbservice/Actcalendar/getActList', {
page_no: 1,
date: this.data.today,
category: this.data.hdrlNavList[this.data.hdrlNavIndex].type,
keywords: '',
area_key: '',
lat: this.data.lat,
lon: this.data.lon,
page_num: 5
}).then(res => {
this.setData({
hdrlList:res.data.rows
})
})
},
// 切换活动日历分类
changeHdrlNav(e) {
console.log(e.currentTarget.dataset);
this.setData({
hdrlList:[],
hdrlNavIndex:e.currentTarget.dataset.index,
})
if (this.data.hdrlNavIndex == 4) {
this.getMovieList()
} else {
this.getHdrlList() //切换分类重新获取活动日历列表
}
},
// 游苏州下的公共服务和旅游助手切换
changeType(e) {
this.setData({
yszIndex:e.currentTarget.dataset.index,
})
},
// 获取导航栏项目标题高度
getHeight() { getHeight() {
let that = this let that = this
wx.getSystemInfo({ wx.getSystemInfo({
@ -179,59 +404,62 @@ Page({
} }
}) })
}, },
getXpthList: function() { // getXpthList: function() {
// 元旦新增 新品特惠 // // 元旦新增 新品特惠
commonApi._post("product/get_product_indulgence", { // commonApi._post("product/get_product_indulgence", {
tag_id: 275, // tag_id: 275,
typeId: 3, // typeId: 3,
}).then(res => { // }).then(res => {
console.log('data', res.data); // console.log('data', res.data);
this.setData({ // this.setData({
xpth: res.data, // xpth: res.data,
djsTime: res.data.time // djsTime: res.data.time
}) // })
let time = setInterval(() => { // let time = setInterval(() => {
this.setData({ // this.setData({
djsTime: this.data.djsTime - 1 // djsTime: this.data.djsTime - 1
}) // })
this.formatDate(this.data.djsTime) // this.formatDate(this.data.djsTime)
}, 1000) // }, 1000)
if (this.data.djsTime == 0) { // if (this.data.djsTime == 0) {
clearInterval(time) // clearInterval(time)
} // }
}) // })
}, // },
// 元旦新品特惠 倒计时 // 元旦新品特惠 倒计时
formatDate: function(oTime) { // formatDate: function(oTime) {
let h = parseInt(oTime / 3600) // let h = parseInt(oTime / 3600)
let m = parseInt((oTime % 3600) / 60) // let m = parseInt((oTime % 3600) / 60)
let s = parseInt(oTime % 60) // let s = parseInt(oTime % 60)
h = h < 10 ? "0" + h : h; // h = h < 10 ? "0" + h : h;
m = m < 10 ? "0" + m : m; // m = m < 10 ? "0" + m : m;
s = s < 10 ? "0" + s : s; // s = s < 10 ? "0" + s : s;
this.setData({ // this.setData({
djs: { // djs: {
h: h, // h: h,
m: m, // m: m,
s: s // s: s
} // }
}) // })
return // return
}, // },
goFeiyi: function() { // 非遗跳转
app.globalData.weburl = 'https://m.cloud.sz-trip.com/mlgCoupons' // goFeiyi: function() {
wx.navigateTo({ // app.globalData.weburl = 'https://m.cloud.sz-trip.com/mlgCoupons'
url: "/pages/pbService/web/index" // wx.navigateTo({
}) // url: "/pages/pbService/web/index"
}, // })
onTabItemTap: function(e) { // },
console.log(e, 99999999) // onTabItemTap: function(e) {
}, // console.log(e, 99999999)
// },
// 大轮播的监听方法
changeBannerIndex: function(e) { changeBannerIndex: function(e) {
this.setData({ this.setData({
activeBannerIndex: e.detail.current activeBannerIndex: e.detail.current
}) })
}, },
// 小轮播监听方法
changeSmBannerIndex: function(e) { changeSmBannerIndex: function(e) {
this.setData({ this.setData({
smBannerIndex: e.detail.current smBannerIndex: e.detail.current
@ -461,7 +689,7 @@ Page({
util.gotoDetail(item) util.gotoDetail(item)
}, },
gotoPath: function(e) { gotoPath: function(e) {
console.log(e) console.log(e)
// if (e.currentTarget.dataset.event) { // if (e.currentTarget.dataset.event) {
// if (e.currentTarget.dataset.event=='gongyeyuanqu_click') { // if (e.currentTarget.dataset.event=='gongyeyuanqu_click') {
// wx.navigateToMiniProgram({ // wx.navigateToMiniProgram({
@ -598,33 +826,33 @@ Page({
}) })
}, },
// 热门推荐 去掉经纬度 接口排序方式变更(韩阳) // 热门推荐 去掉经纬度 接口排序方式变更(韩阳)
getList: function() { // getList: function() {
if (!this.data.listMore) return; // if (!this.data.listMore) return;
commonApi._post("search/recommend", { // commonApi._post("search/recommend", {
offset: this.data.list.length, // offset: this.data.list.length,
limit: 16 // limit: 16
}).then(res => { // }).then(res => {
res.data.map(item => { // res.data.map(item => {
if (item.ext.display_tags) { // if (item.ext.display_tags) {
item.ext.display_tags = item.ext.display_tags.split(",").splice(0, 2) // item.ext.display_tags = item.ext.display_tags.split(",").splice(0, 2)
} else { // } else {
item.ext.display_tags = [] // item.ext.display_tags = []
} // }
}) // })
if (res.data.length < 15) { // if (res.data.length < 15) {
this.setData({ // this.setData({
listMore: false // listMore: false
}) // })
} // }
this.setData({ // this.setData({
list: this.data.list.concat(res.data) // list: this.data.list.concat(res.data)
}) // })
}) // })
}, // },
onReachBottom: function() { onReachBottom: function() {
if (this.data.list.length < 30) { // if (this.data.list.length < 30) {
this.getList() // this.getList()
} // }
}, },
gotoDetail: function(e) { gotoDetail: function(e) {
let item = e.currentTarget.dataset.item; let item = e.currentTarget.dataset.item;
@ -752,186 +980,186 @@ Page({
url: '/pages/pbService/web/index?weburl=' + encodeURIComponent(weburl), url: '/pages/pbService/web/index?weburl=' + encodeURIComponent(weburl),
}) })
}, },
bannerClick2: function(e) { // bannerClick2: function(e) {
let item = e.currentTarget.dataset.item; // let item = e.currentTarget.dataset.item;
if (item.action == 'href') { // if (item.action == 'href') {
if (item.href.indexOf(",") != -1) { // if (item.href.indexOf(",") != -1) {
let info = item.href.split(","); // let info = item.href.split(",");
wx.navigateToMiniProgram({ // wx.navigateToMiniProgram({
appId: info[0], // appId: info[0],
path: info[1] // path: info[1]
}) // })
} else if (item.href.indexOf('map/index') != -1) { // } else if (item.href.indexOf('map/index') != -1) {
wx.reLaunch({ // wx.reLaunch({
url: item.href // url: item.href
}) // })
} else { // } else {
wx.navigateTo({ // wx.navigateTo({
url: item.href, // url: item.href,
}) // })
} // }
} else if (item.action == "web") { // } else if (item.action == "web") {
app.globalData.weburl = item.href; // app.globalData.weburl = item.href;
wx.navigateTo({ // wx.navigateTo({
url: "/pages/pbService/web/index?weburl=" + encodeURIComponent(item.href), // url: "/pages/pbService/web/index?weburl=" + encodeURIComponent(item.href),
}) // })
} // }
}, // },
// 监听文旅查询的scroll // 监听文旅查询的scroll
listenScroll(e) { listenScroll(e) {
this.setData({ this.setData({
scrollLeft: e.detail.scrollLeft scrollLeft: e.detail.scrollLeft
}) })
}, },
// 获取短视频大赛是否中奖 中奖详情 // // 获取短视频大赛是否中奖 中奖详情
getVideoPrize() { // getVideoPrize() {
let user_id = wx.getStorageSync('jstrip_userid'); // let user_id = wx.getStorageSync('jstrip_userid');
if (!user_id || wx.getStorageSync('indexPriceNoTip')) return; // if (!user_id || wx.getStorageSync('indexPriceNoTip')) return;
commonApi.user_post('actonline/video_act/getRaffle', { // commonApi.user_post('actonline/video_act/getRaffle', {
act_id: 5 // act_id: 5
}).then(res => { // }).then(res => {
this.setData({ // this.setData({
videoPrize: res.data // videoPrize: res.data
}) // })
}) // })
}, // },
noMoreTip() { // noMoreTip() {
wx.setStorageSync('indexPriceNoTip', true) // wx.setStorageSync('indexPriceNoTip', true)
this.closePrice() // this.closePrice()
}, // },
closePrice() { // closePrice() {
this.setData({ // this.setData({
videoPrize: false, // videoPrize: false,
prizeInfo: null // prizeInfo: null
}) // })
}, // },
// 抽奖 // 抽奖
choosePrize() { // choosePrize() {
commonApi.user_post('actonline/video_act/luckyDraw', { // commonApi.user_post('actonline/video_act/luckyDraw', {
act_id: 5 // act_id: 5
}).then(res => { // }).then(res => {
this.setData({ // this.setData({
prizeInfo: res.data // prizeInfo: res.data
}) // })
if (res.data.type != 'none') { // if (res.data.type != 'none') {
// 抽奖成功的话 弹框 // // 抽奖成功的话 弹框
wx.showModal({ // wx.showModal({
title: "提示", // title: "提示",
content: "中奖人员请联系君到苏州客服,领奖方式以客服通知为准", // content: "中奖人员请联系君到苏州客服,领奖方式以客服通知为准",
showCancel: false // showCancel: false
}) // })
} // }
}) // })
}, // },
bannerJumpNew(item) { // bannerJumpNew(item) {
let that = this // let that = this
item = item.currentTarget.dataset.item // item = item.currentTarget.dataset.item
if (item.tdata == '') return // if (item.tdata == '') return
that.pagePoint({ // that.pagePoint({
event: "banner_click", // event: "banner_click",
type: 'banner' // type: 'banner'
}, 1) // }, 1)
switch (item.jump_type) { // switch (item.jump_type) {
case 0: // case 0:
break; // break;
case 1: // case 1:
util.gotoDetail(item.product_model) // util.gotoDetail(item.product_model)
break; // break;
case 2: // case 2:
if (item.front_model && item.front_model.mini) { // if (item.front_model && item.front_model.mini) {
wx.navigateTo({ // wx.navigateTo({
url: "/" + item.front_model.mini // url: "/" + item.front_model.mini
}) // })
} // }
break; // break;
case 3: // case 3:
if ((item.tdata.url.indexOf('http://') != -1 || item.tdata.url.indexOf('https://') != -1) && // if ((item.tdata.url.indexOf('http://') != -1 || item.tdata.url.indexOf('https://') != -1) &&
item.tdata.url.indexOf('m.cloud.sz-trip.com') == -1) { // item.tdata.url.indexOf('m.cloud.sz-trip.com') == -1) {
// 外部h5 // // 外部h5
console.log(item.tdata) // console.log(item.tdata)
app.globalData.weburl = item.tdata.url; // app.globalData.weburl = item.tdata.url;
wx.navigateTo({ // wx.navigateTo({
url: "/pages/pbService/web/index" // url: "/pages/pbService/web/index"
}) // })
} else { // } else {
let page = item.tdata.url.split("/"); // let page = item.tdata.url.split("/");
page = page[page.length - 1].split("?") // page = page[page.length - 1].split("?")
console.log(page[0]) // console.log(page[0])
let url = this.data.urltopage[page[0]]; // let url = this.data.urltopage[page[0]];
if (url && url.indexOf('map') != -1) { // if (url && url.indexOf('map') != -1) {
let types = ['', 'scenic', 'venue', 'post', 'restaurant', 'relic', 'tenscenic', // let types = ['', 'scenic', 'venue', 'post', 'restaurant', 'relic', 'tenscenic',
'cinema', 'academes' // 'cinema', 'academes'
], // ],
type = page[1] ? page[1].split("=") : []; // type = page[1] ? page[1].split("=") : [];
wx.reLaunch({ // wx.reLaunch({
url: url + "?type=" + (type[1] ? types.findIndex(t => t == type[1]) : null) // url: url + "?type=" + (type[1] ? types.findIndex(t => t == type[1]) : null)
}) // })
} else if (url) { // } else if (url) {
wx.navigateTo({ // wx.navigateTo({
url: url, // url: url,
}) // })
} else { // } else {
app.globalData.weburl = item.tdata.url; // app.globalData.weburl = item.tdata.url;
wx.navigateTo({ // wx.navigateTo({
url: "/pages/pbService/web/index" // url: "/pages/pbService/web/index"
}) // })
} // }
} // }
break; // break;
case 4: // case 4:
if (item.tdata.appid == 'wxe5ca0f71e918e352' && wx.getStorageSync('jstrip_userid')) { // if (item.tdata.appid == 'wxe5ca0f71e918e352' && wx.getStorageSync('jstrip_userid')) {
// 如果是苏心游的小程序 直接把authCode带过去 // // 如果是苏心游的小程序 直接把authCode带过去
userApi.user_post("user/getJumpThirdAppCode", {}).then(res => { // userApi.user_post("user/getJumpThirdAppCode", {}).then(res => {
let weburl = item.tdata.page // let weburl = item.tdata.page
if (weburl.indexOf('?') != -1) { // if (weburl.indexOf('?') != -1) {
weburl += '&authCode=' + res.data; // weburl += '&authCode=' + res.data;
} else { // } else {
weburl += '?authCode=' + res.data // weburl += '?authCode=' + res.data
} // }
wx.navigateToMiniProgram({ // wx.navigateToMiniProgram({
appId: item.tdata.appid, // appId: item.tdata.appid,
path: weburl // path: weburl
}) // })
}).catch(err => { // }).catch(err => {
wx.navigateToMiniProgram({ // wx.navigateToMiniProgram({
appId: item.tdata.appid, // appId: item.tdata.appid,
path: item.tdata.page // path: item.tdata.page
}) // })
}) // })
} else { // } else {
wx.navigateToMiniProgram({ // wx.navigateToMiniProgram({
appId: item.tdata.appid, // appId: item.tdata.appid,
path: item.tdata.page // path: item.tdata.page
}) // })
} // }
break; // break;
default: // default:
break; // break;
} // }
return // return
}, // },
onReady: function() { onReady: function() {
}, },
gotoOther: function(e) { // gotoOther: function(e) {
let item = e.currentTarget.dataset.item; // let item = e.currentTarget.dataset.item;
if (item.type == 'h5') { // if (item.type == 'h5') {
app.globalData.weburl = item.url // app.globalData.weburl = item.url
wx.navigateTo({ // wx.navigateTo({
url: "/pages/pbService/web/index?weburl=" + encodeURIComponent(item.url) // url: "/pages/pbService/web/index?weburl=" + encodeURIComponent(item.url)
}) // })
} else if (item.type == 'mini') { // } else if (item.type == 'mini') {
wx.navigateToMiniProgram({ // wx.navigateToMiniProgram({
appId: item.appid, // appId: item.appid,
path: item.path // path: item.path
}) // })
} else if (item.type == 'page') { // } else if (item.type == 'page') {
wx.navigateTo({ // wx.navigateTo({
url: item.page, // url: item.page,
}) // })
} // }
}, // },
pagePoint: function(e, type) { pagePoint: function(e, type) {
util.pagePoint(e, type) util.pagePoint(e, type)
}, },

788
pages/index/index.wxml

@ -1,10 +1,7 @@
<!--index.wxml--> <!--pages/indexs/index.wxml-->
<title title="君到苏州(文化旅游总入口)"></title> <title title="君到苏州(文化旅游总入口)"></title>
<!-- <view class="old-btn">关怀模式</view> -->
<!-- <image class="top-bg-img" src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/spring22/flowerbg.png" mode="widthFix"></image> -->
<!-- <image class="top-bg-img" src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/spring22/flower.gif" mode="widthFix"></image> -->
<!-- 后台获取的季节动图 --> <!-- 后台获取的季节动图 -->
<image class="top-bg-img" src="{{indexSeason.topBac}}" mode="widthFix"></image> <image class="top-bg-img" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/topImg.gif" mode="widthFix"></image>
<view wx:if="{{weather}}" class="top-box" style="height: 63rpx"> <view wx:if="{{weather}}" class="top-box" style="height: 63rpx">
<image src="{{weather.icon2}}" style="margin-left:0" mode="aspectFill"></image> <image src="{{weather.icon2}}" style="margin-left:0" mode="aspectFill"></image>
<view class="weather-num">{{weather.max_temp}}°</view> <view class="weather-num">{{weather.max_temp}}°</view>
@ -14,11 +11,6 @@
mode="aspectFill"></image> mode="aspectFill"></image>
<image bindtap="gotoPath" data-event="message_click" data-path="/pages/list/message/index" <image bindtap="gotoPath" data-event="message_click" data-path="/pages/list/message/index"
src="https://static.ticket.sz-trip.com/uploads/20240428/ae4b559db397a7b7d76b471576bfa3c0.png" mode="aspectFill"></image> src="https://static.ticket.sz-trip.com/uploads/20240428/ae4b559db397a7b7d76b471576bfa3c0.png" mode="aspectFill"></image>
<!-- <image bindtap="gotoPath" style="margin-left:0" data-path="/pages/user/service/index"
data-event="customer_service_click" src="https://static.ticket.sz-trip.com/xcxImages/spring22/service.png"
mode="aspectFill"></image>
<image bindtap="gotoPath" data-event="message_click" data-path="/pages/list/message/index"
src="https://static.ticket.sz-trip.com/xcxImages/spring22/msg.png" mode="aspectFill"></image> -->
</view> </view>
<view class="top-box" style="padding:0;margin-bottom:18rpx" wx:if="{{!isTest}}"> <view class="top-box" style="padding:0;margin-bottom:18rpx" wx:if="{{!isTest}}">
<navigator url="/pages/search/index" catchtap="pagePoint" data-event="search_click" class="search-box textOver"> <navigator url="/pages/search/index" catchtap="pagePoint" data-event="search_click" class="search-box textOver">
@ -28,633 +20,259 @@
</view> </view>
<view style="position:relative;z-index: 1;" > <view style="position:relative;z-index: 1;" >
<swiper class="swiper" autoplay="{{true}}" interval="{{5000}}" duration="{{300}}" bindchange="changeBannerIndex" circular> <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="this">
<swiper-item bindtap="bannerClick" data-item="{{item}}"> <swiper-item bindtap="bannerClick" data-item="{{item}}">
<image src="{{item.head_img}}" mode="scaleToFill"></image> <image src="{{item.head_img}}" mode="scaleToFill"></image>
</swiper-item> </swiper-item>
</block> </block>
</swiper> </swiper>
<view class="com-flex dot-list"> <view class="com-flex dot-list">
<view class="dot{{index===activeBannerIndex?' active':''}}" wx:for="{{banner}}"></view> <view class="dot{{index===activeBannerIndex?' active':''}}" wx:for="{{banner}}" wx:key="this"></view>
</view> </view>
</view> </view>
<view class="content">
<!-- <swiper class="swiper" indicator-dots="{{true}}" <!-- 活动日历 -->
autoplay="{{true}}" interval="{{5000}}" duration="{{300}}"> <view class="sale-road-boxes" style="margin: 0 26.67rpx;">
<block wx:for="{{banner}}" wx:key="*this"> <image mode="heightFix" style="height:86rpx" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/calendar.png"></image>
<swiper-item bindtap="bannerClick2" data-item="{{item}}"> <navigator url="/pages/list/activitynew/index" class="right-more">更多 ></navigator>
<image src="{{item.img}}" mode="aspectFill"></image>
</swiper-item>
</block>
</swiper> -->
<view class="top-icons" wx:if="{{!isTest}}">
<view bindtap="gotoPath" data-event="activity_click" data-title="活动日历" data-path="/pages/list/activitynew/index"
class="top-icon-item">
<!-- 五一修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240428/0d6708cc448c7c0b35a676cbd19e8de4.png" mode="widthFix"></image>
<!-- 元旦修改 -->
<!-- <image src="https://static.ticket.sz-trip.com/uploads/20240228/c95f7fcc652cdbd03290530fd842abd7.png" mode="widthFix"></image> -->
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/icon1New.png" mode="widthFix"></image> -->
<view class="top-icon-text">活动日历</view>
</view>
<view bindtap="gotoPath" data-event="museum" data-title="场馆预约"
data-path="/pages/list/{{isTest?'scene':'museum'}}/index" class="top-icon-item">
<!-- 五一修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240428/9d26b6b0dcb3c63ace2f893a5a631925.png" mode="widthFix"></image>
<!-- 元旦修改 -->
<!-- <image src="https://static.ticket.sz-trip.com/uploads/20240228/b09f9cee20a7f4df6aafc4eec739d959.png" mode="widthFix"></image> -->
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/icon2New.png" mode="widthFix"></image> -->
<view class="top-icon-text">场馆预约</view>
</view>
<!-- 非遗跳专题 -->
<!-- <view bindtap="goFeiyi" data-event="legacy" data-title="非遗专卖"
data-path="/pages/list/{{isTest?'scene':'feiyi'}}/index" class="top-icon-item"> -->
<view bindtap="gotoPath" data-event="legacy" data-title="非遗专卖"
data-path="/pages/list/{{isTest?'scene':'feiyi'}}/index" class="top-icon-item">
<!-- 五一修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240428/def5de89d7cf5d6b418c6515616f8ffa.png" mode="widthFix"></image>
<!-- 元旦修改 -->
<!-- <image src="https://static.ticket.sz-trip.com/uploads/20240228/b5614719b2a439913c7a1d265624b294.png" mode="widthFix"></image> -->
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/icon3New.png" mode="widthFix"></image> -->
<view class="top-icon-text">非遗专卖</view>
</view>
<view bindtap="gotoPath" data-event="show" data-title="剧场演出"
data-path="/pages/list/{{isTest?'activity':'theatre'}}/index" class="top-icon-item">
<!-- 五一修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240428/a95f9ecd6a3cce5ae993d2bdcfdde104.png" mode="widthFix"></image>
<!-- 元旦修改 -->
<!-- <image src="https://static.ticket.sz-trip.com/uploads/20240228/f35952c7189bf21bd25c5a9e0a65b215.png" mode="widthFix"></image> -->
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/icon4New.png" mode="widthFix"></image> -->
<view class="top-icon-text">剧场演出</view>
</view>
<view bindtap="gotoPath" data-event="specialty" data-title="文创特产"
data-path="/pages/list/{{isTest?'road':'techan'}}/index" class="top-icon-item">
<!-- 五一修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240428/10eb0440e299f1903954488643e54f8e.png" mode="widthFix"></image>
<!-- 元旦修改 -->
<!-- <image src="https://static.ticket.sz-trip.com/uploads/20240228/bfe5f12189f1306bebb7be5a37cbea75.png" mode="widthFix"></image> -->
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/icon5New.png" mode="widthFix"></image> -->
<view class="top-icon-text">文创特产</view>
</view>
<view bindtap="gotoPath" data-event="ticket_click" data-title="景点门票" data-path="/pages/list/scene/index"
class="top-icon-item">
<!-- 五一修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240428/c6581705831291617546adf5eaf05499.png" mode="widthFix"></image>
<!-- 元旦修改 -->
<!-- <image src="https://static.ticket.sz-trip.com/uploads/20240228/c73151735eb762996e7d05237743e87f.png" mode="widthFix"></image> -->
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/icon6New.png" mode="widthFix"></image> -->
<view class="top-icon-text">景点门票</view>
</view>
<view bindtap="gotoPath" data-event="hotel_click" data-title="酒店住宿" data-path="/pages/list/hotel/index"
class="top-icon-item">
<!-- 五一修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240428/fa7ff24b9d091f8dc1ce2011d5368808.png" mode="widthFix"></image>
<!-- 元旦修改 -->
<!-- <image src="https://static.ticket.sz-trip.com/uploads/20240228/712b4334114a909946af5f04131109f0.png" mode="widthFix"></image> -->
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/icon7New.png" mode="widthFix"></image> -->
<view class="top-icon-text">酒店住宿</view>
</view>
<view bindtap="gotoPath" data-event="night_sz" data-title="夜游苏州" data-path="/pages/list/night/index"
class="top-icon-item">
<!-- 五一修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240428/b3f7b2fd1378696b0f034b397ed04612.png" mode="widthFix"></image>
<!-- 元旦修改 -->
<!-- <image src="https://static.ticket.sz-trip.com/uploads/20240228/a85e941945a2f380f1e0a4a8ae7a00dd.png" mode="widthFix"></image> -->
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/icon8New.png" mode="widthFix"></image> -->
<view class="top-icon-text">夜游苏州</view>
</view>
<view bindtap="gotoUrl" data-event="card" data-title="一卡游苏州" data-url="https://m.cloud.sz-trip.com/OneDayTravelNew"
class="top-icon-item">
<!-- 五一修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240428/db92c695c836b657ca680493bee36635.png" mode="widthFix"></image>
<!-- 元旦修改 -->
<!-- <image src="https://static.ticket.sz-trip.com/uploads/20240228/9afe8b7ab4763cfb82c55c34a737e7d2.png" mode="widthFix"></image> -->
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/icon9New.png" mode="widthFix"></image> -->
<view class="top-icon-text">一日游</view>
</view> </view>
<view bindtap="gotoUrl" data-event="movie" data-title="研学游" data-url="https://m.cloud.sz-trip.com/LearningTravel" <view class="hdrlNavList">
class="top-icon-item"> <view class="hdrlNav{{index==hdrlNavIndex?' hdrlNavActive':''}}" wx:for="{{hdrlNavList}}" data-index="{{index}}" bindtap="changeHdrlNav" wx:key="id">
<!-- 五一修改 --> {{item.title}}
<image src="https://static.ticket.sz-trip.com/uploads/20240428/dab27c5383df197e665021081dd3a791.png" mode="widthFix"></image> </view>
<!-- 元旦修改 -->
<!-- <image src="https://static.ticket.sz-trip.com/uploads/20240228/4191bbe5ac87821164818fab546d0908.png" mode="widthFix"></image> -->
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/icon10New.png" mode="widthFix"></image> -->
<view class="top-icon-text">研学游</view>
</view> </view>
</view> <view wx:if="{{hdrlNavIndex!=4}}">
<view class="content"> <view style="margin-left:16.67rpx;margin-right: 14.67rpx;display: flex;overflow-x: scroll;" class="hdrlList">
<view class="sale-road-boxes" wx:if="{{false}}"> <view class="hdrlItem" wx:for="{{hdrlList}}" bindtap="goDetail" data-item="{{item}}" wx:key="this">
<view class="sale-box" bindtap="gotoPath" data-event="discount_click" data-title="特惠新品" <view style="background: #fff;width: 630rpx;display: flex;border-radius: 13rpx;">
data-path="/pages/list/{{isTest==false?'sale':'scene'}}/index"> <image class="hdrlItem-img" src="{{item.post_url}}" mode=""/>
<view class="sale-title"><text>特惠新品</text>超值商品限时抢购</view> <view class="hdrlItem-content">
<view class="sale-product"> <view class="hdrlItem-title textOver3">{{item.name}}</view>
<view class="sale-product-bg"></view> <view class="hdrlItem-date">{{item.begin_date}}-{{item.end_date}}</view>
<image mode="aspectFill" class="sale-img"
src="https://static.ticket.sz-trip.com/uploads/20211022/0c90b027b5572b559b34c219eaf257ba.jpg"></image>
<image class="sale-tip-img" src="https://static.ticket.sz-trip.com/xcxImages/spring22/sale.png"
mode="aspectFill">
</image>
<view class="sale-info">
<view class="sale-product-title textOver2">
<view>限时特惠</view>
<view>新品推荐</view>
</view> </view>
<view class="sale-price" style="#F44747" wx:if="{{saleProduct}}">
¥{{saleProduct.price?saleProduct.price/100:0}}起</view>
</view> </view>
</view> </view>
</view> </view>
<view class="sale-box" bindtap="gotoPath" data-event="route_click" data-title="精品线路" </view>
data-path="/pages/list/road/index"> <view wx:else>
<view class="sale-title"><text>精品线路</text>带你轻松玩转苏州</view> <view style="margin-left:16.67rpx;margin-right: 14.67rpx;display: flex;overflow-x: scroll;">
<view class="sale-product"> <view class="movieItem" wx:for="{{hdrlList}}" bindtap="goDetail" data-item="{{item}}" wx:key="this">
<view class="sale-product-bg road-product-bg"></view> <view style="background: #fff;width: 570rpx;display: flex;border-radius: 13rpx;">
<common-image class="sale-img" width="173rpx" height="165rpx" <image class="movieItem-img" src="{{item.headimg}}" mode=""/>
src="https://static.ticket.sz-trip.com/uploads/20211022/f8d9b54fa477b9ad8bf14e119664455e.jpg" <view style="display: flex;flex-direction: column;justify-content: space-between;padding: 10rpx 10rpx 5rpx 2rpx;font-size: 30rpx;font-weight: 500;width: 500rpx;">
mode="aspectFill"></common-image> <view>{{item.title}}</view>
<image class="sale-tip-img" src="https://static.ticket.sz-trip.com/xcxImages/spring22/road.png" <view style="display: flex;justify-content: flex-end;">
mode="aspectFill"> <view class="buyMovie">去购票 ></view>
</image> </view>
<view class="sale-info">
<view class="sale-product-title textOver2">
<view>四季苏州</view>
<view>最是江南</view>
</view> </view>
<view class="sale-price" style="color:rgb(0, 153, 137)" wx:if="{{roadProduct}}">
¥{{roadProduct.price?roadProduct.price/100:0}}起</view>
</view> </view>
</view> </view>
</view> </view>
</view> </view>
<!-- 五一修改 一张banner不滚动 --> <!-- 高峰预警、实时路况及几个板块 -->
<view class="small-swiper-box" wx:if="{{xiaobanner.length === 1}}"> <view class="main-box">
<image bindtap="bannerClick" data-item="{{xiaobanner[0]}}" style="border-radius:13rpx;width: 100%" src="{{xiaobanner[0].head_img}}" mode="widthFix"></image> <!-- 上面的高峰预警、实时路况 -->
<view class="main-box-top">
<image bindtap="gotoPath" data-path="/pages/pbService/sceneComfort/index" class="gfyj" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/gfyj.png" mode=""/>
<image bindtap="gotoUrl" data-url="https://jiaotonghao2.amap.com/?channel=amap&unitId=257&src=app_share#/" class="sslk" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/sslk.png" mode=""/>
</view>
<!-- 下面几大板块 -->
<view class="slide-out-box">
<scroll-view scroll-x bindscroll="listenScroll" class="slide-box">
<view class="pbservice" style="margin-bottom:30rpx">
<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>
</view>
<view bindtap="gotoPath" data-event="night_sz" data-title="夜游苏州" data-path="/pages/list/night/index" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/yysz.png" mode="widthFix"></image>
<view class="text">夜游苏州</view>
</view>
<view bindtap="gotoPath" data-event="specialty" data-title="文创特产" data-path="/pages/list/{{isTest?'road':'techan'}}/index" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/wctc.png" mode="widthFix"></image>
<view class="text">文创特产</view>
</view>
<view bindtap="gotoPath" data-event="museum" data-title="场馆预约" data-path="/pages/list/{{isTest?'scene':'museum'}}/index" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/cgyy.png" mode="widthFix"></image>
<view class="text">场馆预约</view>
</view>
<view bindtap="gotoPath" data-event="show" data-title="剧场演出" data-path="/pages/list/{{isTest?'activity':'theatre'}}/index" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/jcyc.png" mode="widthFix"></image>
<view class="text">剧场演出</view>
</view>
<view bindtap="gotoUrl" data-event="card" data-title="一卡游苏州" data-url="https://m.cloud.sz-trip.com/OneDayTravelNew" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/yry.png" mode="widthFix"></image>
<view class="text">一日游</view>
</view>
<view bindtap="gotoPath" data-event="one_card" data-title="一卡游" data-path="/pages/list/card/index" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/yky.png" mode="widthFix"></image>
<view class="text">一卡游</view>
</view>
<view bindtap="gotoPath" data-event="legacy" data-title="非遗专卖" data-path="/pages/list/{{isTest?'scene':'feiyi'}}/index" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/fyzm.png" mode="widthFix"></image>
<view class="text">非遗专卖</view>
</view>
</view>
</scroll-view>
<view class="scroll-line">
<view class="scroll-line-bg" wx:if="{{scrollLeft == 0}}" style="width:25rpx;"></view>
<view class="scroll-line-bg2" wx:else style="width:25rpx;"></view>
</view>
</view>
</view> </view>
<view class="small-swiper-box" wx:else> <!-- 小轮播 -->
<view class="small-swiper-box">
<swiper class="small-swiper" autoplay="{{true}}" interval="{{5000}}" duration="{{300}}" <swiper class="small-swiper" autoplay="{{true}}" interval="{{5000}}" duration="{{300}}"
bindchange="changeSmBannerIndex"> bindchange="changeSmBannerIndex">
<block wx:for="{{xiaobanner}}" wx:key="*this"> <block wx:for="{{xiaobanner}}" wx:key="*this">
<swiper-item bindtap="bannerClick" data-item="{{item}}"> <swiper-item bindtap="bannerClick" data-item="{{item}}">
<!-- 原 圆角77rpx,现改为13rpx -->
<image style="border-radius:13rpx" src="{{item.head_img}}" mode="aspectFill"></image> <image style="border-radius:13rpx" src="{{item.head_img}}" mode="aspectFill"></image>
</swiper-item> </swiper-item>
</block> </block>
</swiper> </swiper>
<view class="dot-list com-flex sm-dot-list"> <view class="dot-list com-flex sm-dot-list">
<view class="dot{{smBannerIndex==index?' active':''}}" wx:for="{{xiaobanner}}"></view> <view class="dot{{smBannerIndex==index?' active':''}}" wx:for="{{xiaobanner}}" wx:key="this"></view>
</view> </view>
</view> </view>
<!-- 元旦修改 限时特惠--新版--> <!-- 游苏州 -->
<view class="sale-road-boxes xpth" style="margin-bottom: 18.67rpx;margin-top: 0;padding-top: 0;" wx:if="{{!isTest}}"> <view class="sale-road-boxes" style="margin: 0 26.67rpx;">
<!-- 上方标题部分 --> <view style="margin-bottom:6rpx;">
<view class="xsth-title"> <image style="width: 286.67rpx;height: 80rpx;margin-bottom: 14.67rpx;" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/ysz.png" mode=""/>
<view class="xsth-left" style="display: flex;"> <view>
<image mode="heightFix" style="height:86rpx" src="{{indexSeason.xpth}}"></image> <text style="padding: 11.33rpx 18rpx;" class="hdrlNav{{index==yszIndex?' hdrlNavActive':''}}" wx:for="{{yszNav}}" data-index="{{index}}" bindtap="changeType" wx:key="this">{{item}}</text>
</view>
<view class="time-box" style="z-index: 9;">
倒计时
<view class="xsth-time" style="margin-left: 20rpx;">{{djs.h}}</view>
<text>:</text>
<view class="xsth-time">{{djs.m}}</view>
<text>:</text>
<view class="xsth-time">{{djs.s}}</view>
</view>
<!-- <image class="rmtj-right" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/xpth-right.png" mode=""/> -->
<!-- <view class="xsth-more" bindtap="goBanner" data-url="{{xpth.adv.tdata}}">
更多<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/yuandan2024/rightIcon.png" mode="heightFix"/>
</view> -->
</view>
<!-- 商品部分 -->
<view class="xpth-product">
<!-- 左边的2个产品 -->
<view class="xpth-left">
<view class="xpth-item" wx:for="{{xpth.list}}" bindtap="productGotoDetail" data-item="{{item}}">
<image src="{{item.headimg}}" mode=""/>
<view class="xpth-item-content">
<view class="xpth-item-title textOver2">{{item.title}}</view>
<!-- <view class="xpth-tag">唇齿留香</view> -->
<view class="xpth-item-bottom">
<view class="xpth-item-price">{{item.price/100}}</view>
<!-- <view class="xpth-item-buy">立即抢购</view> -->
</view>
</view>
</view>
</view> </view>
<!-- 右边的banner -->
<image bindtap="goBanner" class="xpth-banner" data-url="{{xpth.adv.tdata}}" src="{{xpth.adv.head_img}}" mode="aspectFill"/>
</view> </view>
<image style="width: 218rpx;height: 109.33rpx;" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/boat.png" mode=""/>
</view> </view>
<view class="sale-road-boxes" style="margin-top:0"> <view class="ysz-box {{yszIndex==1?'ysz-box2':''}}">
<image mode="heightFix" style="height:86rpx" src="{{indexSeason.wlcx}}"></image> <view wx:if="{{yszIndex == 0}}">
<image class="rmtj-right" src="https://static.ticket.sz-trip.com/uploads/20240428/39d175e82c6761ed81bb1be507536caa.png" mode=""/> <view class="pbservice ggfw-list" style="width:100%;margin-top: 30rpx;justify-content: space-between;">
</view> <view bindtap="gotoPath" data-event="security_home_click" data-title="安全服务" data-path="/pages/pbService/security/index" class="pbservice-item ggfw" style="margin-right: 32.33rpx;">
<!-- 五一修改 .slide-out-box 增加背景色--> <image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/anquan.png" mode="widthFix"></image>
<view class="slide-out-box"> <view>安全服务</view>
<!-- 元旦修改 .slide-box的原样式 height:360rpx-->
<scroll-view scroll-x style="height:343.33rpx" bindscroll="listenScroll" class="slide-box">
<view class="pbservice" style="margin-bottom:30rpx">
<view bindtap="gotoUrl" data-title="非遗鉴赏" style="margin-left: 20rpx;" data-url="https://m.cloud.sz-trip.com/IntangibleCultural2" class="pbservice-item">
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/newpb3.jpg" mode="widthFix"></image>
<view>非遗鉴赏</view> -->
<!-- 元旦修改 第一个pbservice-item新增margin-left -->
<image src="https://static.ticket.sz-trip.com/uploads/20240428/8b3ea6eb8d4fb576e913902550b94d2e.png" mode="widthFix"></image>
<view class="text">非遗鉴赏</view>
</view>
<view bindtap="goH5" data-title="数字博物馆"
data-path="BwsInfo" class="pbservice-item">
<!-- <image src="https://static.ticket.sz-trip.com/uploads/20220907/d50f492083b419b9b538de274423084c.png" mode="widthFix"></image>
<view>数字博物馆</view> -->
<!-- 元旦修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240428/0de5585512ec3d1f552ee55da44c045d.png" mode="widthFix"></image>
<view class="text">数字博物馆</view>
</view>
<view bindtap="gotoUrl" data-event="book_click" data-title="公共文化资源库" data-url="https://m.cloud.sz-trip.com/PublicCulture2022"
class="pbservice-item">
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/ggwh.png" mode="widthFix"></image>
<view>公共文化资源库</view> -->
<!-- 元旦修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240428/8095d53bdf22777671618e09d3819af7.png" mode="widthFix"></image>
<view class="text">公共文化资源库</view>
</view>
<view bindtap="goH5" data-event="book_click" data-title="文博会" data-path="CloudExpo"
class="pbservice-item">
<!-- <image src="https://static.ticket.sz-trip.com/uploads/20220810/ceb07b75aa3df20d7f1de22e2588332a.png" mode="widthFix"></image>
<view>云上文博会</view> -->
<!-- 元旦修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240428/6378cb81c3b94756f3b46daf9ba2d11d.png" mode="widthFix"></image>
<view class="text">云上文博会</view>
</view>
<view bindtap="gotoUrl" data-event="cloud_click" data-title="云上观展"
data-url="https://m.cloud.sz-trip.com/CloudPerform2022" class="pbservice-item">
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/newpb13.png" mode="widthFix"></image>
<view>云上观展</view> -->
<!-- 元旦修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240428/20bd0f6233048ba51cd22157e14e686d.png" mode="widthFix"></image>
<view>云上观展</view>
</view> </view>
<view bindtap="gotoPath" data-event="review_click" data-title="精彩回顾" data-path="/pages/pbService/activity/index" <view bindtap="gotoUrl" data-event="comfort_click" data-title="景区舒适度"
class="pbservice-item"> data-url="https://m.cloud.sz-trip.com/ScenicComfort" class="pbservice-item ggfw" style="margin-right: 32.33rpx;">
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/newpb8.png" mode="widthFix"></image> <image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/gaofeng.png" mode="widthFix"></image>
<view>精彩回顾</view> --> <view>高峰预警</view>
<!-- 元旦修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240428/9304e0e40bb0b66601c33433cb954ebd.png" mode="widthFix"></image>
<view class="text">精彩回顾</view>
</view> </view>
<view bindtap="gotoPath" data-event="institution_click" data-title="文旅单位" <view bindtap="gotoUrl" data-event="xlqc"
data-path="/pages/list/culturalUnit/index" class="pbservice-item"> data-url="https://weixin.2500sz.net/zt/2023/07/luggage_storage/" class="pbservice-item ggfw" style="margin-right: 32.33rpx;">
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/newpb11.png" mode="widthFix"></image> <image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/xingli.png" mode="widthFix"></image>
<view>文旅单位</view> --> <view>行李寄存</view>
<!-- 元旦修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240428/d3905d90e670af5b68de79b8eaedc6ab.png" mode="widthFix"></image>
<view class="text">文旅单位</view>
</view>
<view bindtap="gotoPath" data-event="book_click" data-title="书仓" data-path="/pages/pbService/library/index"
class="pbservice-item">
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/newpb5.png" mode="widthFix"></image>
<view>书香借阅</view> -->
<!-- 元旦修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240428/559b7345b76e07c2eda23b184b086a2f.png" mode="widthFix"></image>
<view class="text">书仓</view>
</view>
<view bindtap="gotoPath" style="margin-left: 20rpx;" data-event="book_click" data-title="苏影通" data-path="/pages/list/movieticket/index"
class="pbservice-item">
<!-- <image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/syt.png" mode="widthFix"></image>
<view>苏影通</view> -->
<!-- 元旦修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240428/170121c61fb9e4b71a20574cab510ad7.png" mode="widthFix"></image>
<view class="text">苏影通</view>
</view>
<view bindtap="gotoPath" data-event="appreciate_click" data-title="视觉中心"
data-path="/pages/pbService/appreciate/index" class="pbservice-item">
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/newpb4.png" mode="widthFix"></image>
<view>视觉中心</view> -->
<!-- 元旦修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240428/03e1ce0f626cfcc4874180bb29e3244a.png" mode="widthFix"></image>
<view class="text">视觉中心</view>
</view>
<!-- <view bindtap="gotoPath" data-event="culture_search_click" data-title="文物查询"
data-path="/pages/pbService/wwcx/index" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/xcxImages/index/newpb3.png" mode="widthFix"></image>
<view>文物查询</view>
</view> -->
<view bindtap="goH5" data-title="文化场馆查询"
data-path="Museum" class="pbservice-item">
<!-- <image src="https://static.ticket.sz-trip.com/uploads/20220907/9fb0bc6ed4ba61b198b1928985d1645d.png" mode="widthFix"></image>
<view>文化场馆查询</view> -->
<!-- 元旦修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240428/928b340a3b619787dae9b194b0619a09.png" mode="widthFix"></image>
<view class="text">文化场馆查询</view>
</view> </view>
<!-- <view bindtap="gotoPath" data-event="museum_search_click" data-title="博物馆查询" <view bindtap="gotoUrl" data-event="xlqc"
data-path="/pages/pbService/museum/index" class="pbservice-item"> data-url="https://jiaotonghao2.amap.com/?channel=amap&unitId=257&src=app_share#/" class="pbservice-item ggfw" style="margin-right: 0;">
<image src="https://static.ticket.sz-trip.com/xcxImages/index/newpb6.png" mode="widthFix"></image> <image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/shishi.png" mode="widthFix"></image>
<view>博物馆查询</view> <view>实时路况</view>
</view> -->
<!-- <view bindtap="gotoUrl" data-event="book_click" data-title="文博会" data-url="https://yscbh.sz-trip.com/"
class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/uploads/20220810/ceb07b75aa3df20d7f1de22e2588332a.png" mode="widthFix"></image>
<view>云上文博会</view>
</view> -->
<view bindtap="gotoUrl" data-event="investment_click" data-title="投资导引图" data-url="https://hot-map.sz-trip.com/"
class="pbservice-item">
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/newpb1.png" mode="widthFix"></image>
<view>投资导引图</view> -->
<!-- 元旦修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240428/4dcc3f8e1ad4002a08ce08aa0aa68313.png" mode="widthFix"></image>
<view class="text">投资导引图</view>
</view> </view>
<!-- <view bindtap="gotoUrl" data-title="数字文物"
data-url="https://foxnut-gffcu6t2.pai.tcloudbase.com/suzhouguobao/index.html#/" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/xcxImages/index/newpb12.png" mode="widthFix"></image>
<view>数字文物</view>
</view> -->
<!-- <view bindtap="gotoPath" data-event="team_click" data-title="团体预约" data-path="/pages/pbService/group/index"
class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/xcxImages/index/newpb9.png" mode="widthFix"></image>
<view>团体预约</view>
</view> -->
<!-- <view bindtap="gotoUrl" data-title="廉洁地图"
data-url="https://ljwhdt.lianshi.gov.cn:8443/Web/WebChatJCW/Mobile/EduBase/MobileMap.aspx"
class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/xcxImages/index/newpb10.png" mode="widthFix"></image>
<view>廉洁地图</view>
</view> -->
<!-- <view bindtap="gotoPath" data-event="book_click" data-title="文化配送" data-path="/pages/culture/index"
class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/uploads/20220818/e02af6e8bf9170060ed7295d367d72c1.png" mode="widthFix"></image>
<view>文化配送</view>
</view> -->
</view> </view>
</scroll-view> <navigator class="ysz-more" url="/pages/pbService/index" catchtap="pagePoint" data-event="public_view">
<view class="scroll-line"> 查看更多 >
<!-- <view class="scroll-line-bg" style="width:{{4 / 5 * 100}}%;margin-left:{{scrollLeft}}px"></view> --> </navigator>
<!-- 元旦修改 以下两行都是改的 .scroll-line-bg .scroll-line-bg2-->
<view class="scroll-line-bg" wx:if="{{scrollLeft == 0}}" style="width:37rpx;"></view>
<view class="scroll-line-bg2" wx:else style="width:37rpx;"></view>
</view> </view>
</view> <view wx:else>
<view class="sale-road-boxes" style="margin-top:0"> <view class="pic-list" style="margin-top:20rpx" wx:if="{{!isTest}}">
<image mode="heightFix" style="height:86rpx" src="{{indexSeason.lyzs}}"></image> <image class="new-pic" bindtap="gotoUrl" data-event="dou_click" data-title="抖in苏州"
<image class="rmtj-right" src="https://static.ticket.sz-trip.com/uploads/20240428/118befe20ab47fea88bdd704ae1fbe20.png" mode=""/> data-url="https://m.cloud.sz-trip.com/ShakeInDetailList?id=350&class_id=27&index=1"
</view> src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/douyin.png" mode="aspectFill"></image>
<view class="pic-list" style="margin-top:20rpx" wx:if="{{!isTest}}"> <image class="new-pic" bindtap="gotoPath" data-event="food_click" data-title="街巷美食"
<image class="new-pic" bindtap="gotoUrl" data-event="dou_click" data-title="抖in苏州" data-path="/pages/list/{{isTest?'road':'food'}}/index"
data-url="https://m.cloud.sz-trip.com/ShakeInDetailList?id=350&class_id=27&index=1" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/jiexiang.png" mode="aspectFill"></image>
src="https://static.ticket.sz-trip.com/uploads/20240428/c40ddcb3ed2c971eec02187374540d06.png" mode="aspectFill"></image> <image class="new-pic" bindtap="audioGuide" data-event="voice_click"
<image class="new-pic" bindtap="gotoPath" data-event="food_click" data-title="街巷美食" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/yuyin.png" mode="aspectFill">
data-path="/pages/list/{{isTest?'road':'food'}}/index" </image>
src="https://static.ticket.sz-trip.com/uploads/20240428/866baa2713b1819cb861aec9fd34970d.png" mode="aspectFill"></image> <image class="new-pic" bindtap="gotoPath" data-event="guide_click" data-title="游记攻略" data-path="/pages/list/strategy/index"
<image class="new-pic" bindtap="audioGuide" data-event="voice_click" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/youji.png" mode="aspectFill"></image>
src="https://static.ticket.sz-trip.com/uploads/20240428/7e1fc96543b093aa6871172770d0db6b.png" mode="aspectFill">
</image>
<image class="new-pic" bindtap="gotoPath" data-event="guide_click" data-title="游记攻略" data-path="/pages/list/strategy/index"
src="https://static.ticket.sz-trip.com/uploads/20240428/3c21e5876209c1bad4bbfcc688779c08.png" mode="aspectFill"></image>
<!-- <image class="new-pic" bindtap="gotoUrl" data-event="dou_click" data-title="抖in苏州"
data-url="https://m.cloud.sz-trip.com/ShakeInDetailList?id=350&class_id=27&index=1"
src="https://static.ticket.sz-trip.com/jundaosuzhou/images/yuandan2024/disz.png" mode="aspectFill"></image> -->
<!-- <image class="new-pic" bindtap="gotoPath" data-event="food_click" data-title="街巷美食"
data-path="/pages/list/{{isTest?'road':'food'}}/index"
src="https://static.ticket.sz-trip.com/jundaosuzhou/images/yuandan2024/jxms.png" mode="aspectFill"></image> -->
<!-- <image class="new-pic" bindtap="audioGuide" data-event="voice_click"
src="https://static.ticket.sz-trip.com/jundaosuzhou/images/yuandan2024/yydl.png" mode="aspectFill">
</image>
<image class="new-pic" bindtap="gotoPath" data-event="guide_click" data-title="游记攻略" data-path="/pages/list/strategy/index"
src="https://static.ticket.sz-trip.com/jundaosuzhou/images/yuandan2024/yjgl.png" mode="aspectFill"></image> -->
<!-- 元旦修改 下面4个为原始的, 上面的是新改的 新改的class为 new-pic -->
<!-- <image bindtap="gotoUrl" data-event="dou_click" data-title="抖in苏州"
data-url="https://m.cloud.sz-trip.com/ShakeInDetailList?id=350&class_id=27&index=1"
src="https://static.ticket.sz-trip.com/jundaosuzhou/images/jdsz/douinsuzhou.png" mode="aspectFill"></image>
<image bindtap="gotoPath" data-event="food_click" data-title="街巷美食"
data-path="/pages/list/{{isTest?'road':'food'}}/index"
src="https://static.ticket.sz-trip.com/jundaosuzhou/images/jdsz/suzhoumeishi.png" mode="aspectFill"></image>
<image bindtap="audioGuide" data-event="voice_click"
src="https://static.ticket.sz-trip.com/jundaosuzhou/images/jdsz/yuyindaohang.png" mode="aspectFill">
</image>
<image bindtap="gotoPath" data-event="guide_click" data-title="游记攻略" data-path="/pages/list/strategy/index"
src="https://static.ticket.sz-trip.com/jundaosuzhou/images/jdsz/youjigonlue.png" mode="aspectFill"></image> -->
<!-- <image bindtap="city" data-event="city_click" src="https://static.ticket.sz-trip.com/xcxImages/index/cxzs4.png"
mode="aspectFill"></image> -->
</view>
<view class="sale-road-boxes" style="margin-top:0;">
<image mode="heightFix" style="height:86rpx" src="{{indexSeason.ggfw}}"></image>
<navigator url="/pages/pbService/index" catchtap="pagePoint" data-event="public_view" class="title-more">查看全部 <text
class="iconfont icon-you"></text> </navigator>
<!-- <image class="rmtj-right" style="z-index: 2;" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/ggfw-right.png" mode=""/> -->
</view>
<view style="overflow-x:auto;background: #FFFED6;border-radius: 20rpx;">
<!-- 元旦修改 ggfw为新增类名 -->
<view class="pbservice ggfw-list" style="width:100%;margin-top: 30rpx;">
<!-- <view bindtap="gotoPath" data-event="comfort_click" data-title="景区舒适度"
data-path="/pages/pbService/sceneComfort/index" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/xcxImages/pbservice/pb4.png" mode="widthFix"></image>
<view>景区舒适度</view>
</view> -->
<!-- 元旦修改 ggfw为新增类名 -->
<view bindtap="gotoPath" data-event="security_home_click" data-title="安全服务" data-path="/pages/pbService/security/index" class="pbservice-item ggfw" style="margin-right: 32.33rpx;">
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/pb4.png" mode="widthFix"></image> -->
<!-- 元旦修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240428/be9d01a4552438a93681b1e6b3c1c783.png" mode="widthFix"></image>
<view>安全服务</view>
</view>
<view bindtap="gotoUrl" data-event="comfort_click" data-title="景区舒适度"
data-url="https://m.cloud.sz-trip.com/ScenicComfort" class="pbservice-item ggfw" style="margin-right: 32.33rpx;">
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/pbservice/pb4.png" mode="widthFix"></image> -->
<!-- 元旦修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240428/9ad72c94d55ef5c94f942b8c91e63f83.png" mode="widthFix"></image>
<view>景区舒适度</view>
</view>
<view bindtap="gotoUrl" data-event="xlqc"
data-url="https://weixin.2500sz.net/zt/2023/07/luggage_storage/" class="pbservice-item ggfw" style="margin-right: 32.33rpx;">
<!-- <image src="https://static.ticket.sz-trip.com/uploads/20230808/484100644e7f02f4eb722a8c2e665927.png" mode="widthFix"></image> -->
<!-- 元旦修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240428/2fa6724e47aeb565873660a8c9e2624a.png" mode="widthFix"></image>
<view>行李寄存</view>
</view>
<view bindtap="gotoUrl" data-event="xlqc"
data-url="https://jiaotonghao2.amap.com/?channel=amap&unitId=257&src=app_share#/" class="pbservice-item ggfw" style="margin-right: 0;">
<!-- <image src="https://static.ticket.sz-trip.com/uploads/20230901/21668c913dd4875d05eba398e905b9f0.png" mode="widthFix"></image> -->
<!-- 元旦修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240428/ccc1b7554d388861f2d4936d7577c347.png" mode="widthFix"></image>
<view>实时路况</view>
</view> </view>
<!-- <view bindtap="gotoPath" data-event="toilet_home_click" data-title="找厕所"
data-path="/pages/pbService/bike/index?type=1" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/xcxImages/index/pb2.png" mode="widthFix"></image>
<view>找厕所</view>
</view> -->
<!-- <view bindtap="gotoPath" data-event="car_park_home_click" data-title="停车场"
data-path="/pages/pbService/bike/index?type=2" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/xcxImages/index/pb3.png" mode="widthFix"></image>
<view>停车场</view>
</view> -->
<!-- <view bindtap="gotoPath" data-event="security_home_click" data-title="12348" data-path="/pages/index/index"
class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/xcxImages/index/pb4New.png" mode="widthFix"></image>
<view>12348</view>
</view> -->
</view> </view>
</view> </view>
<view class="sale-road-boxes"> <!-- 推荐榜单 -->
<image mode="heightFix" style="height:86rpx" src="{{indexSeason.sqj}}"></image> <image class="tjbd-title" style="width: 286.67rpx;height: 80rpx;margin-left: 26rpx;margin-bottom: 20rpx;" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/tjbd.png" mode=""/>
<image class="rmtj-right" src="https://static.ticket.sz-trip.com/uploads/20240428/6955225b950d5bbe5168f5d9994a6098.png" mode=""/> <!-- 4个产品榜单 -->
</view> <view style="display: flex;overflow-x: scroll;padding-right: 20rpx;" class="bottom-box">
<!-- <view class="six-box"> <view class="bd-box" style="background:{{item.bg}};" wx:for="{{bdList}}" wx:key="this">
<image bindtap="gotoPath" data-event="{{area_ids[index]}}_click" data-title="苏城六纪" <image class="zz" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/zzIcon.png" mode=""/>
data-path="/pages/list/six/index?area={{area_ids[index]}}" wx:for="{{10}}" <view class="bd-top">
src="https://static.ticket.sz-trip.com/xcxImages/index/six{{index+1}}.png" mode="widthFix"> <image class="bd-type" src="{{item.icon}}" mode=""/>
</image> <view bindtap="moreBtn" class="bd-more" data-item="{{item}}">更多 ></view>
</view> -->
<!-- 元旦修改 十全街新 以上注释部分为之前的版本-->
<view class="six-box-new" wx:if="{{!isTest}}">
<image bindtap="gotoPath" data-event="{{area_ids[index]}}_click" data-title="苏城六纪"
data-path="/pages/list/six/index?area={{area_ids[index]}}" wx:for="{{sqjNew}}"
src="{{sqjNew[index]}}" mode="widthFix">
</image>
</view>
<view class="sale-road-boxes" style="margin-top:0" wx:if="{{otherPlat}}">
<image mode="heightFix" style="height:86rpx" src="{{indexSeason.csjwlpt}}"></image>
<image class="rmtj-right" src="https://static.ticket.sz-trip.com/uploads/20240428/f6648d96e0f6d99cc8d82633b5ad1536.png" mode=""/>
</view>
<view class="other-plats" wx:if="{{otherPlat}}">
<view class="other-plat" wx:for="{{otherPlat}}" bindtap="gotoOther" data-item="{{item}}">
<image src="{{item.icon}}" mode="widthFix"></image>
<view>{{item.name}}</view>
</view> </view>
</view> <view wx:if="{{index==0}}" style="position: relative;z-index: 9;">
<view class="sale-road-boxes" style="margin-top:0"> <view data-url="/pages/info/sceneProductInfo/index?id={{item.id}}" style="display: flex;align-items: center;margin-bottom: 20rpx;" wx:for="{{list1}}" wx:key="id" bindtap="gobdDetail">
<image mode="heightFix" style="height:86rpx" src="{{indexSeason.rmtj}}"></image> <view class="bd-index">{{index+1}}</view>
<image class="rmtj-right" src="https://static.ticket.sz-trip.com/uploads/20240428/31601dded0df580774b24b064bbb6580.png" mode=""/> <view class="bd-item">
</view> <image class="bd-item-img" src="{{item.headimg}}" mode=""/>
<view class="hot-list" wx:if="{{isTest==false}}"> <view class="bd-item-content">
<view class="hot-list-item" wx:for="{{2}}" wx:for-index="number"> <view class="bd-item-title textOver2">
<view wx:for="{{list}}" wx:if="{{index%2==number}}" bindtap="gotoDetail" data-item="{{item}}"> {{item.title}}
<view wx:if="{{number==0 && index==0}}" class="hot-item today-hot"> </view>
<common-image class="today-main-img" width="100%" height="615rpx" src="{{item.ext.headimg}}" <view class="bd-item-bottom">
mode="aspectFill"></common-image> <view class="bd-price">{{item.price/100}}</view>
<view style="position:absolute;left:0;right:0;top:0;bottom:0;background:rgba(0,0,0,0.14)"></view> <view class="bd-distance" wx:if="{{item.distance}}">{{item.distance}}</view>
<image class="today-tip-img" src="https://static.ticket.sz-trip.com/xcxImages/index/today.png"
mode="widthFix"></image>
<view class="today-date">{{date}} {{month}}</view>
<view class="today-hot-box">
<view class="today-hot-tag textOver" wx:for="{{item.ext.display_tags && ext.display_tags.length>0}}">
{{item.ext.display_tags[0]}}</view>
<view class="today-hot-title">{{item.title}}</view>
</view>
</view>
<view class="hot-item" wx:elif="{{item.type=='travels'}}">
<view style="position:relative">
<common-image width="100%" src="{{item.ext.headimg}}" mode="widthFix"></common-image>
<view class="hot-location textOver">{{item.ext.subtitle}}</view>
</view>
<view class="hot-info">
<view class="hot-title">{{item.title}}</view>
<view class="tags textOver" style="margin-bottom:0">
<view class="icon-box">
<text class="iconfont icon-xin"></text>
<text>{{item.ext.like_number}}</text>
</view>
<view class="icon-box">
<text class="iconfont icon-eye"></text>
<text>{{item.ext.view_number}}</text>
</view>
</view> </view>
</view>
</view>
<view wx:else class="hot-item">
<view style="position:relative">
<common-image width="100%" src="{{item.ext.headimg}}" mode="widthFix"></common-image>
<!-- <view wx:if="{{item.type!='act_calendar' && item.ext.address}}" class="hot-location textOver"><text
class="iconfont icon-location"></text>{{item.ext.address}}</view> -->
</view>
<view class="hot-info">
<view class="hot-title">{{item.title}}</view>
<!-- <view class="tags textOver">
<view wx:for="{{item.ext.display_tags}}" class="tag textOver">{{item}}</view>
</view> -->
<view wx:if="{{item.ext.type!='tenscenic' && item.ext.price}}" class="hot-price">
<text>¥</text><text>{{item.ext.price/100}}</text><text>起</text></view>
</view> </view>
</view> </view>
</view> </view>
</view> </view>
</view> <view wx:if="{{index==1}}" style="position: relative;z-index: 9;">
<view wx:if="{{listMore && isTest==false}}" class="more-btn-text" bindtap="getList">查看更多</view> <view bindtap="gobdDetail" data-url="/pages/info/postProductInfo/index?id={{item.id}}" style="display: flex;align-items: center;margin-bottom: 20rpx;" wx:for="{{list2}}" wx:key="id">
<view wx:else class="more-btn-text" bindtap="getList">暂无更多推荐</view> <view class="bd-index">{{index+1}}</view>
</view> <view class="bd-item">
<view class="mask prizeMask" wx:if="{{videoPrize}}"> <image class="bd-item-img" src="{{item.headimg}}" mode="aspectFill"/>
<view class="mask-bg"></view> <view class="bd-item-content">
<view class="mask-content" <view class="bd-item-title textOver2">
style="width:100%;display:flex;flex-direction:column;background:none;border-radius:0;align-items:center"> {{item.title}}
<!-- 中奖的卡券 --> </view>
<view style="position:relative" wx:if="{{prizeInfo && prizeInfo.type=='coupon'}}"> <view class="bd-item-bottom">
<image bindtap="choosePrize" style="display:block;width:533rpx" <view class="bd-price">{{item.price/100}}</view>
src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/videoprize/bg1.png" mode="widthFix"></image> <view class="bd-distance" wx:if="{{item.distance}}">{{(item.distance/1000)}}km</view>
<image src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/videoprize/congratulation.png" mode="widthFix" </view>
class="prize-tip-text"></image> </view>
<view class="prize-name">{{prizeInfo.prize_name}}</view> </view>
<view class="prize-img">
<image src="{{prizeInfo.head_img}}" mode="aspectFill"></image>
</view> </view>
<!-- <view class="btn-box">
<image src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/videoprize/btnbg.png" mode="widthFix"></image>
<navigator url="/pages/user/videoCoupon/index">前往查看</navigator>
</view> -->
</view> </view>
<!-- 中奖的产品 --> <view wx:if="{{index==2}}" style="position: relative;z-index: 9;">
<view style="position:relative" wx:elif="{{prizeInfo && prizeInfo.type=='product'}}"> <view bindtap="gobdDetail" data-url="/pages/info/roadInfo/index?id={{item.id}}" style="display: flex;align-items: center;margin-bottom: 20rpx;" wx:for="{{list3}}" wx:key="id">
<image bindtap="choosePrize" style="display:block;width:533rpx" <view class="bd-index">{{index+1}}</view>
src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/videoprize/bg1.png" mode="widthFix"></image> <view class="bd-item">
<image src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/videoprize/congratulation.png" mode="widthFix" <image class="bd-item-img" src="{{item.headimg}}" mode=""/>
class="prize-tip-text"></image> <view class="bd-item-content">
<view class="prize-name">{{prizeInfo.prize_name}}</view> <view class="bd-item-title textOver2">
<view class="prize-img"> {{item.title}}
<image src="{{prizeInfo.head_img}}" mode="aspectFill"></image> </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>
</view>
</view>
</view> </view>
<!-- <view class="btn-box">
<image src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/videoprize/btnbg.png" mode="widthFix"></image>
<navigator url="/pages/user/videoCoupon/index">前往查看</navigator>
</view> -->
</view> </view>
<!-- 未中奖 --> <view wx:if="{{index==3}}" style="position: relative;z-index: 9;">
<view style="position:relative" wx:elif="{{prizeInfo && prizeInfo.type=='none'}}"> <view bindtap="gobdDetail" data-url="/pages/info/sceneProductInfo/index?id={{item.scene_id}}" style="display: flex;align-items: center;margin-bottom: 20rpx;" wx:for="{{list4}}" wx:key="id">
<image bindtap="choosePrize" style="display:block;width:533rpx" <view class="bd-index">{{index+1}}</view>
src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/videoprize/bg1.png" mode="widthFix"></image> <view class="bd-item">
<image src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/videoprize/sorrytext.png" mode="widthFix" <image class="bd-item-img" src="{{item.headimg}}" mode=""/>
class="prize-tip-text"></image> <view class="bd-item-content">
<view class="prize-name">您与奖品擦肩而过期待下次参与</view> <view class="bd-item-title textOver2">
<view class="prize-img"> {{item.title}}
<image src="{{prizeInfo.head_img}}" mode="aspectFill"></image> </view>
</view> <view class="bd-item-bottom">
<view class="btn-box"> <view class="bd-price">{{item.price/100}}</view>
<image src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/videoprize/btnbg.png" mode="widthFix"></image> <view class="bd-distance" wx:if="{{item.distance}}">{{(item.distance/1000)}}km</view>
<view bindtap="closePrice">我知道了</view> </view>
</view>
</view>
</view> </view>
</view> </view>
<!-- 未抽奖状态 -->
<view style="position:relative" wx:else>
<image bindtap="choosePrize" style="display:block;width:533rpx"
src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/videoprize/allbg.png" mode="widthFix"></image>
<view class="nomore-tip-btn" bindtap="noMoreTip"></view>
</view>
<image bindtap="closePrice" style="width:80rpx;margin-top:40rpx"
src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/videoprize/allclose.png" mode="widthFix"></image>
</view> </view>
</view>
</view> </view>
<!-- 广告弹窗 -->
<view class="zzc" bindtap="closeAdv" wx:if="{{showAdv}}" ></view> <!-- 开屏页 -->
<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">
<block wx:for="{{alertSwipeList}}" wx:key="*this">
<swiper-item data-item="{{item}}" bindtap="bannerJumpNew" >
<image src="{{item.head_img}}" style="width: 100%; height:100%; border-radius: 10rpx;" mode="aspectFill"></image>
</swiper-item>
</block>
</swiper>
<image bindtap="closeAdv" style="width: 100rpx; height: 100rpx;transform: translate(200rpx,6rpx);" src="https://static.ticket.sz-trip.com/uploads/20220810/f4bb1a4f0b5eb394e6ca6e4f03aaa1e0.png"></image>
</view>
<!-- 广告弹窗结束 -->
<view class="fullavd" wx:if="{{showFullAdv && startList.head_img}}" style="opacity: {{opacity}}"> <view class="fullavd" wx:if="{{showFullAdv && startList.head_img}}" style="opacity: {{opacity}}">
<view class="time" bindtap="closeFullAdv" wx:if="{{showTime && startList.media_type}}">{{time}}s跳过</view> <view class="time" bindtap="closeFullAdv" wx:if="{{showTime && startList.media_type}}">{{time}}s跳过</view>
<view class="Qtop" style="min-height:100vh" wx:if="{{showTime && startList.media_type}}"> <view class="Qtop" style="min-height:100vh" wx:if="{{showTime && startList.media_type}}">
@ -685,12 +303,4 @@
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/startPage/pause.png" class="playImg" mode="widthFix" wx:else bindtap="videoPause"></image> <image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/startPage/pause.png" class="playImg" mode="widthFix" wx:else bindtap="videoPause"></image>
</view> </view>
</view> </view>
<!-- <view class="topBox">
<view class="Qtop" :style="{height:height}">
<image style="width: 100%;height:{{height}}" src="{{startList.head_img}}" mode=""/>
</view>
<view class="jumpBox">
<view class="time">{{time}}s</view>
<view bind:tap="gotoIndex">跳过</view>
</view>
</view> -->

367
pages/index/index.wxss

@ -1,11 +1,10 @@
/**index.wxss**/ /* pages/indexs/index.wxss */
/* 元旦修改 */ /* 元旦修改 */
page { page {
background: #f5f2ed; background: #f5f2ed;
padding-bottom: 36.67rpx; padding-bottom: 36.67rpx;
/* background-image: url("https://static.ticket.sz-trip.com/uploads/20240428/7e9d12e2157ba5d4e77ef1b12f049012.png"); */ background: url("https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/bg.png");
background-size: 100% 100%; background-size: 100% 100%;
background: url("https://static.ticket.sz-trip.com/uploads/20240428/7e9d12e2157ba5d4e77ef1b12f049012.png");
background-repeat: round; background-repeat: round;
} }
.swiper,.swiper image { .swiper,.swiper image {
@ -39,18 +38,10 @@ page {
.search-box { .search-box {
flex: 1; flex: 1;
width: 100%; width: 100%;
/* height: 64rpx; */
/* background: rgba(255, 255, 255, 0.6); */
/* border-radius: 32rpx; */
/* color: #666; */
/* height: 70.67rpx; */
height: 64rpx; height: 64rpx;
background: rgba(255,255,255,0.7); background: rgba(255,255,255,0.7);
border-radius: 32rpx; border-radius: 32rpx;
/* color: #72674E; */ color: #000;
color: #333333;
/* background-image: url("https://static.ticket.sz-trip.com//uploads/20240228/10b93c1389ef5dfc02d07c4091af8f2d.png");
background-size: 100% 100%; */
display: flex; display: flex;
align-items: center; align-items: center;
font-size: 25rpx; font-size: 25rpx;
@ -59,7 +50,7 @@ page {
font-size: 30rpx; font-size: 30rpx;
margin-left: 20rpx; margin-left: 20rpx;
margin-right: 10rpx; margin-right: 10rpx;
/* color: #72674E; */ color: #000;
} }
.top-box .weather-num,.top-box .weather { .top-box .weather-num,.top-box .weather {
flex-shrink: 0; flex-shrink: 0;
@ -113,7 +104,7 @@ page {
margin-bottom: 10rpx; margin-bottom: 10rpx;
} }
.content { .content {
margin: 0 25rpx; /* margin: 0 25rpx; */
} }
.sale-road-boxes { .sale-road-boxes {
display: flex; display: flex;
@ -203,13 +194,11 @@ page {
height: 154rpx; height: 154rpx;
} }
.small-swiper-box { .small-swiper-box {
margin: 50rpx 0; margin: 24rpx 26.67rpx 26.67rpx;
width: 100%; /* width: 100%; */
height: 154rpx; height: 154rpx;
border-radius: 20rpx; border-radius: 20rpx;
/* border-radius: 77rpx; */
overflow: hidden; overflow: hidden;
margin-bottom: 33rpx;
position: relative; position: relative;
} }
.product-tags { .product-tags {
@ -341,34 +330,29 @@ page {
font-size: 22rpx; font-size: 22rpx;
} }
.slide-out-box { .slide-out-box {
margin-top: 20rpx; /* margin-top: 20rpx;
background: #FFFED6; background: #FFFED6;
box-shadow: 0rpx 0rpx 3rpx 0rpx rgba(103,103,103,0.2); box-shadow: 0rpx 0rpx 3rpx 0rpx rgba(103,103,103,0.2); */
border-radius: 27rpx; border-radius: 27rpx;
padding-bottom: 1rpx; padding-bottom: 1rpx;
margin-bottom: 40rpx; /* margin-bottom: 40rpx; */
} }
.pbservice { .pbservice {
/* width: calc(175rpx * 6); */ width: calc(160rpx * 8);
/* 元旦修改 */
width: calc(190rpx * 8);
display: flex; display: flex;
margin-top: 20rpx; margin-top: 5rpx;
flex-wrap: wrap; /* flex-wrap: wrap; */
/* margin-bottom: 60rpx; */ flex-wrap: nowrap;
/* 元旦修改 注释margin-bottom */ /* padding-left: 12rpx; */
/* overflow-x: scroll; */
} }
.pbservice-item { .pbservice-item {
/* 元旦修改 截止到注释的width*/
width: 120rpx; width: 120rpx;
margin-bottom: 33.33rpx; margin-bottom: 25rpx;
margin-right: 62.33rpx; margin-right: 32.33rpx;
/* width: 175rpx; */
text-align: center; text-align: center;
font-size: 25rpx; font-size: 27rpx;
/* color: #333; */ color: #000;
/* 春节调整颜色改版 */
color: #54504D;
line-height: 24rpx; line-height: 24rpx;
display: flex; display: flex;
align-items: center; align-items: center;
@ -383,7 +367,7 @@ page {
margin-bottom: 20rpx; margin-bottom: 20rpx;
margin-top: 50rpx; */ margin-top: 50rpx; */
/* 元旦修改 以上都是之前的*/ /* 元旦修改 以上都是之前的*/
width: 106rpx; width: 80rpx;
margin-bottom: 10rpx; margin-bottom: 10rpx;
} }
.six-box { .six-box {
@ -567,30 +551,24 @@ page {
overflow: hidden; overflow: hidden;
margin: 30rpx auto; */ margin: 30rpx auto; */
/* 元旦修改 以上为注释部分 下面为新内容*/ /* 元旦修改 以上为注释部分 下面为新内容*/
width: 73rpx !important; width: 48rpx !important;
height: 7rpx; height: 8rpx;
/* background: #DDCEAC; */ /* background: #DDCEAC; */
background: #CAED72; background: #fff;
border-radius: 3rpx; border-radius: 4rpx;
margin: 33.33rpx auto; margin: 0 auto 25rpx;
} }
.scroll-line-bg { .scroll-line-bg {
/* width: 300rpx; height: 8rpx;
height: 6rpx; background: #078565;
border-radius: 3rpx; border-radius: 4rpx;
background: #0B898E; */
/* 元旦修改 以上为注释部分 下面为新内容*/
height: 7rpx;
/* background: #72674E; */
background: #3EB978;
border-radius: 3rpx;
} }
/* 元旦修改 新增样式 */ /* 元旦修改 新增样式 */
.scroll-line-bg2 { .scroll-line-bg2 {
margin-left: 37.33rpx; margin-left: 24rpx;
background: #3EB978; background: #078565;
height: 7rpx; height: 8rpx;
border-radius: 3rpx; border-radius: 4rpx;
} }
.nomore-tip-btn { .nomore-tip-btn {
position: absolute; position: absolute;
@ -1052,7 +1030,7 @@ page {
} }
/* 元旦修改新增样式 */ /* 元旦修改新增样式 */
.new-pic { .new-pic {
width: 158.67rpx !important; width: 150rpx !important;
height: 218.67rpx !important; height: 218.67rpx !important;
margin-bottom: 26.67rpx; margin-bottom: 26.67rpx;
} }
@ -1065,8 +1043,8 @@ page {
} }
.ggfw image{ .ggfw image{
margin-bottom: 16.67rpx; margin-bottom: 16.67rpx;
width: 70rpx !important; width: 113.33rpx !important;
height: 70rpx !important; height: 113.33rpx !important;
} }
.six-box-new { .six-box-new {
@ -1174,3 +1152,276 @@ page {
left: 56.67rpx; left: 56.67rpx;
bottom: 64rpx; bottom: 64rpx;
} }
.right-more {
width: 120rpx;
height: 47rpx;
background-color: rgba(255,255,255,.7);
border-radius: 23rpx;
font-weight: 500;
font-size: 27rpx;
color: #078565;
text-align: center;
line-height: 47rpx;
}
.hdrlNavList {
display: flex;
margin: 28rpx 26.67rpx 10rpx;
overflow-x: scroll;
flex-wrap: nowrap;
}
.hdrlNav {
flex-shrink: 0;
/* width: 160rpx; */
padding: 0 20rpx;
height: 53rpx;
background: #F8FFDB;
border-radius: 13rpx;
font-size: 32rpx;
color: #078565;
text-align: center;
line-height: 53rpx;
margin-right: 14rpx;
}
.hdrlNavActive {
background-color: #078565;
font-size: 32rpx;
color: #FFFFFF;
}
.hdrlItem {
flex-shrink: 0;
padding: 26.67rpx 32rpx 26.67rpx 20rpx;
width: 593.33rpx;
display: flex;
background: url("https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/calendarBg.png");
background-size: 100% 100%;
}
.hdrlItem-img {
width: 280rpx;
height: 213rpx;
background: #8C8C8C;
border-radius: 13rpx;
flex-shrink: 0;
margin-right: 12rpx;
}
.hdrlItem-content {
display: flex;
flex-direction: column;
justify-content: space-between;
height: 213rpx;
}
.hdrlItem-title {
font-weight: bold;
font-size: 28rpx;
color: #000000;
margin-top: 15.33rpx;
}
.hdrlItem-date {
font-weight: 500;
font-size: 23rpx;
color: #000000;
margin-bottom: 19.33rpx;
}
.main-box {
background-image: url("https://static.ticket.sz-trip.com/uploads/20240603/8ddceea4612d2cfb46d1a0203f4b55ac.png");
background-size: 100% 100%;
padding: 27.67rpx 20.67rpx 40rpx 20rpx;
margin: 0 8rpx;
}
.main-box-top {
display: flex;
margin-bottom: 5.33rpx;
}
.gfyj,.sslk {
width: 369.33rpx;
height: 146rpx;
flex-shrink: 0;
}
.sslk {
margin-left: -48rpx;
}
.movieItem {
padding: 26.67rpx 26rpx 26.67rpx 20rpx;
background: url("https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/calendarBg.png");
background-size: 100% 100%;
flex-shrink: 0;
}
.movieItem-img {
width: 230rpx;
height: 230rpx;
border-radius: 18rpx;
margin-right: 18rpx;
flex-shrink: 0;
}
.ysz-box {
margin: 0 8rpx 15.33rpx;
background-image: url("https://static.ticket.sz-trip.com/uploads/20240604/d59d35c02ced0da92a366971a63a2476.png");
padding: 43.33rpx 59rpx 46.67rpx 58rpx;
background-size: 100% 100%;
}
.ysz-more {
width: 333rpx;
height: 53rpx;
background: #FFFFFF;
border-radius: 27rpx;
margin: 38rpx auto 0;
text-align: center;
line-height: 53rpx;
font-weight: 500;
font-size: 27rpx;
color: #078565;
}
.ysz-box2 {
padding: 20rpx 35rpx;
}
.tjbd-title {
width: 286.67rpx;
height: 80rpx;
}
.bd-box {
position: relative;
padding: 36rpx 30.67rpx 44.67rpx 28.67rpx;
margin-left: 26.67rpx;
width: 582rpx;
/* height: 1133rpx; */
background: linear-gradient(-8deg, #F4F9FF, #B9E1F0);
box-shadow: 0rpx 7rpx 20rpx 0rpx rgba(27,128,97,0.56);
border-radius: 20rpx 80rpx 20rpx 20rpx;
}
.bd-top {
display: flex;
justify-content: space-between;
margin-bottom: 30rpx;
position: relative;
}
.zz {
width: 236.67rpx;
height: 206.67rpx;
position: absolute;
right: 0;
top: 0;
z-index: 2;
}
.bd-type {
width: 167.33rpx;
height: 38.67rpx;
}
.bd-more {
width: 120rpx;
height: 47rpx;
background: rgba(255,255,255,.7);
border-radius: 23rpx;
font-weight: 500;
font-size: 27rpx;
color: #078565;
z-index: 9;
text-align: center;
line-height: 47rpx;
}
.bd-index {
font-weight: bold;
font-size: 40rpx;
color: #000000;
}
.bd-item {
margin-left: 45.33rpx;
width: 453rpx;
height: 147rpx;
background: #FFFFFF;
border-radius: 13rpx;
display: flex;
}
.bd-item-img {
width: 147rpx;
height: 147rpx;
background: #D9D9D9;
border-radius: 13rpx;
flex-shrink: 0;
margin-right: 12.67rpx;
}
.bd-item-content {
padding: 14rpx 29.33rpx 13.33rpx 0;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.bd-item-title {
font-weight: bold;
font-size: 27rpx;
color: #333333;
}
.bd-item-bottom {
display: flex;
justify-content: space-between;
align-items: baseline;
width: 260rpx;
}
.bd-price {
font-size: 29.33rpx;
color: #F93434;
font-weight: bold;
}
.bd-price:after {
content:'起';
color: #999999;
font-size: 23rpx;
font-weight: 700;
}
.bd-price::before {
content:'¥';
font-size: 23rpx;
}
.bd-distance {
font-weight: 500;
font-size: 23rpx;
color: #999999;
}
.buyMovie {
width: 160rpx;
height: 56rpx;
background: #078565;
color: #fff;
border-radius: 20rpx;
text-align: center;
line-height: 56rpx;
}
.bg1 {
background: linear-gradient(-8deg, #F4F9FF, #B9E1F0);
}
.bg2 {
background: linear-gradient(-8deg, #F9FFE3, #F3FFC4);
}
.bg3 {
background: linear-gradient(180deg, #E0F7DC, #A0F292);
}
.bg4 {
background: linear-gradient(-8deg, #F6F2FF, #E3D9FF);
}
.hdrlNavList::-webkit-scrollbar{
display:none;
}
.hdrlList::-webkit-scrollbar{
display:none;
}
.bottom-box::-webkit-scrollbar{
display:none;
}
.slide-box::-webkit-scrollbar{
display:none;
}
.pbservice::-webkit-scrollbar{
display:none;
}
.textOver3 {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
overflow: hidden;
}

2
pages/info/museumInfo/index.wxml

@ -38,7 +38,7 @@
<view wx:if="{{type==1}}"> <view wx:if="{{type==1}}">
<date wx:if="{{isLogin && product && product.sku && product.product && info}}" bind:onChangeDate="changeDate" <date wx:if="{{isLogin && product && product.sku && product.product && info}}" bind:onChangeDate="changeDate"
bind:onChangeTime="changeTime" product="{{product}}" isTeam="{{info.team_order && isGroup}}"></date> bind:onChangeTime="changeTime" product="{{product}}" isTeam="{{info.team_order && isGroup}}"></date>
<view class="detail-title">预订须知</view> <view class="detail-title">参观须知</view>
<rich-text wx:if="{{info}}" class="detail" nodes="{{tool.formateRichText(info.book_info)}}"></rich-text> <rich-text wx:if="{{info}}" class="detail" nodes="{{tool.formateRichText(info.book_info)}}"></rich-text>
<view class="detail-title">场馆介绍</view> <view class="detail-title">场馆介绍</view>
<rich-text wx:if="{{info}}" class="detail" nodes="{{tool.formateRichText(info.content)}}"></rich-text> <rich-text wx:if="{{info}}" class="detail" nodes="{{tool.formateRichText(info.content)}}"></rich-text>

2
pages/list/activitynew/index.wxml

@ -4,7 +4,7 @@
<new-calendar wx:if="{{type!=4}}" bind:selectDate="selectDate"></new-calendar> <new-calendar wx:if="{{type!=4}}" bind:selectDate="selectDate"></new-calendar>
<view class="top-fixed-box"> <view class="top-fixed-box">
<!-- 节假日花样 --> <!-- 节假日花样 -->
<!-- <image class="bg-pic" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/calendar-center.png" mode="widthFix"/> --> <image class="bg-pic" src="https://static.ticket.sz-trip.com/uploads/20240605/ffe34fccbb11173e96b2bd8feacef6a3.png" mode="widthFix"/>
<view class="acitivity-search-box"> <view class="acitivity-search-box">
<picker mode="selector" value="{{area}}" range="{{areas}}" range-key="area_name" bindchange="changeArea" wx:if="{{type!=4}}"> <picker mode="selector" value="{{area}}" range="{{areas}}" range-key="area_name" bindchange="changeArea" wx:if="{{type!=4}}">
<view class="picker"> <view class="picker">

27
pages/list/activitynew/index.wxss

@ -1,9 +1,9 @@
/* pages/activity/index.wxss */ /* pages/activity/index.wxss */
page { page {
background: #F2F2F2; /* background: #F2F2F2; */
/* 节假日花样 */ /* 节假日花样 */
/* background: #FFD6B2; */ background: #CEEDDB;
} }
.types { .types {
/* justify-content: space-between; */ /* justify-content: space-between; */
@ -306,6 +306,7 @@ background: rgba(11, 137, 142, .1);
background-color: rgba(204,204,204, .3); background-color: rgba(204,204,204, .3);
margin-bottom: 0; margin-bottom: 0;
font-size: 26rpx; font-size: 26rpx;
z-index: 9;
} }
.my-search-box .iconfont { .my-search-box .iconfont {
width: 65rpx; width: 65rpx;
@ -347,6 +348,9 @@ flex-shrink: 0;
display: flex; display: flex;
overflow-x: scroll; overflow-x: scroll;
padding: 31rpx 30rpx 30rpx; padding: 31rpx 30rpx 30rpx;
position: relative;
z-index: 9;
align-items: center;
} }
.types-item { .types-item {
border: 1px solid #999999; border: 1px solid #999999;
@ -359,21 +363,21 @@ flex-shrink: 0;
flex-shrink: 0; flex-shrink: 0;
} }
.types-item-active { .types-item-active {
padding: 0 25rpx; padding: 0 79rpx;
height: 57rpx; /* height: 57rpx; */
/* 节假日花样 */ /* 节假日花样 */
/* height: 68rpx; */ height: 91.33rpx;
line-height: 57rpx; line-height: 91.33rpx;
display: inline-block; display: inline-block;
background: #0B898E; /* background: #0B898E; */
color: #FFFFFF; color: #FFFFFF;
border-radius: 27rpx; border-radius: 27rpx;
margin-right: 13rpx; margin-right: 13rpx;
flex-shrink: 0; flex-shrink: 0;
/* 节假日花样 */ /* 节假日花样 */
/* background-image: url("https://static.ticket.sz-trip.com/jundaosuzhou/images/calendar-bg.png"); background-image: url("https://static.ticket.sz-trip.com/uploads/20240606/f4ff3a7f81b4be3508592f656e207497.png");
background-size: 100% 100%; background-size: 100% 100%;
margin-top: -5rpx; */ margin-top: -15rpx;
text-align: center; text-align: center;
} }
/* 不显示滚动条 */ /* 不显示滚动条 */
@ -381,8 +385,9 @@ flex-shrink: 0;
display: none; display: none;
} }
.bg-pic { .bg-pic {
width: 266.67rpx; width: 203.33rpx;
height: 106.67rpx; height: 163.33rpx;
position: absolute; position: absolute;
right: 0; right: 0;
z-index: 2;
} }

2
pages/list/museum/index.wxml

@ -10,7 +10,7 @@
<view class="title textOver">{{item.title}}</view> <view class="title textOver">{{item.title}}</view>
<view class="address textOver">地址:{{item.address}}</view> <view class="address textOver">地址:{{item.address}}</view>
<view class="tel textOver">电话:{{item.tel}}</view> <view class="tel textOver">电话:{{item.tel}}</view>
<view class="btn">点击预约</view> <view class="btn">点击查看</view>
</view> </view>
<view class="info textOver" wx:else style="height:320rpx;"> <view class="info textOver" wx:else style="height:320rpx;">
<view class="title textOver">{{item.title}}</view> <view class="title textOver">{{item.title}}</view>

14
pages/list/scene/index.js

@ -13,7 +13,13 @@ Page({
longitude:"", longitude:"",
keywords:'', keywords:'',
area_id:'', area_id:'',
navList:[], navList:[
{
id:4,
name:'全部',
icon:'/uploads/20240604/4ac6b939e112ff183aadb95efbf07761.png'
}
],
navIndex:0, navIndex:0,
}, },
@ -48,8 +54,12 @@ Page({
commonApi._post("scene/get_scene_tags",{ commonApi._post("scene/get_scene_tags",{
pid:4 pid:4
}).then(res=>{ }).then(res=>{
let list = this.data.navList
res.data.forEach(item=> {
list.push(item)
})
this.setData({ this.setData({
navList:res.data navList:list
}) })
console.log(this.data.navList); console.log(this.data.navList);
this.getList() this.getList()

34
pages/order/components/contact/index.js

@ -60,7 +60,7 @@ Component({
person:{}, person:{},
personId:null, personId:null,
r:[], r:[],
phone:'',//非实名时需要传的电话 phone:null,//非实名时需要传的电话
}, },
lifetimes: { lifetimes: {
attached: function() { attached: function() {
@ -180,31 +180,12 @@ Component({
* 组件的方法列表 * 组件的方法列表
*/ */
methods: { methods: {
// getPhoneNumber:function(e) { delTel() {
// console.log(e); this.setData({
// const code = e.detail.code phone: ''
// wx.request({ })
// url: `https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=${app.globalData.appId}&secret=${app.globalData.secret}`, this.triggerEvent("setLinkman",{phone:this.data.phone})
// method: 'GET', },
// success:res=>{
// if(res.statusCode!==200) return
// const access_token = res.data.access_token
// wx.request({
// url: `https://api.weixin.qq.com/wxa/business/getuserphonenumber?access_token=${access_token}`,
// method: 'POST',
// data: {
// code
// },
// success:data=>{
// if(data.statusCode!==200) return
// console.log(data.data.phone_info);
// debugger
// const { phoneNumber } = data.data.phone_info // 这里就是获取到的手机号
// }
// })
// }
// })
// },
gotoEdit:function(e){ gotoEdit:function(e){
userApi.user_post("user/getContactInfoById", { id: e.currentTarget.dataset.item.id }).then(res => { userApi.user_post("user/getContactInfoById", { id: e.currentTarget.dataset.item.id }).then(res => {
console.log(res); console.log(res);
@ -313,6 +294,7 @@ Component({
this.setData({ this.setData({
showAdd:!this.data.showAdd showAdd:!this.data.showAdd
}) })
this.getLinkmanList()
} }
}) })
}, },

17
pages/order/components/contact/index.wxml

@ -1,20 +1,24 @@
<view class="box{{isGroup==1?' group-box':''}}" style="border:none"> <view class="box{{isGroup==1?' group-box':''}}" style="border:none">
<view class="box-title"> <view class="box-title">
<view style="flex:1"> <view style="flex:1">
<view>{{isGroup==1?'发起人信息':'出行人信息'}}</view> <!-- <view wx:if="{{isGroup==1}}">{{isGroup==1?'发起人信息':'添加出行人'}}</view> -->
<view wx:if="{{isGroup==1}}">发起人信息</view>
<view wx:elif="{{is_authentication == '0'}}">出行人信息</view>
<view wx:else>需填{{productNum}}位出行人</view>
<view wx:if="{{isGroup==1}}" class="group-tip-text">(*预约发起后前往个人中心-团体预约订单中查看详情)</view> <view wx:if="{{isGroup==1}}" class="group-tip-text">(*预约发起后前往个人中心-团体预约订单中查看详情)</view>
</view> </view>
<view class="contact-add" bindtap="showLinkman" wx:if="{{selectLinkman.length>0 && isGroup!=1&&is_authentication != '0'}}"><text class="iconfont icon-add-select"></text>添加</view> <!-- <view class="contact-add" bindtap="showLinkman" wx:if="{{selectLinkman.length>0 && isGroup!=1&&is_authentication != '0'}}"><text class="iconfont icon-add-select"></text>添加</view>
<view class="group-edit" bindtap="showLinkman" wx:if="{{isGroup==1 && selectLinkman.length>0}}">编辑</view> <view class="group-edit" bindtap="showLinkman" wx:if="{{isGroup==1 && selectLinkman.length>0}}">编辑</view> -->
</view> </view>
<view wx:if="{{isGroup!=1}}"> <view wx:if="{{isGroup!=1}}">
<!-- 不实名 --> <!-- 不实名 -->
<view wx:if="{{is_authentication == '0'}}"> <view wx:if="{{is_authentication == '0'}}" class="bsm">
<view class="tel-input"> <view class="tel-input">
<text class="input-text">手机</text> <text class="input-text">联系手机</text>
<!-- <button open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber"></button> --> <!-- <button open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber"></button> -->
<input bindinput="phoneInput" type="number" value="{{phone}}" class="weui-input" placeholder="请输入手机号" /> <input bindinput="phoneInput" type="number" value="{{phone}}" class="weui-input" placeholder="请输入手机号" />
</view> </view>
<image class="cha" bindtap="delTel" wx:if="{{phone!=''}}" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/scenicNew/cha.png" mode=""/>
</view> </view>
<!-- 实名 --> <!-- 实名 -->
<!-- <view class="contacts-list" wx:if="{{selectLinkman.length>0}}"> <!-- <view class="contacts-list" wx:if="{{selectLinkman.length>0}}">
@ -55,9 +59,10 @@
<!-- <navigator bindtap="gotoEdit" data-item="{{item}}" url="/pages/user/linkman/add/index?id={{item.id}}&from=order" class="iconfont icon-bianji1"></navigator> --> <!-- <navigator bindtap="gotoEdit" data-item="{{item}}" url="/pages/user/linkman/add/index?id={{item.id}}&from=order" class="iconfont icon-bianji1"></navigator> -->
</view> </view>
<view wx:if="{{is_real_name=='1'}}"> <view wx:if="{{is_real_name=='1'}}">
<view class="text1" bindtap="showLinkman" wx:for="{{showNum}}" wx:for-index="index" wx:if="{{showNum>0}}"> <view class="text1" bindtap="showLinkman" wx:for="{{selectLinkman.length?(productNum-selectLinkman.length+1) :showNum}}" wx:for-index="index" wx:if="{{showNum>0 &&index+1>selectLinkman.length}}">
<view style="display: flex;align-items: center;"> <view style="display: flex;align-items: center;">
<image style="width: 43.33rpx;height: 46rpx;margin-right: 28rpx;" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/scenicNew/add.png" mode=""/> <image style="width: 43.33rpx;height: 46rpx;margin-right: 28rpx;" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/scenicNew/add.png" mode=""/>
<!-- <view style="margin-right: 36rpx;" wx:if="{{selectLinkman.length>0}}">出行人{{selectLinkman.length+1}}</view> -->
<view style="margin-right: 36rpx;">出行人{{index+1}}</view> <view style="margin-right: 36rpx;">出行人{{index+1}}</view>
<view>点击填写1位出行人信息</view> <view>点击填写1位出行人信息</view>
</view> </view>

14
pages/order/components/contact/index.wxss

@ -225,7 +225,7 @@
.tel-input { .tel-input {
display: flex; display: flex;
padding: 40rpx 20.67rpx 38.67rpx 21.33rpx; padding: 40rpx 20.67rpx 38.67rpx 21.33rpx;
border-top: 1rpx solid #ccc; /* border-top: 1rpx solid #ccc; */
font-weight: 400; font-weight: 400;
font-size: 32rpx; font-size: 32rpx;
color: #000000; color: #000000;
@ -248,3 +248,15 @@
position: absolute; position: absolute;
right: 0; right: 0;
} }
.cha {
width: 20rpx;
height: 20rpx;
}
.bsm {
display: flex;
justify-content: space-between;
align-items: center;
border-top: 1rpx solid #ccc;
padding-right: 50rpx;
}

4
pages/order/orderList/index.wxml

@ -62,10 +62,10 @@
</view> </view>
</view> </view>
<view class="box-title"> <!-- <view class="box-title">
<view style="flex-shrink:0">订单备注:</view> <view style="flex-shrink:0">订单备注:</view>
<input type="text" bindinput="inputRemark" data-index="{{index}}" placeholder="选填"></input> <input type="text" bindinput="inputRemark" data-index="{{index}}" placeholder="选填"></input>
</view> </view> -->
<coupon bind:getNewCoupon = 'getNewCoupon' id="coupon" wx:if="{{!kjId && !gp_id}}" money="{{showPrice + postFee}}" sku="{{sku_id}}"></coupon> <coupon bind:getNewCoupon = 'getNewCoupon' id="coupon" wx:if="{{!kjId && !gp_id}}" money="{{showPrice + postFee}}" sku="{{sku_id}}"></coupon>
<view class="fixed-bottom"> <view class="fixed-bottom">

10
pages/order/scene/index.js

@ -133,7 +133,7 @@ Page({
}) })
}, },
setLinkman: function (e) { setLinkman: function (e) {
if (e.detail.phone) { if (e.detail.phone || e.detail.phone=='') {
this.setData({ this.setData({
phone:e.detail.phone phone:e.detail.phone
}) })
@ -297,9 +297,11 @@ Page({
}) })
return return
} }
linkmanList.map(item => { if (this.data.is_authentication == 1) {
linkmanIds.push(item.id) linkmanList.map(item => {
}) linkmanIds.push(item.id)
})
}
let data = { let data = {
coupon_id: this.data.coupon ? this.data.coupon.id : null, coupon_id: this.data.coupon ? this.data.coupon.id : null,
source: "WECHATXCX", source: "WECHATXCX",

4
pages/order/scene/index.wxml

@ -38,12 +38,12 @@
<coupon bind:getNewCoupon = 'getNewCoupon' wx:if="{{!kjId && !gp_id && type!='activity' && product && product.isGroup!=1 && isCar=='single' && type!='museum'}}" id="coupon" <coupon bind:getNewCoupon = 'getNewCoupon' wx:if="{{!kjId && !gp_id && type!='activity' && product && product.isGroup!=1 && isCar=='single' && type!='museum'}}" id="coupon"
money="{{singlePrice * productNum}}" sku="{{product.sku.id}}"></coupon> money="{{singlePrice * productNum}}" sku="{{product.sku.id}}"></coupon>
<view class="box" wx:if="{{type!='activity' && product && product.isGroup!=1}}"> <!-- <view class="box" wx:if="{{type!='activity' && product && product.isGroup!=1}}">
<view class="box-title" wx:if="{{flag!='mix'}}"> <view class="box-title" wx:if="{{flag!='mix'}}">
<view style="flex-shrink:0">订单备注</view> <view style="flex-shrink:0">订单备注</view>
<input type="text" bindinput="changeRemark" placeholder="选填"></input> <input type="text" bindinput="changeRemark" placeholder="选填"></input>
</view> </view>
</view> </view> -->
<view style="{{type=='museum' || type=='activity'?'height:138rpx':'height:113rpx'}}"></view> <view style="{{type=='museum' || type=='activity'?'height:138rpx':'height:113rpx'}}"></view>
<view class="fixed-bottom" wx:if="{{type!='museum' && type!='activity'}}"> <view class="fixed-bottom" wx:if="{{type!='museum' && type!='activity'}}">

2
pages/pbService/index.wxml

@ -12,7 +12,7 @@
<view class="pb-item" data-event="comfort_click" data-title="景区舒适度" bindtap="gotoPath" <view class="pb-item" data-event="comfort_click" data-title="景区舒适度" bindtap="gotoPath"
data-path="/pages/pbService/sceneComfort/index"> data-path="/pages/pbService/sceneComfort/index">
<image src="https://static.ticket.sz-trip.com/xcxImages/pbservice/pb4.png" mode="widthFix"></image> <image src="https://static.ticket.sz-trip.com/xcxImages/pbservice/pb4.png" mode="widthFix"></image>
<view>景区舒适度</view> <view>高峰预警</view>
</view> </view>
<view class="pb-item" bindtap="gotoUrl" data-event="xlqc" <view class="pb-item" bindtap="gotoUrl" data-event="xlqc"
data-url="https://weixin.2500sz.net/zt/2023/07/luggage_storage/"> data-url="https://weixin.2500sz.net/zt/2023/07/luggage_storage/">

970
subPackages/index/index.js

@ -0,0 +1,970 @@
//index.js
//获取应用实例
let app = getApp()
import commonApi from "../../utils/https/common"
import userApi from "../../utils/https/user"
import util from "../../utils/util"
Page({
data: {
banner: [],
xiaobanner: [],
height: 0,
padHeight: 0,
right: 0,
weather: null,
saleProduct: null,
roadProduct: null,
fourProduct: [],
hotIndex: 0,
indexHot: [],
area_ids: ["zhangjiagang", "changshu", "taicang", "kunshan", "wujiang", "wuzhong", "xiangcheng", "gusu",
"gongyeyuanqu", "gaoxin"
],
month: "",
months: ['JAN', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'oct', 'nov', 'dec'],
date: "",
list: [],
listMore: true,
isTest: false,
lat: "",
lon: "",
urltopage: {},
scrollLeft: 0,
videoPrize: false,
prizeInfo: null,
otherPlat: null,
activeBannerIndex: 0,
smBannerIndex: 0,
indexSeason: {},
// startList: [], // 启动页广告
startList: {
head_img: ''
}, // 启动页广告
alertSwipeList: [], //弹窗广告
showAdv: false, //弹窗开关
showFullAdv: true, //全屏广告开关
opacity: 1,
time: 3, //全屏广告剩余时间
showTime: false,
xpth: {}, // 元旦新增 新品特惠和sqjNew
djs: null, // 元旦新增 新品特惠倒计时
djsTime: null,
sqjNew: [
'https://static.ticket.sz-trip.com/uploads/20240428/faede304469bb3e7b9bbf7001008d09a.png',
'https://static.ticket.sz-trip.com/uploads/20240607/3acf736c1dc9c7af08d3363833669896.png',
'https://static.ticket.sz-trip.com/uploads/20240428/ad2324005ba1ed0cabe990ec62bfec76.png',
'https://static.ticket.sz-trip.com/uploads/20240428/a90f3ce4519a585cc5cebfe62d8d4043.png',
'https://static.ticket.sz-trip.com/uploads/20240428/e6fa6cdef2971c8abdb670be1f36d1ca.png',
'https://static.ticket.sz-trip.com/uploads/20240607/56ccaab57aaf050bb6feccc3a70983bb.png',
'https://static.ticket.sz-trip.com/uploads/20240428/755ee01ac248aeda8812b025f483a869.png',
'https://static.ticket.sz-trip.com/uploads/20240428/2d29f0d14e634b0a78d4ef91b28d5999.png',
'https://static.ticket.sz-trip.com/uploads/20240428/71f7b558c7ca6d42728d48508d01819c.png',
'https://static.ticket.sz-trip.com/uploads/20240428/23e07551be831036116c2fedbbf7aea5.png',
],
viewHeight: "0px",
isMuted: true,
videoPlay: false,
},
onLoad: function(options) {
this.getHeight()
//全屏广告
wx.hideTabBar() //这里隐藏了底部导航栏
commonApi._post("adv/getAdv", {
position: 2,
type_id: 3
}).then(res => {
if (res.data.length > 0) {
let length = res.data.length
if (res.data.length > 1) {
let num = Math.floor(Math.random() * length);
console.log('num', num);
this.setData({
startList: res.data[num]
})
console.log(this.data.startList.head_img);
} else {
this.setData({
startList: res.data[0]
})
}
// 图片
if (this.data.startList.media_type) {
this.setData({
showTime: true
})
var timer = setInterval(() => {
this.setData({
time: this.data.time - 1
})
if (this.data.time === 0) {
var opacityTimer = setInterval(() => {
this.setData({
opacity: this.data.opacity - 0.3
})
}, 100)
}
if (this.data.time == -1) {
clearInterval(timer)
clearInterval(opacityTimer)
wx.showTabBar() //倒计时结束清除定时器显示导航栏
this.setData({
showFullAdv: false
})
}
}, 1000)
} else {
// 视频
}
} else {
this.setData({
showFullAdv: false
})
}
})
if (options.from) {
app.globalData.from = options.from;
}
let systemInfo = wx.getSystemInfoSync(),
rect = wx.getMenuButtonBoundingClientRect();
let height = (rect.top - systemInfo.statusBarHeight) * 2 + rect.height;
wx.getLocation({
type: 'gcj02',
success: (res) => {
this.setData({
lat: res.latitude,
lon: res.longitude
})
this.getList()
},
fail: (err) => {
this.getList()
}
})
this.setData({
height: height,
padHeight: systemInfo.statusBarHeight,
right: (systemInfo.screenWidth - rect.right) + rect.width
})
commonApi._post("pbservice/Other/getClientConfig", {
unique_key: "urltopage"
}).then(res => {
let data = JSON.parse(res.data)
this.setData({
urltopage: data
})
})
this.getTwoProduct()
this.getBanner()
this.getWeather()
// 获取今天的日期
let today = new Date();
this.setData({
month: (this.data.months[today.getMonth()]).toUpperCase(),
date: today.getDate()
})
this.getVideoPrize()
this.getXpthList()
},
getHeight() {
let that = this
wx.getSystemInfo({
success(res) {
console.log(res)
that.setData({
viewHeight: res.windowHeight + 'px'
})
console.log(that.data.viewHeight)
}
})
},
getXpthList: function() {
// 元旦新增 新品特惠
commonApi._post("product/get_product_indulgence", {
tag_id: 275,
typeId: 3,
}).then(res => {
console.log('data', res.data);
this.setData({
xpth: res.data,
djsTime: res.data.time
})
let time = setInterval(() => {
this.setData({
djsTime: this.data.djsTime - 1
})
this.formatDate(this.data.djsTime)
}, 1000)
if (this.data.djsTime == 0) {
clearInterval(time)
}
})
},
// 元旦新品特惠 倒计时
formatDate: function(oTime) {
let h = parseInt(oTime / 3600)
let m = parseInt((oTime % 3600) / 60)
let s = parseInt(oTime % 60)
h = h < 10 ? "0" + h : h;
m = m < 10 ? "0" + m : m;
s = s < 10 ? "0" + s : s;
this.setData({
djs: {
h: h,
m: m,
s: s
}
})
return
},
goFeiyi: function() {
app.globalData.weburl = 'https://m.cloud.sz-trip.com/mlgCoupons'
wx.navigateTo({
url: "/pages/pbService/web/index"
})
},
onTabItemTap: function(e) {
console.log(e, 99999999)
},
changeBannerIndex: function(e) {
this.setData({
activeBannerIndex: e.detail.current
})
},
changeSmBannerIndex: function(e) {
this.setData({
smBannerIndex: e.detail.current
})
},
// 一城百馆
city: function() {
wx.navigateToMiniProgram({
appId: 'wx114d514f39cb1fed',
path: "pages/entry/index"
})
commonApi._post("browse/burying_point", {
drive: "mini",
title: "一城百馆",
uuid: app.globalData.uuid
}).then(res => {
})
},
changeHotIndex: function(e) {
this.setData({
hotIndex: e.currentTarget.dataset.index,
fourProduct: []
})
this.getFourProduct()
},
getBanner: function() {
// commonApi._post("adv/getAdvByKey",{
// key:"xcxBanner"
// }).then(res=>{
// console.log(res)
// this.setData({
// banner:res.data.content || []
// })
// })
// commonApi._post("adv/getAdvByKey",{
// key:"xiaobanner"
// }).then(res=>{
// this.setData({
// xiaobanner:res.data.content || []
// })
// })
// return;
commonApi._post("adv/getAdv", {
position: 0,
type_id: 3
}).then(res => {
this.setData({
banner: res.data || []
})
})
commonApi._post("adv/getAdv", {
position: 1,
type_id: 3
}).then(res => {
this.setData({
xiaobanner: res.data || []
})
})
//弹窗广告
commonApi._post("adv/getAdv", {
position: 3,
type_id: 3
}).then(res => {
if (res.data.length > 0) {
this.setData({
alertSwipeList: res.data || [],
showAdv: true
})
} else if (!this.data.showFullAdv) {
wx.showTabBar({
animation: true,
})
}
})
},
//获取季节配置
getIndexSeason() {
this.setData({
indexHot: app.globalData.configJson.indexHot,
isTest: app.globalData.configJson.isTest,
otherPlat: app.globalData.configJson.otherPlats,
indexSeason: app.globalData.configJson.indexSeason
})
this.getFourProduct()
},
//关闭弹窗广告
closeAdv: function() {
this.setData({
showAdv: false
})
wx.showTabBar({
animation: true,
})
},
//关闭全屏广告
closeFullAdv: function() {
this.setData({
showFullAdv: false
})
if (!this.data.alertSwipeList.length > 0) {
wx.showTabBar({
animation: true,
})
}
},
// 是否静音
closeMuted: function() {
this.setData({
isMuted: this.data.isMuted = !this.data.isMuted
})
},
// 播放视频
videoPlay: function() {
let videoplay = wx.createVideoContext('myVideo', this)
videoplay.play();
this.setData({
videoPlay: false
})
},
// 暂停视频
videoPause: function() {
let videoplay = wx.createVideoContext('myVideo', this)
videoplay.pause();
this.setData({
videoPlay: true
})
},
getWeather: function() {
commonApi._post('pbservice/Ztfw/getWeather').then(res => {
console.log(res)
this.setData({
weather: res.data
})
})
},
saleDetail: function() {},
getTwoProduct: function() {
// 获取首页限时特惠
commonApi._post('act/fast_sale_now', {
offset: 0,
limit: 1
}).then(res => {
if (res.data[0] && res.data[0].fast_sales_sku[0]) {
if (res.data[0].fast_sales_sku.length > 0) {
let price = res.data[0].fast_sales_sku[0].price
let data = res.data[0].fast_sales_sku[0]
for (let item of res.data[0].fast_sales_sku) {
if (price > item.price) price = item.price
}
data.price = price
this.setData({
saleProduct: data
})
} else {
this.setData({
saleProduct: res.data[0].fast_sales_sku[0]
})
}
}
})
commonApi._post("product/get_product_by_tag", {
tag_id: 17,
offset: 0,
limit: 1,
sort: 'price',
order: 'asc'
}).then(res => {
if (res.data.list.length > 0) {
let price = res.data.list[0].price
for (let item of res.data.list) {
if (item.price > price) {
price = item.price
}
}
let data = res.data.list[0]
data.price = price
this.setData({
roadProduct: data
})
} else {
this.setData({
roadProduct: [111]
})
}
})
},
getFourProduct: function() {
let item = this.data.indexHot[this.data.hotIndex],
service = "product/get_product_by_tag",
data = {
tag_id: item.id,
offset: 0,
limit: 4,
sort: 'weight',
order: 'desc'
};
if (item.type == 'scene') {
service = "scene/get_scene_by_tag";
} else if (item.type == 'movie') {
service = "Cinema/getHotMovieList";
data = {
page: 1,
pageSize: 4
};
}
commonApi._post(service, data).then(res => {
this.setData({
fourProduct: res.data.list || res.data
})
})
},
tagGotoDetail: function(e) {
let item = e.currentTarget.dataset.item;
if (this.data.indexHot[this.data.hotIndex].type == 'movie') {
wx.navigateTo({
url: '/pages/list/movieticket/list/info/index?id=' + item.third_id + '&title=' +
item.title,
})
} else {
util.gotoDetail(item)
}
},
productGotoDetail: function(e) {
let item = e.currentTarget.dataset.item;
util.gotoDetail(item)
},
gotoPath: function(e) {
console.log(e)
// if (e.currentTarget.dataset.event) {
// if (e.currentTarget.dataset.event=='gongyeyuanqu_click') {
// wx.navigateToMiniProgram({
// appId: 'wxd323e63a10aa6865',
// path: 'pages/home/index'
// })
// return
// }else{
// this.pagePoint({
// event: e.currentTarget.dataset.event
// }, 1)
// }
// }
if (e.currentTarget.dataset.title == '书香借阅') {
wx.navigateToMiniProgram({
appId: 'wx165d4f1727f6bdb0',
path: 'pages/home/home'
})
return;
} else if (e.currentTarget.dataset.title == '12348') {
wx.navigateToMiniProgram({
appId: 'wxcdfd45c001466ba3',
path: 'pages/index/index'
})
return;
} else if (e.currentTarget.dataset.event == 'wuzhong_click') {
wx.navigateToMiniProgram({
appId: 'wxdd39069b9a91dbfe',
path: 'pages/index/index'
})
return;
} else if (e.currentTarget.dataset.event == 'kunshan_click') {
wx.navigateToMiniProgram({
appId: 'wx8888a3fd0862b4c8',
path: 'pages/index/index'
})
return;
} else if (e.currentTarget.dataset.event == 'taicang_click') {
wx.navigateToMiniProgram({
appId: 'wx8853b0d93cbca75e',
path: 'pages/home/home'
})
return;
} else if (e.currentTarget.dataset.event == 'changshu_click') {
wx.navigateToMiniProgram({
appId: 'wx4df5fd9a6a5ea123',
path: 'pages/index'
})
return;
} else if (e.currentTarget.dataset.event == 'gongyeyuanqu_click') {
wx.navigateToMiniProgram({
appId: 'wxd323e63a10aa6865',
path: 'pages/home/index'
})
return;
} else if (e.currentTarget.dataset.event == 'wujiang_click') {
wx.navigateToMiniProgram({
appId: 'wx8eadea4ee2d42d4b',
path: 'pages/index/index'
})
return;
}
wx.navigateTo({
url: e.currentTarget.dataset.path,
})
if (e.currentTarget.dataset.title) {
commonApi._post("browse/burying_point", {
uuid: app.globalData.uuid,
drive: "mini",
title: e.currentTarget.dataset.title
}).then(res => {
})
}
},
// 元旦 新品特惠部分
goBanner: function(e) {
console.log('新品特惠', e.currentTarget.dataset.url);
let url = e.currentTarget.dataset.url;
app.globalData.weburl = url;
wx.navigateTo({
url: "/pages/pbService/web/index?weburl=" + encodeURIComponent(url)
})
},
gotoUrl: function(e) {
console.log(e)
if (e.currentTarget.dataset.event) {
this.pagePoint({
event: e.currentTarget.dataset.event
}, 1)
}
let url = e.currentTarget.dataset.url;
app.globalData.weburl = url;
wx.navigateTo({
// url: '/pages/pbService/web/index?weburl='+encodeURIComponent('https://m.cloud.sz-trip.com/Cloudperform2022'),
url: '/pages/pbService/web/index?weburl=' + encodeURIComponent(url),
})
},
gotoMini: function(e) {
let appid = e.currentTarget.dataset.appid,
path = e.currentTarget.dataset.path
wx.navigateToMiniProgram({
appId: appid,
path: path
})
},
garbage: function() {
wx.navigateToMiniProgram({
appId: 'wx13be821f3b1afed3',
path: 'pages/home/home'
})
},
gotoSku: function() {
commonApi.user_post("pbservice/Ztfw/sukangCode").then(res => {
console.log(res)
app.globalData.weburl = res.data.url;
wx.navigateTo({
url: '/pages/pbService/web/index'
})
return;
})
},
audioGuide: function() {
wx.navigateToMiniProgram({
appId: 'wx74f380bc721a0379',
path: '/pages/listen/listen?title=君到苏州'
})
commonApi._post("browse/burying_point", {
drive: "mini",
title: "语音导览",
uuid: app.globalData.uuid
}).then(res => {
})
},
// 热门推荐 去掉经纬度 接口排序方式变更(韩阳)
getList: function() {
if (!this.data.listMore) return;
commonApi._post("search/recommend", {
offset: this.data.list.length,
limit: 16
}).then(res => {
res.data.map(item => {
if (item.ext.display_tags) {
item.ext.display_tags = item.ext.display_tags.split(",").splice(0, 2)
} else {
item.ext.display_tags = []
}
})
if (res.data.length < 15) {
this.setData({
listMore: false
})
}
this.setData({
list: this.data.list.concat(res.data)
})
})
},
onReachBottom: function() {
if (this.data.list.length < 30) {
this.getList()
}
},
gotoDetail: function(e) {
let item = e.currentTarget.dataset.item;
util.pagePoint({
event: 'recommend_click',
param: {
id: item.id,
type: item.type
}
}, 1)
if (item.type == 'travels') {
// 游记做特殊处理 其他都按照原来的来
wx.navigateTo({
url: '/pages/info/strategyInfo/index?id=' + item.s_id,
})
} else {
util.gotoDetail(item.ext);
}
},
meituan: function() {
wx.navigateToMiniProgram({
appId: 'wxde8ac0a21135c07d',
path: "hotel/pages/h5/index?q=https%3A%2F%2Ffenxiao.meituan.com%2Fopdtor%2Fh5%2Fhotel%2Fsearch%3FpartnerId%3D16829"
})
},
// 轮播图点击
bannerClick: function(e) {
if (this.data.isTest) return;
let item = e.currentTarget.dataset.item;
this.pagePoint({
event: "banner_click",
type: 'banner'
}, 1)
switch (item.jump_type) {
case 0:
break;
case 1:
util.gotoDetail(item.product_model)
break;
case 2:
if (item.front_model && item.front_model.mini) {
wx.navigateTo({
url: "/" + item.front_model.mini
})
}
break;
case 3:
if ((item.tdata.url.indexOf('http://') != -1 || item.tdata.url.indexOf('https://') != -1) &&
item.tdata.url.indexOf('m.cloud.sz-trip.com') == -1) {
// 外部h5
console.log(111, item.tdata)
app.globalData.weburl = item.tdata.url;
wx.navigateTo({
url: "/pages/pbService/web/index?weburl=" + encodeURIComponent(item.tdata
.url)
})
} else {
let page = item.tdata.url.split("/");
page = page[page.length - 1].split("?")
console.log(page[0])
let url = this.data.urltopage[page[0]];
if (url && url.indexOf('map') != -1) {
let types = ['', 'scenic', 'venue', 'post', 'restaurant', 'relic', 'tenscenic',
'cinema', 'academes'
],
type = page[1] ? page[1].split("=") : [];
wx.reLaunch({
url: url + "?type=" + (type[1] ? types.findIndex(t => t == type[1]) :
null)
})
} else if (url) {
wx.navigateTo({
url: url,
})
} else {
app.globalData.weburl = item.tdata.url;
console.log(2222, item.tdata.url, app.globalData.weburl)
wx.navigateTo({
url: "/pages/pbService/web/index?weburl=" + encodeURIComponent(item
.tdata.url)
})
}
}
break;
case 4:
if (item.tdata.appid == 'wxe5ca0f71e918e352' && wx.getStorageSync('jstrip_userid')) {
// 如果是苏心游的小程序 直接把authCode带过去
userApi.user_post("user/getJumpThirdAppCode", {}).then(res => {
let weburl = item.tdata.page
if (weburl.indexOf('?') != -1) {
weburl += '&authCode=' + res.data;
} else {
weburl += '?authCode=' + res.data
}
wx.navigateToMiniProgram({
appId: item.tdata.appid,
path: weburl
})
}).catch(err => {
wx.navigateToMiniProgram({
appId: item.tdata.appid,
path: item.tdata.page
})
})
} else {
wx.navigateToMiniProgram({
appId: item.tdata.appid,
path: item.tdata.page
})
}
break;
default:
break;
}
return;
},
//博物馆跳转 直接跳君到苏州H5
goH5: function(e) {
console.log(e.currentTarget.dataset.path);
let weburl = 'https://m.cloud.sz-trip.com/' + e.currentTarget.dataset.path;
// app.globalData.weburl ='https://m.cloud.sz-trip.com/' + e.currentTarget.dataset.path;
wx.navigateTo({
// url: "/pages/pbService/web/index"
url: '/pages/pbService/web/index?weburl=' + encodeURIComponent(weburl),
})
},
bannerClick2: function(e) {
let item = e.currentTarget.dataset.item;
if (item.action == 'href') {
if (item.href.indexOf(",") != -1) {
let info = item.href.split(",");
wx.navigateToMiniProgram({
appId: info[0],
path: info[1]
})
} else if (item.href.indexOf('map/index') != -1) {
wx.reLaunch({
url: item.href
})
} else {
wx.navigateTo({
url: item.href,
})
}
} else if (item.action == "web") {
app.globalData.weburl = item.href;
wx.navigateTo({
url: "/pages/pbService/web/index?weburl=" + encodeURIComponent(item.href),
})
}
},
// 监听文旅查询的scroll
listenScroll(e) {
this.setData({
scrollLeft: e.detail.scrollLeft
})
},
// 获取短视频大赛是否中奖 中奖详情
getVideoPrize() {
let user_id = wx.getStorageSync('jstrip_userid');
if (!user_id || wx.getStorageSync('indexPriceNoTip')) return;
commonApi.user_post('actonline/video_act/getRaffle', {
act_id: 5
}).then(res => {
this.setData({
videoPrize: res.data
})
})
},
noMoreTip() {
wx.setStorageSync('indexPriceNoTip', true)
this.closePrice()
},
closePrice() {
this.setData({
videoPrize: false,
prizeInfo: null
})
},
// 抽奖
choosePrize() {
commonApi.user_post('actonline/video_act/luckyDraw', {
act_id: 5
}).then(res => {
this.setData({
prizeInfo: res.data
})
if (res.data.type != 'none') {
// 抽奖成功的话 弹框
wx.showModal({
title: "提示",
content: "中奖人员请联系君到苏州客服,领奖方式以客服通知为准",
showCancel: false
})
}
})
},
bannerJumpNew(item) {
let that = this
item = item.currentTarget.dataset.item
if (item.tdata == '') return
that.pagePoint({
event: "banner_click",
type: 'banner'
}, 1)
switch (item.jump_type) {
case 0:
break;
case 1:
util.gotoDetail(item.product_model)
break;
case 2:
if (item.front_model && item.front_model.mini) {
wx.navigateTo({
url: "/" + item.front_model.mini
})
}
break;
case 3:
if ((item.tdata.url.indexOf('http://') != -1 || item.tdata.url.indexOf('https://') != -1) &&
item.tdata.url.indexOf('m.cloud.sz-trip.com') == -1) {
// 外部h5
console.log(item.tdata)
app.globalData.weburl = item.tdata.url;
wx.navigateTo({
url: "/pages/pbService/web/index"
})
} else {
let page = item.tdata.url.split("/");
page = page[page.length - 1].split("?")
console.log(page[0])
let url = this.data.urltopage[page[0]];
if (url && url.indexOf('map') != -1) {
let types = ['', 'scenic', 'venue', 'post', 'restaurant', 'relic', 'tenscenic',
'cinema', 'academes'
],
type = page[1] ? page[1].split("=") : [];
wx.reLaunch({
url: url + "?type=" + (type[1] ? types.findIndex(t => t == type[1]) : null)
})
} else if (url) {
wx.navigateTo({
url: url,
})
} else {
app.globalData.weburl = item.tdata.url;
wx.navigateTo({
url: "/pages/pbService/web/index"
})
}
}
break;
case 4:
if (item.tdata.appid == 'wxe5ca0f71e918e352' && wx.getStorageSync('jstrip_userid')) {
// 如果是苏心游的小程序 直接把authCode带过去
userApi.user_post("user/getJumpThirdAppCode", {}).then(res => {
let weburl = item.tdata.page
if (weburl.indexOf('?') != -1) {
weburl += '&authCode=' + res.data;
} else {
weburl += '?authCode=' + res.data
}
wx.navigateToMiniProgram({
appId: item.tdata.appid,
path: weburl
})
}).catch(err => {
wx.navigateToMiniProgram({
appId: item.tdata.appid,
path: item.tdata.page
})
})
} else {
wx.navigateToMiniProgram({
appId: item.tdata.appid,
path: item.tdata.page
})
}
break;
default:
break;
}
return
},
onReady: function() {
},
gotoOther: function(e) {
let item = e.currentTarget.dataset.item;
if (item.type == 'h5') {
app.globalData.weburl = item.url
wx.navigateTo({
url: "/pages/pbService/web/index?weburl=" + encodeURIComponent(item.url)
})
} else if (item.type == 'mini') {
wx.navigateToMiniProgram({
appId: item.appid,
path: item.path
})
} else if (item.type == 'page') {
wx.navigateTo({
url: item.page,
})
}
},
pagePoint: function(e, type) {
util.pagePoint(e, type)
},
onShow: function() {
if (app.globalData.loadIndexSeason) {
this.getIndexSeason()
} else {
let t = setInterval(() => {
if (app.globalData.loadIndexSeason) {
this.getIndexSeason()
clearInterval(t)
t = null
}
}, 500)
}
this.pagePoint({
event: 'home_view'
}, 1)
// this.data.time!=5?wx.showTabBar():1
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function() {
},
onShareTimeline: function() {
return {
title: '君到苏州(文化旅游总入口)',
query: '',
imageUrl: 'https://static.ticket.sz-trip.com/xcxImages/zwt/logo.png'
}
}
})

6
subPackages/index/index.json

@ -0,0 +1,6 @@
{
"usingComponents": {
"common-image":"/pages/component/commonImage/index",
"title":"/pages/component/TitleHeader"
}
}

683
subPackages/index/index.wxml

@ -0,0 +1,683 @@
<!--index.wxml-->
<title title="君到苏州(文化旅游总入口)"></title>
<!-- <view class="old-btn">关怀模式</view> -->
<!-- <image class="top-bg-img" src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/spring22/flowerbg.png" mode="widthFix"></image> -->
<!-- <image class="top-bg-img" src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/spring22/flower.gif" mode="widthFix"></image> -->
<!-- 后台获取的季节动图 -->
<image class="top-bg-img" src="{{indexSeason.topBac}}" mode="widthFix"></image>
<view wx:if="{{weather}}" class="top-box" style="height: 63rpx">
<image src="{{weather.icon2}}" style="margin-left:0" mode="aspectFill"></image>
<view class="weather-num">{{weather.max_temp}}°</view>
<view class="weather">{{weather.weather}}</view>
<image bindtap="gotoPath" style="margin-left:0" data-path="/pages/user/service/index"
data-event="customer_service_click" src="https://static.ticket.sz-trip.com/uploads/20240428/7c77f3fc227acb3f15963c54fbd3d954.png"
mode="aspectFill"></image>
<image bindtap="gotoPath" data-event="message_click" data-path="/pages/list/message/index"
src="https://static.ticket.sz-trip.com/uploads/20240428/ae4b559db397a7b7d76b471576bfa3c0.png" mode="aspectFill"></image>
<!-- <image bindtap="gotoPath" style="margin-left:0" data-path="/pages/user/service/index"
data-event="customer_service_click" src="https://static.ticket.sz-trip.com/xcxImages/spring22/service.png"
mode="aspectFill"></image>
<image bindtap="gotoPath" data-event="message_click" data-path="/pages/list/message/index"
src="https://static.ticket.sz-trip.com/xcxImages/spring22/msg.png" mode="aspectFill"></image> -->
</view>
<view class="top-box" style="padding:0;margin-bottom:18rpx" wx:if="{{!isTest}}">
<navigator url="/pages/search/index" catchtap="pagePoint" data-event="search_click" class="search-box textOver">
<view class="iconfont icon-sousuo"></view>
<view class="textOver">搜索想要的旅游产品或服务</view>
</navigator>
</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">
<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>
</view>
<!-- <swiper class="swiper" indicator-dots="{{true}}"
autoplay="{{true}}" interval="{{5000}}" duration="{{300}}">
<block wx:for="{{banner}}" wx:key="*this">
<swiper-item bindtap="bannerClick2" data-item="{{item}}">
<image src="{{item.img}}" mode="aspectFill"></image>
</swiper-item>
</block>
</swiper> -->
<view class="top-icons" wx:if="{{!isTest}}">
<view bindtap="gotoPath" data-event="activity_click" data-title="活动日历" data-path="/pages/list/activitynew/index"
class="top-icon-item">
<!-- 夏季修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240606/ebe723260a0d46550c77307472180586.png" mode="widthFix"></image>
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/icon1New.png" mode="widthFix"></image> -->
<view class="top-icon-text">活动日历</view>
</view>
<view bindtap="gotoPath" data-event="museum" data-title="场馆预约"
data-path="/pages/list/{{isTest?'scene':'museum'}}/index" class="top-icon-item">
<!-- 夏季修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240606/106ed983a3641f27a13c41cc2b977af2.png" mode="widthFix"></image>
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/icon2New.png" mode="widthFix"></image> -->
<view class="top-icon-text">场馆预约</view>
</view>
<!-- 非遗跳专题 -->
<!-- <view bindtap="goFeiyi" data-event="legacy" data-title="非遗专卖"
data-path="/pages/list/{{isTest?'scene':'feiyi'}}/index" class="top-icon-item"> -->
<view bindtap="gotoPath" data-event="legacy" data-title="非遗专卖"
data-path="/pages/list/{{isTest?'scene':'feiyi'}}/index" class="top-icon-item">
<!-- 夏季修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240606/64bc601cd248586984c6ba7f7abf12cd.png" mode="widthFix"></image>
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/icon3New.png" mode="widthFix"></image> -->
<view class="top-icon-text">非遗专卖</view>
</view>
<view bindtap="gotoPath" data-event="show" data-title="剧场演出"
data-path="/pages/list/{{isTest?'activity':'theatre'}}/index" class="top-icon-item">
<!-- 夏季修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240606/3db989129660f5de29b0f617375f0672.png" mode="widthFix"></image>
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/icon4New.png" mode="widthFix"></image> -->
<view class="top-icon-text">剧场演出</view>
</view>
<view bindtap="gotoPath" data-event="specialty" data-title="文创特产"
data-path="/pages/list/{{isTest?'road':'techan'}}/index" class="top-icon-item">
<!-- 夏季修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240606/bafa90e369f339347170f9c55a245d78.png" mode="widthFix"></image>
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/icon5New.png" mode="widthFix"></image> -->
<view class="top-icon-text">文创特产</view>
</view>
<view bindtap="gotoPath" data-event="ticket_click" data-title="景点门票" data-path="/pages/list/scene/index"
class="top-icon-item">
<!-- 夏季修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240606/e11e0cb3033b786fc61ee17f8bfbfbfb.png" mode="widthFix"></image>
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/icon6New.png" mode="widthFix"></image> -->
<view class="top-icon-text">景点门票</view>
</view>
<view bindtap="gotoPath" data-event="hotel_click" data-title="酒店住宿" data-path="/pages/list/hotel/index"
class="top-icon-item">
<!-- 夏季修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240606/26d38d0b8b6014915b5b013e8672ae82.png" mode="widthFix"></image>
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/icon7New.png" mode="widthFix"></image> -->
<view class="top-icon-text">酒店住宿</view>
</view>
<view bindtap="gotoPath" data-event="night_sz" data-title="夜游苏州" data-path="/pages/list/night/index"
class="top-icon-item">
<!-- 夏季修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240606/1d8d45eab5735103ed2d1342f84b615a.png" mode="widthFix"></image>
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/icon8New.png" mode="widthFix"></image> -->
<view class="top-icon-text">夜游苏州</view>
</view>
<view bindtap="gotoUrl" data-event="card" data-title="一卡游苏州" data-url="https://m.cloud.sz-trip.com/OneDayTravelNew"
class="top-icon-item">
<!-- 夏季修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240606/d63fd9f74bc5f3016800f0572fdbeed9.png" mode="widthFix"></image>
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/icon9New.png" mode="widthFix"></image> -->
<view class="top-icon-text">一日游</view>
</view>
<view bindtap="gotoUrl" data-event="movie" data-title="研学游" data-url="https://m.cloud.sz-trip.com/LearningTravel"
class="top-icon-item">
<!-- 夏季修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240606/3537918b5a5b26319c22747e80200ef7.png" mode="widthFix"></image>
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/icon10New.png" mode="widthFix"></image> -->
<view class="top-icon-text">研学游</view>
</view>
</view>
<view class="content">
<view class="sale-road-boxes" wx:if="{{false}}">
<view class="sale-box" bindtap="gotoPath" data-event="discount_click" data-title="特惠新品"
data-path="/pages/list/{{isTest==false?'sale':'scene'}}/index">
<view class="sale-title"><text>特惠新品</text>超值商品限时抢购</view>
<view class="sale-product">
<view class="sale-product-bg"></view>
<image mode="aspectFill" class="sale-img"
src="https://static.ticket.sz-trip.com/uploads/20211022/0c90b027b5572b559b34c219eaf257ba.jpg"></image>
<image class="sale-tip-img" src="https://static.ticket.sz-trip.com/xcxImages/spring22/sale.png"
mode="aspectFill">
</image>
<view class="sale-info">
<view class="sale-product-title textOver2">
<view>限时特惠</view>
<view>新品推荐</view>
</view>
<view class="sale-price" style="#F44747" wx:if="{{saleProduct}}">
¥{{saleProduct.price?saleProduct.price/100:0}}起</view>
</view>
</view>
</view>
<view class="sale-box" bindtap="gotoPath" data-event="route_click" data-title="精品线路"
data-path="/pages/list/road/index">
<view class="sale-title"><text>精品线路</text>带你轻松玩转苏州</view>
<view class="sale-product">
<view class="sale-product-bg road-product-bg"></view>
<common-image class="sale-img" width="173rpx" height="165rpx"
src="https://static.ticket.sz-trip.com/uploads/20211022/f8d9b54fa477b9ad8bf14e119664455e.jpg"
mode="aspectFill"></common-image>
<image class="sale-tip-img" src="https://static.ticket.sz-trip.com/xcxImages/spring22/road.png"
mode="aspectFill">
</image>
<view class="sale-info">
<view class="sale-product-title textOver2">
<view>四季苏州</view>
<view>最是江南</view>
</view>
<view class="sale-price" style="color:rgb(0, 153, 137)" wx:if="{{roadProduct}}">
¥{{roadProduct.price?roadProduct.price/100:0}}起</view>
</view>
</view>
</view>
</view>
<!-- 五一修改 一张banner不滚动 -->
<view class="small-swiper-box" wx:if="{{xiaobanner.length === 1}}">
<image bindtap="bannerClick" data-item="{{xiaobanner[0]}}" style="border-radius:13rpx;width: 100%" src="{{xiaobanner[0].head_img}}" mode="widthFix"></image>
</view>
<view class="small-swiper-box" wx:else>
<swiper class="small-swiper" autoplay="{{true}}" interval="{{5000}}" duration="{{300}}"
bindchange="changeSmBannerIndex">
<block wx:for="{{xiaobanner}}" wx:key="*this">
<swiper-item bindtap="bannerClick" data-item="{{item}}">
<!-- 原 圆角77rpx,现改为13rpx -->
<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>
</view>
<!-- 2024年 夏季改UI新增景区舒适度和实时路况 -->
<view style="display: flex;">
<view bindtap="gotoUrl" data-event="comfort_click" data-title="景区舒适度"
data-url="https://m.cloud.sz-trip.com/ScenicComfort" class="jqssd" ></view>
<view bindtap="gotoUrl" data-event="xlqc"
data-url="https://jiaotonghao2.amap.com/?channel=amap&unitId=257&src=app_share#/" class="sslk"></view>
</view>
<!-- 元旦修改 限时特惠--新版-->
<view class="sale-road-boxes xpth" style="margin-bottom: 18.67rpx;margin-top: 0;padding-top: 0;" wx:if="{{!isTest}}">
<!-- 上方标题部分 -->
<view class="xsth-title">
<view class="xsth-left" style="display: flex;">
<image mode="heightFix" style="height:86rpx" src="{{indexSeason.xpth}}"></image>
</view>
<view class="time-box" style="z-index: 9;">
倒计时
<view class="xsth-time" style="margin-left: 20rpx;">{{djs.h}}</view>
<text>:</text>
<view class="xsth-time">{{djs.m}}</view>
<text>:</text>
<view class="xsth-time">{{djs.s}}</view>
</view>
<!-- <image class="rmtj-right" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/xpth-right.png" mode=""/> -->
<!-- <view class="xsth-more" bindtap="goBanner" data-url="{{xpth.adv.tdata}}">
更多<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/yuandan2024/rightIcon.png" mode="heightFix"/>
</view> -->
</view>
<!-- 商品部分 -->
<view class="xpth-product">
<!-- 左边的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-tag">唇齿留香</view> -->
<view class="xpth-item-bottom">
<view class="xpth-item-price">{{item.price/100}}</view>
<!-- <view class="xpth-item-buy">立即抢购</view> -->
</view>
</view>
</view>
</view>
<!-- 右边的banner -->
<image bindtap="goBanner" class="xpth-banner" data-url="{{xpth.adv.tdata}}" src="{{xpth.adv.head_img}}" mode="aspectFill"/>
</view>
</view>
<view class="sale-road-boxes" style="margin-top:0">
<image mode="heightFix" style="height:86rpx" src="{{indexSeason.wlcx}}"></image>
<image class="rmtj-right" src="https://static.ticket.sz-trip.com/uploads/20240606/479dad06e6cf67bc45f7cf605d982184.png" mode=""/>
</view>
<!-- 五一修改 .slide-out-box 增加背景色-->
<view class="slide-out-box">
<!-- 元旦修改 .slide-box的原样式 height:360rpx-->
<scroll-view scroll-x style="height:343.33rpx" bindscroll="listenScroll" class="slide-box">
<view class="pbservice" style="margin-bottom:30rpx">
<view bindtap="gotoUrl" data-title="非遗鉴赏" style="margin-left: 20rpx;" data-url="https://m.cloud.sz-trip.com/IntangibleCultural2" class="pbservice-item">
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/newpb3.jpg" mode="widthFix"></image>
<view>非遗鉴赏</view> -->
<!-- 元旦修改 第一个pbservice-item新增margin-left -->
<image src="https://static.ticket.sz-trip.com/uploads/20240606/97844beceebd503256bebae5afd6820b.png" mode="widthFix"></image>
<view class="text">非遗鉴赏</view>
</view>
<view bindtap="goH5" data-title="数字博物馆"
data-path="BwsInfo" class="pbservice-item">
<!-- <image src="https://static.ticket.sz-trip.com/uploads/20220907/d50f492083b419b9b538de274423084c.png" mode="widthFix"></image>
<view>数字博物馆</view> -->
<!-- 元旦修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240606/27acb48002369a8203762acc783c7492.png" mode="widthFix"></image>
<view class="text">数字博物馆</view>
</view>
<view bindtap="gotoUrl" data-event="book_click" data-title="公共文化资源库" data-url="https://m.cloud.sz-trip.com/PublicCulture2022"
class="pbservice-item">
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/ggwh.png" mode="widthFix"></image>
<view>公共文化资源库</view> -->
<!-- 元旦修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240606/0f422cb2026f42c772ab12d384f5b7ef.png" mode="widthFix"></image>
<view class="text">公共文化资源库</view>
</view>
<view bindtap="goH5" data-event="book_click" data-title="文博会" data-path="CloudExpo"
class="pbservice-item">
<!-- <image src="https://static.ticket.sz-trip.com/uploads/20220810/ceb07b75aa3df20d7f1de22e2588332a.png" mode="widthFix"></image>
<view>云上文博会</view> -->
<!-- 元旦修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240606/4a3804f24e034e15f19c27a85d0a8ac4.png" mode="widthFix"></image>
<view class="text">云上文博会</view>
</view>
<view bindtap="gotoUrl" data-event="cloud_click" data-title="云上观展"
data-url="https://m.cloud.sz-trip.com/CloudPerform2022" class="pbservice-item">
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/newpb13.png" mode="widthFix"></image>
<view>云上观展</view> -->
<!-- 元旦修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240606/5711260f02772eebaba9dba9dfda2b4f.png" mode="widthFix"></image>
<view>云上观展</view>
</view>
<view bindtap="gotoPath" data-event="review_click" data-title="精彩回顾" data-path="/pages/pbService/activity/index"
class="pbservice-item">
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/newpb8.png" mode="widthFix"></image>
<view>精彩回顾</view> -->
<!-- 元旦修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240606/e5b8c83dd99e18b9af6b15aede1c458b.png" mode="widthFix"></image>
<view class="text">精彩回顾</view>
</view>
<view bindtap="gotoPath" data-event="institution_click" data-title="文旅单位"
data-path="/pages/list/culturalUnit/index" class="pbservice-item">
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/newpb11.png" mode="widthFix"></image>
<view>文旅单位</view> -->
<!-- 元旦修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240606/5b0b1be9942bfae84ddbd218421e098f.png" mode="widthFix"></image>
<view class="text">文旅单位</view>
</view>
<view bindtap="gotoPath" data-event="book_click" data-title="书仓" data-path="/pages/pbService/library/index"
class="pbservice-item">
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/newpb5.png" mode="widthFix"></image>
<view>书香借阅</view> -->
<!-- 元旦修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240606/92ddf619960de959f760d5690ed5007a.png" mode="widthFix"></image>
<view class="text">书仓</view>
</view>
<view bindtap="gotoPath" style="margin-left: 20rpx;" data-event="book_click" data-title="苏影通" data-path="/pages/list/movieticket/index"
class="pbservice-item">
<!-- <image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/syt.png" mode="widthFix"></image>
<view>苏影通</view> -->
<!-- 元旦修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240606/5b2f56e57caa058ef0293a682bc620c5.png" mode="widthFix"></image>
<view class="text">苏影通</view>
</view>
<view bindtap="gotoPath" data-event="appreciate_click" data-title="视觉中心"
data-path="/pages/pbService/appreciate/index" class="pbservice-item">
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/newpb4.png" mode="widthFix"></image>
<view>视觉中心</view> -->
<!-- 元旦修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240606/61aac5403bb54bb4cea6a9587da6863b.png" mode="widthFix"></image>
<view class="text">视觉中心</view>
</view>
<!-- <view bindtap="gotoPath" data-event="culture_search_click" data-title="文物查询"
data-path="/pages/pbService/wwcx/index" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/xcxImages/index/newpb3.png" mode="widthFix"></image>
<view>文物查询</view>
</view> -->
<view bindtap="goH5" data-title="文化场馆查询"
data-path="Museum" class="pbservice-item">
<!-- <image src="https://static.ticket.sz-trip.com/uploads/20220907/9fb0bc6ed4ba61b198b1928985d1645d.png" mode="widthFix"></image>
<view>文化场馆查询</view> -->
<!-- 元旦修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240606/29b2954718fe7b7232fe352eb503fbf0.png" mode="widthFix"></image>
<view class="text">文化场馆查询</view>
</view>
<!-- <view bindtap="gotoPath" data-event="museum_search_click" data-title="博物馆查询"
data-path="/pages/pbService/museum/index" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/xcxImages/index/newpb6.png" mode="widthFix"></image>
<view>博物馆查询</view>
</view> -->
<!-- <view bindtap="gotoUrl" data-event="book_click" data-title="文博会" data-url="https://yscbh.sz-trip.com/"
class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/uploads/20220810/ceb07b75aa3df20d7f1de22e2588332a.png" mode="widthFix"></image>
<view>云上文博会</view>
</view> -->
<view bindtap="gotoUrl" data-event="investment_click" data-title="投资导引图" data-url="https://hot-map.sz-trip.com/"
class="pbservice-item">
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/newpb1.png" mode="widthFix"></image>
<view>投资导引图</view> -->
<!-- 元旦修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240606/c66d07e172fe3dd66afc0c69340a7b7d.png" mode="widthFix"></image>
<view class="text">投资导引图</view>
</view>
<!-- <view bindtap="gotoUrl" data-title="数字文物"
data-url="https://foxnut-gffcu6t2.pai.tcloudbase.com/suzhouguobao/index.html#/" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/xcxImages/index/newpb12.png" mode="widthFix"></image>
<view>数字文物</view>
</view> -->
<!-- <view bindtap="gotoPath" data-event="team_click" data-title="团体预约" data-path="/pages/pbService/group/index"
class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/xcxImages/index/newpb9.png" mode="widthFix"></image>
<view>团体预约</view>
</view> -->
<!-- <view bindtap="gotoUrl" data-title="廉洁地图"
data-url="https://ljwhdt.lianshi.gov.cn:8443/Web/WebChatJCW/Mobile/EduBase/MobileMap.aspx"
class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/xcxImages/index/newpb10.png" mode="widthFix"></image>
<view>廉洁地图</view>
</view> -->
<!-- <view bindtap="gotoPath" data-event="book_click" data-title="文化配送" data-path="/pages/culture/index"
class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/uploads/20220818/e02af6e8bf9170060ed7295d367d72c1.png" mode="widthFix"></image>
<view>文化配送</view>
</view> -->
</view>
</scroll-view>
<view class="scroll-line">
<!-- <view class="scroll-line-bg" style="width:{{4 / 5 * 100}}%;margin-left:{{scrollLeft}}px"></view> -->
<!-- 元旦修改 以下两行都是改的 .scroll-line-bg .scroll-line-bg2-->
<view class="scroll-line-bg" wx:if="{{scrollLeft == 0}}" style="width:37rpx;"></view>
<view class="scroll-line-bg2" wx:else style="width:37rpx;"></view>
</view>
</view>
<view class="sale-road-boxes" style="margin-top:0">
<image mode="heightFix" style="height:86rpx" src="{{indexSeason.lyzs}}"></image>
<image class="rmtj-right" src="https://static.ticket.sz-trip.com/uploads/20240606/7f1962fbfe1c56155ace577eeb8e6580.png" mode=""/>
</view>
<view class="pic-list" style="margin-top:20rpx" wx:if="{{!isTest}}">
<image class="new-pic" bindtap="gotoUrl" data-event="dou_click" data-title="抖in苏州"
data-url="https://m.cloud.sz-trip.com/ShakeInDetailList?id=350&class_id=27&index=1"
src="https://static.ticket.sz-trip.com/uploads/20240428/c40ddcb3ed2c971eec02187374540d06.png" mode="aspectFill"></image>
<image class="new-pic" bindtap="gotoPath" data-event="food_click" data-title="街巷美食"
data-path="/pages/list/{{isTest?'road':'food'}}/index"
src="https://static.ticket.sz-trip.com/uploads/20240428/866baa2713b1819cb861aec9fd34970d.png" mode="aspectFill"></image>
<image class="new-pic" bindtap="audioGuide" data-event="voice_click"
src="https://static.ticket.sz-trip.com/uploads/20240428/7e1fc96543b093aa6871172770d0db6b.png" mode="aspectFill">
</image>
<image class="new-pic" bindtap="gotoPath" data-event="guide_click" data-title="游记攻略" data-path="/pages/list/strategy/index"
src="https://static.ticket.sz-trip.com/uploads/20240428/3c21e5876209c1bad4bbfcc688779c08.png" mode="aspectFill"></image>
<!-- <image class="new-pic" bindtap="gotoUrl" data-event="dou_click" data-title="抖in苏州"
data-url="https://m.cloud.sz-trip.com/ShakeInDetailList?id=350&class_id=27&index=1"
src="https://static.ticket.sz-trip.com/jundaosuzhou/images/yuandan2024/disz.png" mode="aspectFill"></image> -->
<!-- <image class="new-pic" bindtap="gotoPath" data-event="food_click" data-title="街巷美食"
data-path="/pages/list/{{isTest?'road':'food'}}/index"
src="https://static.ticket.sz-trip.com/jundaosuzhou/images/yuandan2024/jxms.png" mode="aspectFill"></image> -->
<!-- <image class="new-pic" bindtap="audioGuide" data-event="voice_click"
src="https://static.ticket.sz-trip.com/jundaosuzhou/images/yuandan2024/yydl.png" mode="aspectFill">
</image>
<image class="new-pic" bindtap="gotoPath" data-event="guide_click" data-title="游记攻略" data-path="/pages/list/strategy/index"
src="https://static.ticket.sz-trip.com/jundaosuzhou/images/yuandan2024/yjgl.png" mode="aspectFill"></image> -->
<!-- 元旦修改 下面4个为原始的, 上面的是新改的 新改的class为 new-pic -->
<!-- <image bindtap="gotoUrl" data-event="dou_click" data-title="抖in苏州"
data-url="https://m.cloud.sz-trip.com/ShakeInDetailList?id=350&class_id=27&index=1"
src="https://static.ticket.sz-trip.com/jundaosuzhou/images/jdsz/douinsuzhou.png" mode="aspectFill"></image>
<image bindtap="gotoPath" data-event="food_click" data-title="街巷美食"
data-path="/pages/list/{{isTest?'road':'food'}}/index"
src="https://static.ticket.sz-trip.com/jundaosuzhou/images/jdsz/suzhoumeishi.png" mode="aspectFill"></image>
<image bindtap="audioGuide" data-event="voice_click"
src="https://static.ticket.sz-trip.com/jundaosuzhou/images/jdsz/yuyindaohang.png" mode="aspectFill">
</image>
<image bindtap="gotoPath" data-event="guide_click" data-title="游记攻略" data-path="/pages/list/strategy/index"
src="https://static.ticket.sz-trip.com/jundaosuzhou/images/jdsz/youjigonlue.png" mode="aspectFill"></image> -->
<!-- <image bindtap="city" data-event="city_click" src="https://static.ticket.sz-trip.com/xcxImages/index/cxzs4.png"
mode="aspectFill"></image> -->
</view>
<view class="sale-road-boxes" style="margin-top:0;">
<image mode="heightFix" style="height:86rpx" src="{{indexSeason.ggfw}}"></image>
<navigator url="/pages/pbService/index" catchtap="pagePoint" data-event="public_view" class="title-more">查看全部 <text
class="iconfont icon-you"></text> </navigator>
<!-- <image class="rmtj-right" style="z-index: 2;" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/ggfw-right.png" mode=""/> -->
</view>
<view style="overflow-x:auto;background: #FFFED6;border-radius: 20rpx;background:url('https://static.ticket.sz-trip.com/uploads/20240606/ec3159a8e5b6bb0ccce8aef14ca70f14.png');background-size: 100% 100%;">
<!-- 元旦修改 ggfw为新增类名 -->
<view class="pbservice ggfw-list" style="width:100%;margin-top: 30rpx;">
<!-- <view bindtap="gotoPath" data-event="comfort_click" data-title="景区舒适度"
data-path="/pages/pbService/sceneComfort/index" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/xcxImages/pbservice/pb4.png" mode="widthFix"></image>
<view>景区舒适度</view>
</view> -->
<!-- 元旦修改 ggfw为新增类名 -->
<view bindtap="gotoPath" data-event="security_home_click" data-title="安全服务" data-path="/pages/pbService/security/index" class="pbservice-item ggfw" style="margin-right: 32.33rpx;">
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/pb4.png" mode="widthFix"></image> -->
<!-- 元旦修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240606/5bc25bb21009b5f652b07d7c5d44b247.png" mode="widthFix"></image>
<view>安全服务</view>
</view>
<view bindtap="gotoUrl" data-event="comfort_click" data-title="景区舒适度"
data-url="https://m.cloud.sz-trip.com/ScenicComfort" class="pbservice-item ggfw" style="margin-right: 32.33rpx;">
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/pbservice/pb4.png" mode="widthFix"></image> -->
<!-- 元旦修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240606/55bbad2e7dcec9bd9753fc848488b8f2.png" mode="widthFix"></image>
<view>景区舒适度</view>
</view>
<view bindtap="gotoUrl" data-event="xlqc"
data-url="https://weixin.2500sz.net/zt/2023/07/luggage_storage/" class="pbservice-item ggfw" style="margin-right: 32.33rpx;">
<!-- <image src="https://static.ticket.sz-trip.com/uploads/20230808/484100644e7f02f4eb722a8c2e665927.png" mode="widthFix"></image> -->
<!-- 元旦修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240606/311deeac7cd4dbf821b9b394e69431ed.png" mode="widthFix"></image>
<view>行李寄存</view>
</view>
<view bindtap="gotoUrl" data-event="xlqc"
data-url="https://jiaotonghao2.amap.com/?channel=amap&unitId=257&src=app_share#/" class="pbservice-item ggfw" style="margin-right: 0;">
<!-- <image src="https://static.ticket.sz-trip.com/uploads/20230901/21668c913dd4875d05eba398e905b9f0.png" mode="widthFix"></image> -->
<!-- 元旦修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240606/a6ab539577b9003e35061a888ec4aa27.png" mode="widthFix"></image>
<view>实时路况</view>
</view>
<!-- <view bindtap="gotoPath" data-event="toilet_home_click" data-title="找厕所"
data-path="/pages/pbService/bike/index?type=1" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/xcxImages/index/pb2.png" mode="widthFix"></image>
<view>找厕所</view>
</view> -->
<!-- <view bindtap="gotoPath" data-event="car_park_home_click" data-title="停车场"
data-path="/pages/pbService/bike/index?type=2" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/xcxImages/index/pb3.png" mode="widthFix"></image>
<view>停车场</view>
</view> -->
<!-- <view bindtap="gotoPath" data-event="security_home_click" data-title="12348" data-path="/pages/index/index"
class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/xcxImages/index/pb4New.png" mode="widthFix"></image>
<view>12348</view>
</view> -->
</view>
</view>
<view class="sale-road-boxes">
<image mode="heightFix" style="height:86rpx" src="{{indexSeason.sqj}}"></image>
<image class="rmtj-right" src="https://static.ticket.sz-trip.com/uploads/20240428/6955225b950d5bbe5168f5d9994a6098.png" mode=""/>
</view>
<!-- <view class="six-box">
<image bindtap="gotoPath" data-event="{{area_ids[index]}}_click" data-title="苏城六纪"
data-path="/pages/list/six/index?area={{area_ids[index]}}" wx:for="{{10}}"
src="https://static.ticket.sz-trip.com/xcxImages/index/six{{index+1}}.png" mode="widthFix">
</image>
</view> -->
<!-- 元旦修改 十全街新 以上注释部分为之前的版本-->
<view class="six-box-new" wx:if="{{!isTest}}">
<image bindtap="gotoPath" data-event="{{area_ids[index]}}_click" data-title="苏城六纪"
data-path="/pages/list/six/index?area={{area_ids[index]}}" wx:for="{{sqjNew}}"
src="{{sqjNew[index]}}" mode="widthFix" wx:key="index">
</image>
</view>
<view class="sale-road-boxes" style="margin-top:0" wx:if="{{otherPlat}}">
<image mode="heightFix" style="height:86rpx" src="{{indexSeason.csjwlpt}}"></image>
<image class="rmtj-right" src="https://static.ticket.sz-trip.com/uploads/20240428/f6648d96e0f6d99cc8d82633b5ad1536.png" mode=""/>
</view>
<view class="other-plats" wx:if="{{otherPlat}}">
<view class="other-plat" wx:for="{{otherPlat}}" bindtap="gotoOther" data-item="{{item}}" wx:key="this">
<image src="{{item.icon}}" mode="widthFix"></image>
<view>{{item.name}}</view>
</view>
</view>
<view class="sale-road-boxes" style="margin-top:0">
<image mode="heightFix" style="height:86rpx" src="{{indexSeason.rmtj}}"></image>
<image class="rmtj-right" src="https://static.ticket.sz-trip.com/uploads/20240428/31601dded0df580774b24b064bbb6580.png" mode=""/>
</view>
<view class="hot-list" wx:if="{{isTest==false}}">
<view class="hot-list-item" wx:for="{{2}}" wx:for-index="number" wx:key="this">
<view wx:for="{{list}}" wx:if="{{index%2==number}}" bindtap="gotoDetail" data-item="{{item}}" wx:key="id">
<view wx:if="{{number==0 && index==0}}" class="hot-item today-hot">
<common-image class="today-main-img" width="100%" height="615rpx" src="{{item.ext.headimg}}"
mode="aspectFill"></common-image>
<view style="position:absolute;left:0;right:0;top:0;bottom:0;background:rgba(0,0,0,0.14)"></view>
<image class="today-tip-img" src="https://static.ticket.sz-trip.com/xcxImages/index/today.png"
mode="widthFix"></image>
<view class="today-date">{{date}} {{month}}</view>
<view class="today-hot-box">
<view class="today-hot-tag textOver" wx:for="{{item.ext.display_tags && ext.display_tags.length>0}}" wx:key="this">
{{item.ext.display_tags[0]}}</view>
<view class="today-hot-title">{{item.title}}</view>
</view>
</view>
<view class="hot-item" wx:elif="{{item.type=='travels'}}">
<view style="position:relative">
<common-image width="100%" src="{{item.ext.headimg}}" mode="widthFix"></common-image>
<view class="hot-location textOver">{{item.ext.subtitle}}</view>
</view>
<view class="hot-info">
<view class="hot-title">{{item.title}}</view>
<view class="tags textOver" style="margin-bottom:0">
<view class="icon-box">
<text class="iconfont icon-xin"></text>
<text>{{item.ext.like_number}}</text>
</view>
<view class="icon-box">
<text class="iconfont icon-eye"></text>
<text>{{item.ext.view_number}}</text>
</view>
</view>
</view>
</view>
<view wx:else class="hot-item">
<view style="position:relative">
<common-image width="100%" src="{{item.ext.headimg}}" mode="widthFix"></common-image>
<!-- <view wx:if="{{item.type!='act_calendar' && item.ext.address}}" class="hot-location textOver"><text
class="iconfont icon-location"></text>{{item.ext.address}}</view> -->
</view>
<view class="hot-info">
<view class="hot-title">{{item.title}}</view>
<!-- <view class="tags textOver">
<view wx:for="{{item.ext.display_tags}}" class="tag textOver">{{item}}</view>
</view> -->
<view wx:if="{{item.ext.type!='tenscenic' && item.ext.price}}" class="hot-price">
<text>¥</text><text>{{item.ext.price/100}}</text><text>起</text></view>
</view>
</view>
</view>
</view>
</view>
<view wx:if="{{listMore && isTest==false}}" class="more-btn-text" bindtap="getList">查看更多</view>
<view wx:else class="more-btn-text" bindtap="getList">暂无更多推荐</view>
</view>
<view class="mask prizeMask" wx:if="{{videoPrize}}">
<view class="mask-bg"></view>
<view class="mask-content"
style="width:100%;display:flex;flex-direction:column;background:none;border-radius:0;align-items:center">
<!-- 中奖的卡券 -->
<view style="position:relative" wx:if="{{prizeInfo && prizeInfo.type=='coupon'}}">
<image bindtap="choosePrize" style="display:block;width:533rpx"
src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/videoprize/bg1.png" mode="widthFix"></image>
<image src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/videoprize/congratulation.png" mode="widthFix"
class="prize-tip-text"></image>
<view class="prize-name">{{prizeInfo.prize_name}}</view>
<view class="prize-img">
<image src="{{prizeInfo.head_img}}" mode="aspectFill"></image>
</view>
<!-- <view class="btn-box">
<image src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/videoprize/btnbg.png" mode="widthFix"></image>
<navigator url="/pages/user/videoCoupon/index">前往查看</navigator>
</view> -->
</view>
<!-- 中奖的产品 -->
<view style="position:relative" wx:elif="{{prizeInfo && prizeInfo.type=='product'}}">
<image bindtap="choosePrize" style="display:block;width:533rpx"
src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/videoprize/bg1.png" mode="widthFix"></image>
<image src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/videoprize/congratulation.png" mode="widthFix"
class="prize-tip-text"></image>
<view class="prize-name">{{prizeInfo.prize_name}}</view>
<view class="prize-img">
<image src="{{prizeInfo.head_img}}" mode="aspectFill"></image>
</view>
<!-- <view class="btn-box">
<image src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/videoprize/btnbg.png" mode="widthFix"></image>
<navigator url="/pages/user/videoCoupon/index">前往查看</navigator>
</view> -->
</view>
<!-- 未中奖 -->
<view style="position:relative" wx:elif="{{prizeInfo && prizeInfo.type=='none'}}">
<image bindtap="choosePrize" style="display:block;width:533rpx"
src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/videoprize/bg1.png" mode="widthFix"></image>
<image src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/videoprize/sorrytext.png" mode="widthFix"
class="prize-tip-text"></image>
<view class="prize-name">您与奖品擦肩而过期待下次参与</view>
<view class="prize-img">
<image src="{{prizeInfo.head_img}}" mode="aspectFill"></image>
</view>
<view class="btn-box">
<image src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/videoprize/btnbg.png" mode="widthFix"></image>
<view bindtap="closePrice">我知道了</view>
</view>
</view>
<!-- 未抽奖状态 -->
<view style="position:relative" wx:else>
<image bindtap="choosePrize" style="display:block;width:533rpx"
src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/videoprize/allbg.png" mode="widthFix"></image>
<view class="nomore-tip-btn" bindtap="noMoreTip"></view>
</view>
<image bindtap="closePrice" style="width:80rpx;margin-top:40rpx"
src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/videoprize/allclose.png" mode="widthFix"></image>
</view>
</view>
<!-- 广告弹窗 -->
<view class="zzc" bindtap="closeAdv" wx:if="{{showAdv}}" ></view>
<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">
<block wx:for="{{alertSwipeList}}" wx:key="*this">
<swiper-item data-item="{{item}}" bindtap="bannerJumpNew" >
<image src="{{item.head_img}}" style="width: 100%; height:100%; border-radius: 10rpx;" mode="aspectFill"></image>
</swiper-item>
</block>
</swiper>
<image bindtap="closeAdv" style="width: 100rpx; height: 100rpx;transform: translate(200rpx,6rpx);" src="https://static.ticket.sz-trip.com/uploads/20220810/f4bb1a4f0b5eb394e6ca6e4f03aaa1e0.png"></image>
</view>
<!-- 广告弹窗结束 -->
<view class="fullavd" wx:if="{{showFullAdv && startList.head_img}}" style="opacity: {{opacity}}">
<view class="time" bindtap="closeFullAdv" wx:if="{{showTime && startList.media_type}}">{{time}}s跳过</view>
<view class="Qtop" style="min-height:100vh" wx:if="{{showTime && startList.media_type}}">
<image src="{{startList.head_img}}" mode="widthFix" style="width: 100%;height: 100%;"></image>
</view>
<!-- 视频 -->
<view style="width:100vw;height: 100vh;position: relative;" wx:if="{{!startList.media_type}}">
<video
style="width:100vw;height:100vh;display:block;"
id="myVideo"
src="{{startList.head_img}}"
show-center-play-btn="{{false}}"
show-play-btn="{{true}}"
autoplay
controls="{{false}}"
bindended="videoend"
loop="{{true}}"
muted="{{isMuted}}"
object-fit="fill"
></video>
<!-- <image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/startPage/mute.png" class="muteImg" mode="widthFix" wx:if="{{isMuted}}" bindtap="closeMuted"></image> -->
<!-- <image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/startPage/sound.png" class="muteImg" mode="widthFix" wx:else bindtap="closeMuted"></image> -->
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/startPage/logo.png" class="logoImg" mode="widthFix"></image>
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/startPage/btn.png" class="btnImg" mode="widthFix" bindtap="closeFullAdv"></image>
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/startPage/play.png" class="playImg" mode="widthFix" wx:if="{{videoPlay}}" bindtap="videoPlay"></image>
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/startPage/pause.png" class="playImg" mode="widthFix" wx:else bindtap="videoPause"></image>
</view>
</view>
<!-- <view class="topBox">
<view class="Qtop" :style="{height:height}">
<image style="width: 100%;height:{{height}}" src="{{startList.head_img}}" mode=""/>
</view>
<view class="jumpBox">
<view class="time">{{time}}s</view>
<view bind:tap="gotoIndex">跳过</view>
</view>
</view> -->

1191
subPackages/index/index.wxss

File diff suppressed because it is too large

1198
subPackages/indexs/index.js

File diff suppressed because it is too large

6
subPackages/indexs/index.json

@ -0,0 +1,6 @@
{
"usingComponents": {
"common-image":"/pages/component/commonImage/index",
"title":"/pages/component/TitleHeader"
}
}

306
subPackages/indexs/index.wxml

@ -0,0 +1,306 @@
<!--pages/indexs/index.wxml-->
<title title="君到苏州(文化旅游总入口)"></title>
<!-- 后台获取的季节动图 -->
<image class="top-bg-img" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/topImg.gif" mode="widthFix"></image>
<view wx:if="{{weather}}" class="top-box" style="height: 63rpx">
<image src="{{weather.icon2}}" style="margin-left:0" mode="aspectFill"></image>
<view class="weather-num">{{weather.max_temp}}°</view>
<view class="weather">{{weather.weather}}</view>
<image bindtap="gotoPath" style="margin-left:0" data-path="/pages/user/service/index"
data-event="customer_service_click" src="https://static.ticket.sz-trip.com/uploads/20240428/7c77f3fc227acb3f15963c54fbd3d954.png"
mode="aspectFill"></image>
<image bindtap="gotoPath" data-event="message_click" data-path="/pages/list/message/index"
src="https://static.ticket.sz-trip.com/uploads/20240428/ae4b559db397a7b7d76b471576bfa3c0.png" mode="aspectFill"></image>
</view>
<view class="top-box" style="padding:0;margin-bottom:18rpx" wx:if="{{!isTest}}">
<navigator url="/pages/search/index" catchtap="pagePoint" data-event="search_click" class="search-box textOver">
<view class="iconfont icon-sousuo"></view>
<view class="textOver">搜索想要的旅游产品或服务</view>
</navigator>
</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">
<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>
</view>
<view class="content">
<!-- 活动日历 -->
<view class="sale-road-boxes" style="margin: 0 26.67rpx;">
<image mode="heightFix" style="height:86rpx" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/calendar.png"></image>
<navigator url="/pages/list/activitynew/index" class="right-more">更多 ></navigator>
</view>
<view class="hdrlNavList">
<view class="hdrlNav{{index==hdrlNavIndex?' hdrlNavActive':''}}" wx:for="{{hdrlNavList}}" data-index="{{index}}" bindtap="changeHdrlNav" wx:key="id">
{{item.title}}
</view>
</view>
<view wx:if="{{hdrlNavIndex!=4}}">
<view style="margin-left:16.67rpx;margin-right: 14.67rpx;display: flex;overflow-x: scroll;" class="hdrlList">
<view class="hdrlItem" wx:for="{{hdrlList}}" bindtap="goDetail" data-item="{{item}}" wx:key="this">
<view style="background: #fff;width: 630rpx;display: flex;border-radius: 13rpx;">
<image class="hdrlItem-img" src="{{item.post_url}}" mode=""/>
<view class="hdrlItem-content">
<view class="hdrlItem-title textOver3">{{item.name}}</view>
<view class="hdrlItem-date">{{item.begin_date}}-{{item.end_date}}</view>
</view>
</view>
</view>
</view>
</view>
<view wx:else>
<view style="margin-left:16.67rpx;margin-right: 14.67rpx;display: flex;overflow-x: scroll;">
<view class="movieItem" wx:for="{{hdrlList}}" bindtap="goDetail" data-item="{{item}}" wx:key="this">
<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;">
<view>{{item.title}}</view>
<view style="display: flex;justify-content: flex-end;">
<view class="buyMovie">去购票 ></view>
</view>
</view>
</view>
</view>
</view>
</view>
<!-- 高峰预警、实时路况及几个板块 -->
<view class="main-box">
<!-- 上面的高峰预警、实时路况 -->
<view class="main-box-top">
<image bindtap="gotoPath" data-path="/pages/pbService/sceneComfort/index" class="gfyj" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/gfyj.png" mode=""/>
<image bindtap="gotoUrl" data-url="https://jiaotonghao2.amap.com/?channel=amap&unitId=257&src=app_share#/" class="sslk" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/sslk.png" mode=""/>
</view>
<!-- 下面几大板块 -->
<view class="slide-out-box">
<scroll-view scroll-x bindscroll="listenScroll" class="slide-box">
<view class="pbservice" style="margin-bottom:30rpx">
<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>
</view>
<view bindtap="gotoPath" data-event="night_sz" data-title="夜游苏州" data-path="/pages/list/night/index" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/yysz.png" mode="widthFix"></image>
<view class="text">夜游苏州</view>
</view>
<view bindtap="gotoPath" data-event="specialty" data-title="文创特产" data-path="/pages/list/{{isTest?'road':'techan'}}/index" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/wctc.png" mode="widthFix"></image>
<view class="text">文创特产</view>
</view>
<view bindtap="gotoPath" data-event="museum" data-title="场馆预约" data-path="/pages/list/{{isTest?'scene':'museum'}}/index" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/cgyy.png" mode="widthFix"></image>
<view class="text">场馆预约</view>
</view>
<view bindtap="gotoPath" data-event="show" data-title="剧场演出" data-path="/pages/list/{{isTest?'activity':'theatre'}}/index" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/jcyc.png" mode="widthFix"></image>
<view class="text">剧场演出</view>
</view>
<view bindtap="gotoUrl" data-event="card" data-title="一卡游苏州" data-url="https://m.cloud.sz-trip.com/OneDayTravelNew" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/yry.png" mode="widthFix"></image>
<view class="text">一日游</view>
</view>
<view bindtap="gotoPath" data-event="one_card" data-title="一卡游" data-path="/pages/list/card/index" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/yky.png" mode="widthFix"></image>
<view class="text">一卡游</view>
</view>
<view bindtap="gotoPath" data-event="legacy" data-title="非遗专卖" data-path="/pages/list/{{isTest?'scene':'feiyi'}}/index" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/fyzm.png" mode="widthFix"></image>
<view class="text">非遗专卖</view>
</view>
</view>
</scroll-view>
<view class="scroll-line">
<view class="scroll-line-bg" wx:if="{{scrollLeft == 0}}" style="width:25rpx;"></view>
<view class="scroll-line-bg2" wx:else style="width:25rpx;"></view>
</view>
</view>
</view>
<!-- 小轮播 -->
<view class="small-swiper-box">
<swiper class="small-swiper" autoplay="{{true}}" interval="{{5000}}" duration="{{300}}"
bindchange="changeSmBannerIndex">
<block wx:for="{{xiaobanner}}" wx:key="*this">
<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>
</view>
<!-- 游苏州 -->
<view class="sale-road-boxes" style="margin: 0 26.67rpx;">
<view style="margin-bottom:6rpx;">
<image style="width: 286.67rpx;height: 80rpx;margin-bottom: 14.67rpx;" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/ysz.png" mode=""/>
<view>
<text style="padding: 11.33rpx 18rpx;" class="hdrlNav{{index==yszIndex?' hdrlNavActive':''}}" wx:for="{{yszNav}}" data-index="{{index}}" bindtap="changeType" wx:key="this">{{item}}</text>
</view>
</view>
<image style="width: 218rpx;height: 109.33rpx;" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/boat.png" mode=""/>
</view>
<view class="ysz-box {{yszIndex==1?'ysz-box2':''}}">
<view wx:if="{{yszIndex == 0}}">
<view class="pbservice ggfw-list" style="width:100%;margin-top: 30rpx;justify-content: space-between;">
<view bindtap="gotoPath" data-event="security_home_click" data-title="安全服务" data-path="/pages/pbService/security/index" class="pbservice-item ggfw" style="margin-right: 32.33rpx;">
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/anquan.png" mode="widthFix"></image>
<view>安全服务</view>
</view>
<view bindtap="gotoUrl" data-event="comfort_click" data-title="景区舒适度"
data-url="https://m.cloud.sz-trip.com/ScenicComfort" class="pbservice-item ggfw" style="margin-right: 32.33rpx;">
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/gaofeng.png" mode="widthFix"></image>
<view>高峰预警</view>
</view>
<view bindtap="gotoUrl" data-event="xlqc"
data-url="https://weixin.2500sz.net/zt/2023/07/luggage_storage/" class="pbservice-item ggfw" style="margin-right: 32.33rpx;">
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/xingli.png" mode="widthFix"></image>
<view>行李寄存</view>
</view>
<view bindtap="gotoUrl" data-event="xlqc"
data-url="https://jiaotonghao2.amap.com/?channel=amap&unitId=257&src=app_share#/" class="pbservice-item ggfw" style="margin-right: 0;">
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/shishi.png" mode="widthFix"></image>
<view>实时路况</view>
</view>
</view>
<navigator class="ysz-more" url="/pages/pbService/index" catchtap="pagePoint" data-event="public_view">
查看更多 >
</navigator>
</view>
<view wx:else>
<view class="pic-list" style="margin-top:20rpx" wx:if="{{!isTest}}">
<image class="new-pic" bindtap="gotoUrl" data-event="dou_click" data-title="抖in苏州"
data-url="https://m.cloud.sz-trip.com/ShakeInDetailList?id=350&class_id=27&index=1"
src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/douyin.png" mode="aspectFill"></image>
<image class="new-pic" bindtap="gotoPath" data-event="food_click" data-title="街巷美食"
data-path="/pages/list/{{isTest?'road':'food'}}/index"
src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/jiexiang.png" mode="aspectFill"></image>
<image class="new-pic" bindtap="audioGuide" data-event="voice_click"
src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/yuyin.png" mode="aspectFill">
</image>
<image class="new-pic" bindtap="gotoPath" data-event="guide_click" data-title="游记攻略" data-path="/pages/list/strategy/index"
src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/youji.png" mode="aspectFill"></image>
</view>
</view>
</view>
<!-- 推荐榜单 -->
<image class="tjbd-title" style="width: 286.67rpx;height: 80rpx;margin-left: 26rpx;margin-bottom: 20rpx;" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/tjbd.png" mode=""/>
<!-- 4个产品榜单 -->
<view style="display: flex;overflow-x: scroll;padding-right: 20rpx;" class="bottom-box">
<view class="bd-box" style="background:{{item.bg}};" wx:for="{{bdList}}" wx:key="this">
<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=""/>
<view bindtap="moreBtn" class="bd-more" data-item="{{item}}">更多 ></view>
</view>
<view wx:if="{{index==0}}" style="position: relative;z-index: 9;">
<view data-url="/pages/info/sceneProductInfo/index?id={{item.id}}" style="display: flex;align-items: center;margin-bottom: 20rpx;" wx:for="{{list1}}" wx:key="id" bindtap="gobdDetail">
<view class="bd-index">{{index+1}}</view>
<view class="bd-item">
<image class="bd-item-img" src="{{item.headimg}}" mode=""/>
<view class="bd-item-content">
<view class="bd-item-title textOver2">
{{item.title}}
</view>
<view class="bd-item-bottom">
<view class="bd-price">{{item.price/100}}</view>
<view class="bd-distance" wx:if="{{item.distance}}">{{item.distance}}</view>
</view>
</view>
</view>
</view>
</view>
<view wx:if="{{index==1}}" style="position: relative;z-index: 9;">
<view bindtap="gobdDetail" data-url="/pages/info/postProductInfo/index?id={{item.id}}" style="display: flex;align-items: center;margin-bottom: 20rpx;" wx:for="{{list2}}" wx:key="id">
<view class="bd-index">{{index+1}}</view>
<view class="bd-item">
<image class="bd-item-img" src="{{item.headimg}}" mode="aspectFill"/>
<view class="bd-item-content">
<view class="bd-item-title textOver2">
{{item.title}}
</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>
</view>
</view>
</view>
</view>
<view wx:if="{{index==2}}" style="position: relative;z-index: 9;">
<view bindtap="gobdDetail" data-url="/pages/info/roadInfo/index?id={{item.id}}" style="display: flex;align-items: center;margin-bottom: 20rpx;" wx:for="{{list3}}" wx:key="id">
<view class="bd-index">{{index+1}}</view>
<view class="bd-item">
<image class="bd-item-img" src="{{item.headimg}}" mode=""/>
<view class="bd-item-content">
<view class="bd-item-title textOver2">
{{item.title}}
</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>
</view>
</view>
</view>
</view>
<view wx:if="{{index==3}}" style="position: relative;z-index: 9;">
<view bindtap="gobdDetail" data-url="/pages/info/sceneProductInfo/index?id={{item.scene_id}}" style="display: flex;align-items: center;margin-bottom: 20rpx;" wx:for="{{list4}}" wx:key="id">
<view class="bd-index">{{index+1}}</view>
<view class="bd-item">
<image class="bd-item-img" src="{{item.headimg}}" mode=""/>
<view class="bd-item-content">
<view class="bd-item-title textOver2">
{{item.title}}
</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>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
<!-- 开屏页 -->
<view class="fullavd" wx:if="{{showFullAdv && startList.head_img}}" style="opacity: {{opacity}}">
<view class="time" bindtap="closeFullAdv" wx:if="{{showTime && startList.media_type}}">{{time}}s跳过</view>
<view class="Qtop" style="min-height:100vh" wx:if="{{showTime && startList.media_type}}">
<image src="{{startList.head_img}}" mode="widthFix" style="width: 100%;height: 100%;"></image>
</view>
<!-- 视频 -->
<view style="width:100vw;height: 100vh;position: relative;" wx:if="{{!startList.media_type}}">
<video
style="width:100vw;height:100vh;display:block;"
id="myVideo"
src="{{startList.head_img}}"
show-center-play-btn="{{false}}"
show-play-btn="{{true}}"
autoplay
controls="{{false}}"
bindended="videoend"
loop="{{true}}"
muted="{{isMuted}}"
object-fit="fill"
></video>
<!-- <image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/startPage/mute.png" class="muteImg" mode="widthFix" wx:if="{{isMuted}}" bindtap="closeMuted"></image> -->
<!-- <image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/startPage/sound.png" class="muteImg" mode="widthFix" wx:else bindtap="closeMuted"></image> -->
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/startPage/logo.png" class="logoImg" mode="widthFix"></image>
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/startPage/btn.png" class="btnImg" mode="widthFix" bindtap="closeFullAdv"></image>
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/startPage/play.png" class="playImg" mode="widthFix" wx:if="{{videoPlay}}" bindtap="videoPlay"></image>
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/startPage/pause.png" class="playImg" mode="widthFix" wx:else bindtap="videoPause"></image>
</view>
</view>

1427
subPackages/indexs/index.wxss

File diff suppressed because it is too large
Loading…
Cancel
Save