Browse Source

国庆首页

master
jiazhipeng 2 years ago
parent
commit
c407c00e9e
  1. 11
      app.json
  2. BIN
      images/index_seld_1.png
  3. BIN
      images/map_seld_1.png
  4. BIN
      images/user_seld_1.png
  5. 774
      pages/index/index.js
  6. 903
      pages/index/index.wxml
  7. 458
      pages/index/index.wxss
  8. 10
      project.private.config.json
  9. 72
      subPackages/index/index.js
  10. 562
      subPackages/index/index.wxml
  11. 23
      subPackages/index/index.wxss
  12. 1224
      subPackages/indexGQ/index.js
  13. 6
      subPackages/indexGQ/index.json
  14. 316
      subPackages/indexGQ/index.wxml
  15. 1448
      subPackages/indexGQ/index.wxss

11
app.json

@ -197,7 +197,8 @@
"techanCart/index", "techanCart/index",
"feiyiNew/index", "feiyiNew/index",
"postSearch/index", "postSearch/index",
"gwcOrder/index" "gwcOrder/index",
"indexGQ/index"
] ]
} }
], ],
@ -228,26 +229,26 @@
"sitemapLocation": "sitemap.json", "sitemapLocation": "sitemap.json",
"tabBar": { "tabBar": {
"color": "#999", "color": "#999",
"selectedColor": "#4285F4", "selectedColor": "#FF6756",
"borderStyle": "white", "borderStyle": "white",
"list": [ "list": [
{ {
"pagePath": "pages/index/index", "pagePath": "pages/index/index",
"iconPath": "/images/home.png", "iconPath": "/images/home.png",
"selectedIconPath": "/images/index_seld.png", "selectedIconPath": "/images/index_seld_1.png",
"text": "首页", "text": "首页",
"shareTimeline": true "shareTimeline": true
}, },
{ {
"pagePath": "pages/map/index", "pagePath": "pages/map/index",
"iconPath": "/images/map.png", "iconPath": "/images/map.png",
"selectedIconPath": "/images/map_seld.png", "selectedIconPath": "/images/map_seld_1.png",
"text": "图游" "text": "图游"
}, },
{ {
"pagePath": "pages/user/user", "pagePath": "pages/user/user",
"iconPath": "/images/user.png", "iconPath": "/images/user.png",
"selectedIconPath": "/images/user_seld.png", "selectedIconPath": "/images/user_seld_1.png",
"text": "我的" "text": "我的"
} }
] ]

BIN
images/index_seld_1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

BIN
images/map_seld_1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

BIN
images/user_seld_1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

774
pages/index/index.js

@ -4,7 +4,6 @@ let app = getApp()
import commonApi from "../../utils/https/common" import commonApi from "../../utils/https/common"
import userApi from "../../utils/https/user" import userApi from "../../utils/https/user"
import util from "../../utils/util" import util from "../../utils/util"
import https from "../../utils/https.js"
Page({ Page({
data: { data: {
banner: [], banner: [],
@ -18,7 +17,9 @@ Page({
fourProduct: [], fourProduct: [],
hotIndex: 0, hotIndex: 0,
indexHot: [], indexHot: [],
area_ids: [ "changshu", "taicang", "kunshan", "wujiang", "gongyeyuanqu", "zhangjiagang", "wuzhong", "xiangcheng", "gusu", "gaoxin"], area_ids: ["zhangjiagang", "changshu", "taicang", "kunshan", "wujiang", "wuzhong", "xiangcheng", "gusu",
"gongyeyuanqu", "gaoxin"
],
month: "", month: "",
months: ['JAN', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'oct', 'nov', 'dec'], months: ['JAN', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'oct', 'nov', 'dec'],
date: "", date: "",
@ -49,33 +50,85 @@ Page({
djs: null, // 元旦新增 新品特惠倒计时 djs: null, // 元旦新增 新品特惠倒计时
djsTime: null, djsTime: null,
sqjNew: [ sqjNew: [
'https://static.ticket.sz-trip.com/uploads/20240617/3acf736c1dc9c7af08d3363833669896.png',// 常熟 'https://static.ticket.sz-trip.com/uploads/20240428/faede304469bb3e7b9bbf7001008d09a.png',
'https://static.ticket.sz-trip.com/uploads/20240617/4f33191399b2ec1b6b8af77a9d976389.png',// 太仓 'https://static.ticket.sz-trip.com/uploads/20240428/77c3bd6c3f44ee0e3cc483557c1c7462.png',
'https://static.ticket.sz-trip.com/uploads/20240617/7c62e1438242fc6db47f96cff8a43e9b.png',// 昆山 'https://static.ticket.sz-trip.com/uploads/20240428/ad2324005ba1ed0cabe990ec62bfec76.png',
'https://static.ticket.sz-trip.com/uploads/20240617/4ac7bd7e59edef07d5079bb802dae99b.png',// 吴江 'https://static.ticket.sz-trip.com/uploads/20240428/a90f3ce4519a585cc5cebfe62d8d4043.png',
'https://static.ticket.sz-trip.com/uploads/20240617/fc20f4d0582ac8611dc9ce7a933deda3.png',// 工业园区 'https://static.ticket.sz-trip.com/uploads/20240428/e6fa6cdef2971c8abdb670be1f36d1ca.png',
'https://static.ticket.sz-trip.com/uploads/20240617/09325c6e6d94e1b23c1019f95ec05f3f.png',// 张家港 'https://static.ticket.sz-trip.com/uploads/20240428/9c8186b8249bf81a2ef4fe4a4194cf2b.png',
'https://static.ticket.sz-trip.com/uploads/20240617/56ccaab57aaf050bb6feccc3a70983bb.png',// 吴中 'https://static.ticket.sz-trip.com/uploads/20240428/755ee01ac248aeda8812b025f483a869.png',
'https://static.ticket.sz-trip.com/uploads/20240617/fbb3b7bdaa0cafed88015aa3f8d3da96.png',// 相城 'https://static.ticket.sz-trip.com/uploads/20240428/2d29f0d14e634b0a78d4ef91b28d5999.png',
'https://static.ticket.sz-trip.com/uploads/20240617/d83cb13156ad76bb8051dbc2b60126af.png',// 姑苏 'https://static.ticket.sz-trip.com/uploads/20240428/71f7b558c7ca6d42728d48508d01819c.png',
'https://static.ticket.sz-trip.com/uploads/20240617/b28afa0861eb54f5f3d483a7c08fdbda.png',// 高新区 'https://static.ticket.sz-trip.com/uploads/20240428/23e07551be831036116c2fedbbf7aea5.png',
], ],
viewHeight: "0px", viewHeight: "0px",
isMuted: true, isMuted: true,
videoPlay: false, videoPlay: false,
hdrlNavList:[
{
type:null,
title:'全部'
}, },
onLoad: function(options) { {
console.log('options',options) type:'scene',
// 相城小程序跳转获取用户信息 title:'景区活动'
if(options && options.szxcCode) { },
commonApi._post("uservice/user/loginByXC", { {
code: options.szxcCode type:'show',
}).then(res => { title:'演出'
if(res.data && res.data.id && res.data.token) { },
https.set_logininfo(res); {
} type:'exhibition',
}) title:'展览'
},
{
type:'movie',
title:'电影'
},
{
type:'other',
title:'其他'
} }
], //活动日历板块导航分类
hdrlNavIndex:0,//活动日历默认选中第一个全部分类
today:null,
hdrlList:[],
yszNav:['公共服务','旅游助手'],
yszIndex:0,
bdList:[
{
bg: 'linear-gradient(172deg, #FFF3E5, #FFD9AD);',
icon:'https://static.ticket.sz-trip.com/uploads/20240923/15ee44a960511cdcf276b5d8df472626.png', //游
url:'https://m.cloud.sz-trip.com/OneDayTravelNew',
path:'',
},
{
bg: 'linear-gradient(172deg, #E7F1FF, #ADD1FF);',
icon:'https://static.ticket.sz-trip.com/uploads/20240923/cd652f4bcfcef7f55863bf8587609ca4.png', //非玩不可
path:'/pages/list/scene/index',
url:'',
},
{
bg: 'linear-gradient(172deg, #F0EBFF, #E3D9FF);',
icon:'https://static.ticket.sz-trip.com/uploads/20240923/a0b95152b87215dccbb2e5dfa1bfd145.png', //非看不可
url:'',
path:'/pages/list/theatre/index',
},
{
bg: 'linear-gradient(172deg, #FFEDF0, #FFC9D2);',
icon:'https://static.ticket.sz-trip.com/uploads/20240923/799befa78b1d474bfb26004cc2ef817d.png', //非买不可
path:'/pages/list/techan/index',
url:'',
},
],
list1:[], //非玩-景点
list2:[], //非买-文创
list3:[], //非游-一日游
list4:[], //非看-剧场演出
},
onLoad: function(options) {
this.getHeight() this.getHeight()
//全屏广告 //全屏广告
wx.hideTabBar() //这里隐藏了底部导航栏 wx.hideTabBar() //这里隐藏了底部导航栏
@ -87,9 +140,11 @@ Page({
let length = res.data.length let length = res.data.length
if (res.data.length > 1) { if (res.data.length > 1) {
let num = Math.floor(Math.random() * length); let num = Math.floor(Math.random() * length);
console.log('num', num);
this.setData({ this.setData({
startList: res.data[num] startList: res.data[num]
}) })
console.log(this.data.startList.head_img);
} else { } else {
this.setData({ this.setData({
startList: res.data[0] startList: res.data[0]
@ -133,6 +188,20 @@ 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;
@ -144,9 +213,11 @@ Page({
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({
@ -166,77 +237,231 @@ Page({
this.getTwoProduct() this.getTwoProduct()
this.getBanner() this.getBanner()
this.getWeather() this.getWeather()
// 获取今天的日期 },
let today = new Date(); gobdDetail(e) {
console.log(e);
let url = e.currentTarget.dataset.url
wx.navigateTo({
url: url
})
},
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({ this.setData({
month: (this.data.months[today.getMonth()]).toUpperCase(), list1:res.data.list
date: today.getDate() })
})
// 非买不可--文创
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
})
}) })
this.getVideoPrize()
this.getXpthList()
}, },
getHeight() { goDetail(e) {
let that = this let item = e.currentTarget.dataset.item;
wx.getSystemInfo({ let type = this.data.hdrlNavList[this.data.hdrlNavIndex].type
success(res) { if (type == 'movie') {
that.setData({ wx.navigateTo({
viewHeight: res.windowHeight + 'px' 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);
}, },
getXpthList: function() { // 推荐榜单更多跳转
// 元旦新增 新品特惠 moreBtn(e) {
commonApi._post("product/get_product_indulgence", { let item = e.currentTarget.dataset.item
tag_id: 275, if (item.path!='') {
typeId: 3, 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 => { }).then(res => {
this.setData({ this.setData({
xpth: res.data, hdrlList:res.data.rows
djsTime: res.data.time
}) })
let time = setInterval(() => { })
},
// 切换活动日历分类
changeHdrlNav(e) {
console.log(e.currentTarget.dataset);
this.setData({ this.setData({
djsTime: this.data.djsTime - 1 hdrlList:[],
hdrlNavIndex:e.currentTarget.dataset.index,
}) })
this.formatDate(this.data.djsTime) if (this.data.hdrlNavIndex == 4) {
}, 1000) this.getMovieList()
if (this.data.djsTime == 0) { } else {
clearInterval(time) this.getHdrlList() //切换分类重新获取活动日历列表
} }
})
}, },
// 元旦新品特惠 倒计时 // 游苏州下的公共服务和旅游助手切换
formatDate: function(oTime) { changeType(e) {
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({ this.setData({
djs: { yszIndex:e.currentTarget.dataset.index,
h: h,
m: m,
s: s
}
}) })
return
}, },
goFeiyi: function() { // 获取导航栏项目标题高度
app.globalData.weburl = 'https://m.cloud.sz-trip.com/mlgCoupons' getHeight() {
wx.navigateTo({ let that = this
url: "/pages/pbService/web/index" wx.getSystemInfo({
success(res) {
console.log(res)
that.setData({
viewHeight: res.windowHeight + 'px'
})
console.log(that.data.viewHeight)
}
}) })
}, },
onTabItemTap: function(e) { // getXpthList: function() {
console.log(e, 99999999) // // 元旦新增 新品特惠
}, // 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) { 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
@ -368,6 +593,7 @@ Page({
}, },
getWeather: function() { getWeather: function() {
commonApi._post('pbservice/Ztfw/getWeather').then(res => { commonApi._post('pbservice/Ztfw/getWeather').then(res => {
console.log(res)
this.setData({ this.setData({
weather: res.data weather: res.data
}) })
@ -465,6 +691,7 @@ Page({
util.gotoDetail(item) util.gotoDetail(item)
}, },
gotoPath: function(e) { gotoPath: function(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({
@ -490,19 +717,13 @@ Page({
path: 'pages/index/index' path: 'pages/index/index'
}) })
return; return;
// } else if (e.currentTarget.dataset.event == 'wuzhong_click') { } else if (e.currentTarget.dataset.event == 'wuzhong_click') {
// wx.navigateToMiniProgram({
// appId: 'wxdd39069b9a91dbfe',
// path: 'pages/index/index'
// })
// return;
} else if (e.currentTarget.dataset.title == 'e读书') {
wx.navigateToMiniProgram({ wx.navigateToMiniProgram({
appId: 'wx26e6f4c0baba005b', appId: 'wxdd39069b9a91dbfe',
path: 'pages/index/index' path: 'pages/index/index'
}) })
return; return;
}else if (e.currentTarget.dataset.event == 'kunshan_click') { } else if (e.currentTarget.dataset.event == 'kunshan_click') {
wx.navigateToMiniProgram({ wx.navigateToMiniProgram({
appId: 'wx8888a3fd0862b4c8', appId: 'wx8888a3fd0862b4c8',
path: 'pages/index/index' path: 'pages/index/index'
@ -548,6 +769,7 @@ Page({
}, },
// 元旦 新品特惠部分 // 元旦 新品特惠部分
goBanner: function(e) { goBanner: function(e) {
console.log('新品特惠', e.currentTarget.dataset.url);
let url = e.currentTarget.dataset.url; let url = e.currentTarget.dataset.url;
app.globalData.weburl = url; app.globalData.weburl = url;
wx.navigateTo({ wx.navigateTo({
@ -555,6 +777,7 @@ Page({
}) })
}, },
gotoUrl: function(e) { gotoUrl: function(e) {
console.log(e)
if (e.currentTarget.dataset.event) { if (e.currentTarget.dataset.event) {
this.pagePoint({ this.pagePoint({
event: e.currentTarget.dataset.event event: e.currentTarget.dataset.event
@ -607,6 +830,7 @@ Page({
}, },
gotoSku: function() { gotoSku: function() {
commonApi.user_post("pbservice/Ztfw/sukangCode").then(res => { commonApi.user_post("pbservice/Ztfw/sukangCode").then(res => {
console.log(res)
app.globalData.weburl = res.data.url; app.globalData.weburl = res.data.url;
wx.navigateTo({ wx.navigateTo({
url: '/pages/pbService/web/index' url: '/pages/pbService/web/index'
@ -628,33 +852,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;
@ -705,6 +929,7 @@ Page({
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(111, item.tdata)
app.globalData.weburl = item.tdata.url; app.globalData.weburl = item.tdata.url;
wx.navigateTo({ wx.navigateTo({
url: "/pages/pbService/web/index?weburl=" + encodeURIComponent(item.tdata url: "/pages/pbService/web/index?weburl=" + encodeURIComponent(item.tdata
@ -713,6 +938,7 @@ Page({
} 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])
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',
@ -729,6 +955,7 @@ Page({
}) })
} else { } else {
app.globalData.weburl = item.tdata.url; app.globalData.weburl = item.tdata.url;
console.log(2222, item.tdata.url, app.globalData.weburl)
wx.navigateTo({ wx.navigateTo({
url: "/pages/pbService/web/index?weburl=" + encodeURIComponent(item url: "/pages/pbService/web/index?weburl=" + encodeURIComponent(item
.tdata.url) .tdata.url)
@ -771,6 +998,7 @@ Page({
}, },
//博物馆跳转 直接跳君到苏州H5 //博物馆跳转 直接跳君到苏州H5
goH5: function(e) { goH5: function(e) {
console.log(e.currentTarget.dataset.path);
let weburl = 'https://m.cloud.sz-trip.com/' + 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; // app.globalData.weburl ='https://m.cloud.sz-trip.com/' + e.currentTarget.dataset.path;
wx.navigateTo({ wx.navigateTo({
@ -778,184 +1006,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
app.globalData.weburl = item.tdata.url; // console.log(item.tdata)
wx.navigateTo({ // app.globalData.weburl = item.tdata.url;
url: "/pages/pbService/web/index" // wx.navigateTo({
}) // url: "/pages/pbService/web/index"
} else { // })
let page = item.tdata.url.split("/"); // } else {
page = page[page.length - 1].split("?") // let page = item.tdata.url.split("/");
let url = this.data.urltopage[page[0]]; // page = page[page.length - 1].split("?")
if (url && url.indexOf('map') != -1) { // console.log(page[0])
let types = ['', 'scenic', 'venue', 'post', 'restaurant', 'relic', 'tenscenic', // let url = this.data.urltopage[page[0]];
'cinema', 'academes' // if (url && url.indexOf('map') != -1) {
], // let types = ['', 'scenic', 'venue', 'post', 'restaurant', 'relic', 'tenscenic',
type = page[1] ? page[1].split("=") : []; // 'cinema', 'academes'
wx.reLaunch({ // ],
url: url + "?type=" + (type[1] ? types.findIndex(t => t == type[1]) : null) // type = page[1] ? page[1].split("=") : [];
}) // wx.reLaunch({
} else if (url) { // url: url + "?type=" + (type[1] ? types.findIndex(t => t == type[1]) : null)
wx.navigateTo({ // })
url: url, // } else if (url) {
}) // wx.navigateTo({
} else { // url: url,
app.globalData.weburl = item.tdata.url; // })
wx.navigateTo({ // } else {
url: "/pages/pbService/web/index" // 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')) { // break;
// 如果是苏心游的小程序 直接把authCode带过去 // case 4:
userApi.user_post("user/getJumpThirdAppCode", {}).then(res => { // if (item.tdata.appid == 'wxe5ca0f71e918e352' && wx.getStorageSync('jstrip_userid')) {
let weburl = item.tdata.page // // 如果是苏心游的小程序 直接把authCode带过去
if (weburl.indexOf('?') != -1) { // userApi.user_post("user/getJumpThirdAppCode", {}).then(res => {
weburl += '&authCode=' + res.data; // let weburl = item.tdata.page
} else { // if (weburl.indexOf('?') != -1) {
weburl += '?authCode=' + res.data // weburl += '&authCode=' + res.data;
} // } else {
wx.navigateToMiniProgram({ // weburl += '?authCode=' + res.data
appId: item.tdata.appid, // }
path: weburl // wx.navigateToMiniProgram({
}) // appId: item.tdata.appid,
}).catch(err => { // path: weburl
wx.navigateToMiniProgram({ // })
appId: item.tdata.appid, // }).catch(err => {
path: item.tdata.page // wx.navigateToMiniProgram({
}) // appId: item.tdata.appid,
}) // path: item.tdata.page
} else { // })
wx.navigateToMiniProgram({ // })
appId: item.tdata.appid, // } else {
path: item.tdata.page // wx.navigateToMiniProgram({
}) // appId: item.tdata.appid,
} // path: item.tdata.page
break; // })
default: // }
break; // break;
} // default:
return // break;
}, // }
// 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)
}, },

903
pages/index/index.wxml

File diff suppressed because it is too large

458
pages/index/index.wxss

@ -1,12 +1,12 @@
/**index.wxss**/ /* pages/indexs/index.wxss */
/* 元旦修改 */ /* 元旦修改 */
page { page {
/* background: #9DDCF5; */ height: fit-content;
padding-bottom: 36.67rpx; padding-bottom: 36.67rpx;
/* background: url("https://static.ticket.sz-trip.com/uploads/20240606/f92942021f97786a25c1cd51de779c7c.png"); */ background: url("https://static.ticket.sz-trip.com/uploads/20240923/69d4d68f5207c84146739951d07dbda4.jpg");
background: #9DDCF5 url('https://static.ticket.sz-trip.com/uploads/20240606/f92942021f97786a25c1cd51de779c7c.png'); background-size: 100% 300%;
background-repeat: repeat-y; /* background-repeat: round; */
background-size: contain; background-repeat: no-repeat;
} }
.swiper,.swiper image { .swiper,.swiper image {
width: 697rpx; width: 697rpx;
@ -39,18 +39,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 +51,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;
@ -81,20 +73,18 @@ page {
/* background: #FFFFFF; */ /* background: #FFFFFF; */
/* box-shadow: 0px 3rpx 26rpx 0px rgba(6, 0, 1, 0.13); */ /* box-shadow: 0px 3rpx 26rpx 0px rgba(6, 0, 1, 0.13); */
border-radius: 0 0 27rpx 27rpx; border-radius: 0 0 27rpx 27rpx;
width: 710rpx; width: 697rpx;
margin: 0 auto; margin: 0 auto;
position: relative; position: relative;
z-index: 0; z-index: 0;
display: flex; display: flex;
padding: 34rpx 0; padding: 34rpx 0;
padding-bottom: 29.33rpx; padding-bottom: 7rpx;
justify-content: space-between; justify-content: space-between;
flex-wrap: wrap; flex-wrap: wrap;
/* background: #FFFED6; */ background: #FFFED6;
margin-top: -50rpx; margin-top: -20rpx;
padding-top: 84rpx; padding-top: 54rpx;
background: url('https://static.ticket.sz-trip.com/uploads/20240606/80bc185bf83b276b114415d670eaa57f.png');
background-size: 100% 100%;
} }
.top-icon-item { .top-icon-item {
margin-bottom: 20rpx; margin-bottom: 20rpx;
@ -115,7 +105,8 @@ page {
margin-bottom: 10rpx; margin-bottom: 10rpx;
} }
.content { .content {
margin: 0 25rpx; /* margin: 0 25rpx; */
margin-top: 20.67rpx;
} }
.sale-road-boxes { .sale-road-boxes {
display: flex; display: flex;
@ -205,13 +196,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 {
@ -319,12 +308,15 @@ page {
} */ } */
/* 元旦修改 以上两个样式为注释掉的 下面的.pic-list是新改的 */ /* 元旦修改 以上两个样式为注释掉的 下面的.pic-list是新改的 */
.pic-list { .pic-list {
width: 100%; /* width: 100%;
display: flex; display: flex;
margin-right: 26rpx; margin-right: 26rpx;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
flex-wrap: wrap; flex-wrap: wrap; */
display: flex;
justify-content: space-between;
margin: 0 28rpx;
} }
.title-more { .title-more {
font-size: 24rpx; font-size: 24rpx;
@ -334,48 +326,38 @@ page {
z-index: 9; z-index: 9;
width: 173rpx; width: 173rpx;
height: 40rpx; height: 40rpx;
/* line-height: 40rpx; */ line-height: 40rpx;
background: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.5);
border-radius: 20rpx; border-radius: 20rpx;
text-align: center; text-align: center;
display: flex;
align-items: center;
justify-content: center;
} }
.title-more .iconfont { .title-more .iconfont {
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; */
background: url('https://static.ticket.sz-trip.com/uploads/20240606/88feacc675386ac7c8144633ccbd6f76.png');
background-size: 100% 100%;
} }
.pbservice { .pbservice {
/* width: calc(175rpx * 6); */ width: calc(160rpx * 8);
/* 元旦修改 */
width: calc(190rpx * 7);
display: flex; display: flex;
margin-top: 30rpx; 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: 106rpx;
width: 120rpx; margin-bottom: 25rpx;
margin-bottom: 33.33rpx; margin-right: 32.33rpx;
margin-right: 62.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;
@ -390,7 +372,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 {
@ -574,29 +556,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: #fff; background: #fff;
border-radius: 3rpx; border-radius: 4rpx;
margin: 33.33rpx auto; margin: 15rpx auto 10rpx;
} }
.scroll-line-bg { .scroll-line-bg {
/* width: 300rpx; height: 8rpx;
height: 6rpx; background: #FF4848;
border-radius: 3rpx; border-radius: 4rpx;
background: #0B898E; */
/* 元旦修改 以上为注释部分 下面为新内容*/
height: 7rpx;
background: #56A5EA;
border-radius: 3rpx;
} }
/* 元旦修改 新增样式 */ /* 元旦修改 新增样式 */
.scroll-line-bg2 { .scroll-line-bg2 {
margin-left: 37.33rpx; margin-left: 24rpx;
background: #56A5EA; background: #078565;
height: 7rpx; height: 8rpx;
border-radius: 3rpx; border-radius: 4rpx;
} }
.nomore-tip-btn { .nomore-tip-btn {
position: absolute; position: absolute;
@ -708,8 +685,6 @@ page {
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;
align-items: center; align-items: center;
background: url('https://static.ticket.sz-trip.com/uploads/20240606/e1c3f60baf65787d593c6a7c79f881c7.png');
background-size: 100% 100%;
} }
.other-plats image { .other-plats image {
width: 80rpx; width: 80rpx;
@ -867,16 +842,23 @@ page {
} }
/* 元旦修改新增样式 */ /* 元旦修改新增样式 */
.xsth-time { .xsth-time {
/* margin: 0 5rpx; */
/* width: 50rpx; */
/* height: 33rpx; */
width: 43rpx; width: 43rpx;
height: 43rpx; height: 43rpx;
line-height: 43rpx; line-height: 43rpx;
background: #FFEF47; background: #4AB648;
/* background: #F9F1DB; */
/* border-radius: 5rpx; */
border-radius: 13rpx; border-radius: 13rpx;
font-size: 25rpx; font-size: 25rpx;
font-family: DIN; font-family: DIN;
font-weight: 500; font-weight: 500;
color: #000; /* color: #D62828; */
color: white;
text-align: center; text-align: center;
/* line-height: 33rpx; */
} }
.time-box text { .time-box text {
width: 18rpx; width: 18rpx;
@ -923,20 +905,18 @@ page {
/* 元旦修改新增样式 */ /* 元旦修改新增样式 */
.xpth-product { .xpth-product {
/* position: absolute; */ /* position: absolute; */
width: 700rpx; width: 697rpx;
height: 373rpx; height: 373rpx;
/* 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: 25rpx; padding: 25rpx 15rpx;
box-sizing: border-box; box-sizing: border-box;
/* left: 0; /* left: 0;
bottom: 15.33rpx; bottom: 15.33rpx;
/* width: 710rpx; */ /* width: 710rpx; */
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
background-image: url('https://static.ticket.sz-trip.com/uploads/20240606/88feacc675386ac7c8144633ccbd6f76.png');
background-size: 100% 100%;
} }
/* 元旦修改新增样式 */ /* 元旦修改新增样式 */
.xpth-banner { .xpth-banner {
@ -1007,7 +987,7 @@ page {
} }
/* 元旦修改新增样式 */ /* 元旦修改新增样式 */
.xpth-item-title { .xpth-item-title {
width: 210rpx; width: 230rpx;
font-size: 27rpx; font-size: 27rpx;
font-family: PingFang SC; font-family: PingFang SC;
font-weight: 500; font-weight: 500;
@ -1055,21 +1035,20 @@ page {
} }
/* 元旦修改新增样式 */ /* 元旦修改新增样式 */
.new-pic { .new-pic {
width: 158.67rpx !important; width: 160rpx !important;
height: 218.67rpx !important; height: 255rpx !important;
margin-bottom: 26.67rpx; /* margin-bottom: 26.67rpx; */
} }
.ggfw-list {
justify-content: space-around !important;
}
.ggfw { .ggfw {
width: auto; width: 132rpx;
margin:0 22rpx;
} }
.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 {
@ -1177,22 +1156,293 @@ page {
left: 56.67rpx; left: 56.67rpx;
bottom: 64rpx; bottom: 64rpx;
} }
.jqssd {
/* background: url("https://static.ticket.sz-trip.com/uploads/20240606/20c06c5bf8d5e498667ebd954a1d95f8.png"); .right-more {
background-size: 100% 100%; */ width: 120rpx;
width: 365.33rpx; height: 47rpx;
height: 166rpx; background-color: rgba(255,255,255,.3);
border-radius: 23rpx;
font-weight: 500;
font-size: 27rpx;
color: #FFFFFF;
text-align: center;
line-height: 47rpx;
}
.hdrlNavList {
display: flex;
margin: 28rpx 26.67rpx 10rpx;
overflow-x: scroll;
flex-wrap: nowrap;
}
.hdrlNav {
flex-shrink: 0; flex-shrink: 0;
/* width: 160rpx; */
padding: 0 20rpx;
height: 53rpx;
background: rgba(255,250,245,0.3);
border-radius: 13rpx;
border: 1px solid #FFFFFF;
font-size: 32rpx;
color: #FFFFFF;
text-align: center;
line-height: 53rpx;
margin-right: 14rpx;
} }
.jqssd image, .sslk image{ .hdrlNavActive {
width: 100%; background: linear-gradient(180deg, #FFFAF5, #FFE3C2);
height: 100%; font-size: 32rpx;
color: #FF4848;
border: none;
}
.hdrlItem {
flex-shrink: 0;
padding: 26.67rpx 22rpx 26.67rpx 20rpx;
/* width: 593.33rpx; */
display: flex;
background: url("https://static.ticket.sz-trip.com/uploads/20240923/d4c9e6e558796b0ff89726d0857a5d03.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/20240923/0220a6adf111a97a9b12746438e87967.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 { .sslk {
/* background: url("https://static.ticket.sz-trip.com/uploads/20240729/c1554fdd645a0d3a47c8e683186e1a73.png"); margin-left: -48rpx;
background-size: 100% 100%; */ }
width: 365.33rpx;
height: 166rpx; .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;
height: 206.67rpx;
}
.movieItem-img {
width: 213rpx;
height: 213rpx;
border-radius: 18rpx;
margin-right: 18rpx;
flex-shrink: 0; flex-shrink: 0;
margin-left: -20rpx; }
.ysz-box {
margin: 0 8rpx 15.33rpx;
background-image: url("https://static.ticket.sz-trip.com/uploads/20240923/0220a6adf111a97a9b12746438e87967.png");
/* padding: 43.33rpx 59rpx 46.67rpx 58rpx; */
background-size: 100% 100%;
width: 733.33rpx;
height: 320rpx;
padding-top: 33.33rpx;
}
.ysz-more {
width: 267rpx;
height: 53rpx;
background: #FFFFFF;
border-radius: 27rpx;
margin: 38rpx auto 0;
text-align: center;
line-height: 53rpx;
font-weight: 500;
font-size: 25rpx;
color: #320000;
}
.ysz-box2 {
/* padding: 20rpx 35rpx; */
padding-top: 23.33rpx;
}
.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: 125.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: #320000;
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;
}
.public-box {
width: 593.33rpx;
height: 266.67rpx;
background: url("https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/calendarBg.png");
background-size: 100% 100%;
}
.one::-webkit-scrollbar{
display:none;
} }

10
project.private.config.json

@ -7,16 +7,16 @@
"miniprogram": { "miniprogram": {
"list": [ "list": [
{ {
"name": "pages/user/suggest/suggest", "name": "pages/info/postProductInfo/index",
"pathName": "pages/user/suggest/suggest", "pathName": "subPackages/index/index",
"query": "", "query": "",
"launchMode": "default", "launchMode": "default",
"scene": null "scene": null
}, },
{ {
"name": "pages/info/postProductInfo/index", "name": "subPackages/indexs/index",
"pathName": "pages/info/postProductInfo/index", "pathName": "subPackages/indexGQ/index",
"query": "id=428628", "query": "",
"launchMode": "default", "launchMode": "default",
"scene": null "scene": null
}, },

72
subPackages/index/index.js

@ -4,6 +4,7 @@ let app = getApp()
import commonApi from "../../utils/https/common" import commonApi from "../../utils/https/common"
import userApi from "../../utils/https/user" import userApi from "../../utils/https/user"
import util from "../../utils/util" import util from "../../utils/util"
import https from "../../utils/https.js"
Page({ Page({
data: { data: {
banner: [], banner: [],
@ -17,9 +18,7 @@ Page({
fourProduct: [], fourProduct: [],
hotIndex: 0, hotIndex: 0,
indexHot: [], indexHot: [],
area_ids: ["zhangjiagang", "changshu", "taicang", "kunshan", "wujiang", "wuzhong", "xiangcheng", "gusu", area_ids: [ "changshu", "taicang", "kunshan", "wujiang", "gongyeyuanqu", "zhangjiagang", "wuzhong", "xiangcheng", "gusu", "gaoxin"],
"gongyeyuanqu", "gaoxin"
],
month: "", month: "",
months: ['JAN', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'oct', 'nov', 'dec'], months: ['JAN', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'oct', 'nov', 'dec'],
date: "", date: "",
@ -50,15 +49,15 @@ Page({
djs: null, // 元旦新增 新品特惠倒计时 djs: null, // 元旦新增 新品特惠倒计时
djsTime: null, djsTime: null,
sqjNew: [ sqjNew: [
'https://static.ticket.sz-trip.com/uploads/20240617/09325c6e6d94e1b23c1019f95ec05f3f.png',// 张家港
'https://static.ticket.sz-trip.com/uploads/20240617/3acf736c1dc9c7af08d3363833669896.png',// 常熟 'https://static.ticket.sz-trip.com/uploads/20240617/3acf736c1dc9c7af08d3363833669896.png',// 常熟
'https://static.ticket.sz-trip.com/uploads/20240617/4f33191399b2ec1b6b8af77a9d976389.png',// 太仓 'https://static.ticket.sz-trip.com/uploads/20240617/4f33191399b2ec1b6b8af77a9d976389.png',// 太仓
'https://static.ticket.sz-trip.com/uploads/20240617/7c62e1438242fc6db47f96cff8a43e9b.png',// 昆山 'https://static.ticket.sz-trip.com/uploads/20240617/7c62e1438242fc6db47f96cff8a43e9b.png',// 昆山
'https://static.ticket.sz-trip.com/uploads/20240617/4ac7bd7e59edef07d5079bb802dae99b.png',// 吴江 'https://static.ticket.sz-trip.com/uploads/20240617/4ac7bd7e59edef07d5079bb802dae99b.png',// 吴江
'https://static.ticket.sz-trip.com/uploads/20240617/fc20f4d0582ac8611dc9ce7a933deda3.png',// 工业园区
'https://static.ticket.sz-trip.com/uploads/20240617/09325c6e6d94e1b23c1019f95ec05f3f.png',// 张家港
'https://static.ticket.sz-trip.com/uploads/20240617/56ccaab57aaf050bb6feccc3a70983bb.png',// 吴中 'https://static.ticket.sz-trip.com/uploads/20240617/56ccaab57aaf050bb6feccc3a70983bb.png',// 吴中
'https://static.ticket.sz-trip.com/uploads/20240617/fbb3b7bdaa0cafed88015aa3f8d3da96.png',// 相城 'https://static.ticket.sz-trip.com/uploads/20240617/fbb3b7bdaa0cafed88015aa3f8d3da96.png',// 相城
'https://static.ticket.sz-trip.com/uploads/20240617/d83cb13156ad76bb8051dbc2b60126af.png',// 姑苏 'https://static.ticket.sz-trip.com/uploads/20240617/d83cb13156ad76bb8051dbc2b60126af.png',// 姑苏
'https://static.ticket.sz-trip.com/uploads/20240617/fc20f4d0582ac8611dc9ce7a933deda3.png',// 工业园区
'https://static.ticket.sz-trip.com/uploads/20240617/b28afa0861eb54f5f3d483a7c08fdbda.png',// 高新区 'https://static.ticket.sz-trip.com/uploads/20240617/b28afa0861eb54f5f3d483a7c08fdbda.png',// 高新区
], ],
viewHeight: "0px", viewHeight: "0px",
@ -66,6 +65,17 @@ Page({
videoPlay: false, videoPlay: false,
}, },
onLoad: function(options) { onLoad: function(options) {
console.log('options',options)
// 相城小程序跳转获取用户信息
if(options && options.szxcCode) {
commonApi._post("uservice/user/loginByXC", {
code: options.szxcCode
}).then(res => {
if(res.data && res.data.id && res.data.token) {
https.set_logininfo(res);
}
})
}
this.getHeight() this.getHeight()
//全屏广告 //全屏广告
wx.hideTabBar() //这里隐藏了底部导航栏 wx.hideTabBar() //这里隐藏了底部导航栏
@ -77,11 +87,9 @@ Page({
let length = res.data.length let length = res.data.length
if (res.data.length > 1) { if (res.data.length > 1) {
let num = Math.floor(Math.random() * length); let num = Math.floor(Math.random() * length);
console.log('num', num);
this.setData({ this.setData({
startList: res.data[num] startList: res.data[num]
}) })
console.log(this.data.startList.head_img);
} else { } else {
this.setData({ this.setData({
startList: res.data[0] startList: res.data[0]
@ -171,11 +179,9 @@ Page({
let that = this let that = this
wx.getSystemInfo({ wx.getSystemInfo({
success(res) { success(res) {
console.log(res)
that.setData({ that.setData({
viewHeight: res.windowHeight + 'px' viewHeight: res.windowHeight + 'px'
}) })
console.log(that.data.viewHeight)
} }
}) })
}, },
@ -185,7 +191,6 @@ Page({
tag_id: 275, tag_id: 275,
typeId: 3, typeId: 3,
}).then(res => { }).then(res => {
console.log('data', res.data);
this.setData({ this.setData({
xpth: res.data, xpth: res.data,
djsTime: res.data.time djsTime: res.data.time
@ -363,7 +368,6 @@ Page({
}, },
getWeather: function() { getWeather: function() {
commonApi._post('pbservice/Ztfw/getWeather').then(res => { commonApi._post('pbservice/Ztfw/getWeather').then(res => {
console.log(res)
this.setData({ this.setData({
weather: res.data weather: res.data
}) })
@ -461,7 +465,6 @@ Page({
util.gotoDetail(item) util.gotoDetail(item)
}, },
gotoPath: function(e) { gotoPath: function(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({
@ -487,13 +490,19 @@ Page({
path: 'pages/index/index' path: 'pages/index/index'
}) })
return; return;
} else if (e.currentTarget.dataset.event == 'wuzhong_click') { // } else if (e.currentTarget.dataset.event == 'wuzhong_click') {
// wx.navigateToMiniProgram({
// appId: 'wxdd39069b9a91dbfe',
// path: 'pages/index/index'
// })
// return;
} else if (e.currentTarget.dataset.title == 'e读书') {
wx.navigateToMiniProgram({ wx.navigateToMiniProgram({
appId: 'wxdd39069b9a91dbfe', appId: 'wx26e6f4c0baba005b',
path: 'pages/index/index' path: 'pages/index/index'
}) })
return; return;
} else if (e.currentTarget.dataset.event == 'kunshan_click') { }else if (e.currentTarget.dataset.event == 'kunshan_click') {
wx.navigateToMiniProgram({ wx.navigateToMiniProgram({
appId: 'wx8888a3fd0862b4c8', appId: 'wx8888a3fd0862b4c8',
path: 'pages/index/index' path: 'pages/index/index'
@ -539,7 +548,6 @@ Page({
}, },
// 元旦 新品特惠部分 // 元旦 新品特惠部分
goBanner: function(e) { goBanner: function(e) {
console.log('新品特惠', e.currentTarget.dataset.url);
let url = e.currentTarget.dataset.url; let url = e.currentTarget.dataset.url;
app.globalData.weburl = url; app.globalData.weburl = url;
wx.navigateTo({ wx.navigateTo({
@ -547,7 +555,6 @@ Page({
}) })
}, },
gotoUrl: function(e) { gotoUrl: function(e) {
console.log(e)
if (e.currentTarget.dataset.event) { if (e.currentTarget.dataset.event) {
this.pagePoint({ this.pagePoint({
event: e.currentTarget.dataset.event event: e.currentTarget.dataset.event
@ -560,6 +567,30 @@ Page({
url: '/pages/pbService/web/index?weburl=' + encodeURIComponent(url), url: '/pages/pbService/web/index?weburl=' + encodeURIComponent(url),
}) })
}, },
// 实时路况跳转外链
gotoUrls() {
// 判断是否登录
var token = wx.getStorageSync("jstrip_token"), userId = wx.getStorageSync("jstrip_userid");
if(!token || !userId) {
let url = 'https://wlsjzx.zdhxwl.cn/kt_h5/index.html'
app.globalData.weburl = url;
wx.navigateTo({
url: '/pages/pbService/web/index?weburl=' + encodeURIComponent(url),
})
}else {
commonApi.user_post("uservice/user/userEncry").then(res => {
if(res.code == 1) {
let url = 'https://wlsjzx.zdhxwl.cn/kt_h5/index.html?userEncry=' + res.data
app.globalData.weburl = url;
wx.navigateTo({
url: '/pages/pbService/web/index?weburl=' + encodeURIComponent(url),
})
}
})
}
},
gotoMini: function(e) { gotoMini: function(e) {
let appid = e.currentTarget.dataset.appid, let appid = e.currentTarget.dataset.appid,
path = e.currentTarget.dataset.path path = e.currentTarget.dataset.path
@ -576,7 +607,6 @@ Page({
}, },
gotoSku: function() { gotoSku: function() {
commonApi.user_post("pbservice/Ztfw/sukangCode").then(res => { commonApi.user_post("pbservice/Ztfw/sukangCode").then(res => {
console.log(res)
app.globalData.weburl = res.data.url; app.globalData.weburl = res.data.url;
wx.navigateTo({ wx.navigateTo({
url: '/pages/pbService/web/index' url: '/pages/pbService/web/index'
@ -675,7 +705,6 @@ Page({
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(111, item.tdata)
app.globalData.weburl = item.tdata.url; app.globalData.weburl = item.tdata.url;
wx.navigateTo({ wx.navigateTo({
url: "/pages/pbService/web/index?weburl=" + encodeURIComponent(item.tdata url: "/pages/pbService/web/index?weburl=" + encodeURIComponent(item.tdata
@ -684,7 +713,6 @@ Page({
} 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])
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',
@ -701,7 +729,6 @@ Page({
}) })
} else { } else {
app.globalData.weburl = item.tdata.url; app.globalData.weburl = item.tdata.url;
console.log(2222, item.tdata.url, app.globalData.weburl)
wx.navigateTo({ wx.navigateTo({
url: "/pages/pbService/web/index?weburl=" + encodeURIComponent(item url: "/pages/pbService/web/index?weburl=" + encodeURIComponent(item
.tdata.url) .tdata.url)
@ -744,7 +771,6 @@ Page({
}, },
//博物馆跳转 直接跳君到苏州H5 //博物馆跳转 直接跳君到苏州H5
goH5: function(e) { goH5: function(e) {
console.log(e.currentTarget.dataset.path);
let weburl = 'https://m.cloud.sz-trip.com/' + 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; // app.globalData.weburl ='https://m.cloud.sz-trip.com/' + e.currentTarget.dataset.path;
wx.navigateTo({ wx.navigateTo({
@ -848,7 +874,6 @@ Page({
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)
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"
@ -856,7 +881,6 @@ Page({
} 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])
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',

562
subPackages/index/index.wxml

@ -4,29 +4,27 @@
<!-- <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/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="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="{{!isTest}}">
<view wx:if="{{weather}}" class="top-box" style="height: 63rpx"> <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> <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>
<view class="weather">{{weather.weather}}</view> <view class="weather">{{weather.weather}}</view>
<image bindtap="gotoPath" style="margin-left:0" data-path="/pages/user/service/index" <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>
data-event="customer_service_click" src="https://static.ticket.sz-trip.com/uploads/20240428/7c77f3fc227acb3f15963c54fbd3d954.png" <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>
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" <!-- <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" data-event="customer_service_click" src="https://static.ticket.sz-trip.com/xcxImages/spring22/service.png"
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/xcxImages/spring22/msg.png" mode="aspectFill"></image> --> 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">
<view class="iconfont icon-sousuo"></view> <view class="iconfont icon-sousuo"></view>
<view class="textOver">搜索想要的旅游产品或服务</view> <view class="textOver">搜索想要的旅游产品或服务</view>
</navigator> </navigator>
</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}}">
@ -37,26 +35,24 @@
<view class="com-flex dot-list"> <view class="com-flex dot-list">
<view class="dot{{index===activeBannerIndex?' active':''}}" wx:for="{{banner}}" wx:key="this"></view> <view class="dot{{index===activeBannerIndex?' active':''}}" wx:for="{{banner}}" wx:key="this"></view>
</view> </view>
</view> </view>
<!-- <swiper class="swiper" indicator-dots="{{true}}" <!-- <swiper class="swiper" indicator-dots="{{true}}"
autoplay="{{true}}" interval="{{5000}}" duration="{{300}}"> autoplay="{{true}}" interval="{{5000}}" duration="{{300}}">
<block wx:for="{{banner}}" wx:key="*this"> <block wx:for="{{banner}}" wx:key="*this">
<swiper-item bindtap="bannerClick2" data-item="{{item}}"> <swiper-item bindtap="bannerClick2" data-item="{{item}}">
<image src="{{item.img}}" mode="aspectFill"></image> <image src="{{item.img}}" mode="aspectFill"></image>
</swiper-item> </swiper-item>
</block> </block>
</swiper> --> </swiper> -->
<view class="top-icons" wx:if="{{!isTest}}"> <view class="top-icons" wx:if="{{!isTest}}">
<view bindtap="gotoPath" data-event="activity_click" data-title="活动日历" data-path="/pages/list/activitynew/index" <view bindtap="gotoPath" data-event="activity_click" data-title="活动日历" data-path="/pages/list/activitynew/index" class="top-icon-item">
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/uploads/20240606/ebe723260a0d46550c77307472180586.png" mode="widthFix"></image>
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/icon1New.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 class="top-icon-text">活动日历</view>
</view> </view>
<view bindtap="gotoPath" data-event="museum" data-title="场馆预约" <view bindtap="gotoPath" data-event="museum" data-title="场馆预约" data-path="/pages/list/{{isTest?'scene':'museum'}}/index" class="top-icon-item">
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/uploads/20240606/106ed983a3641f27a13c41cc2b977af2.png" mode="widthFix"></image>
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/icon2New.png" mode="widthFix"></image> --> <!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/icon2New.png" mode="widthFix"></image> -->
@ -65,74 +61,70 @@
<!-- 非遗跳专题 --> <!-- 非遗跳专题 -->
<!-- <view bindtap="goFeiyi" data-event="legacy" data-title="非遗专卖" <!-- <view bindtap="goFeiyi" data-event="legacy" data-title="非遗专卖"
data-path="/pages/list/{{isTest?'scene':'feiyi'}}/index" class="top-icon-item"> --> data-path="/pages/list/{{isTest?'scene':'feiyi'}}/index" class="top-icon-item"> -->
<view bindtap="gotoPath" data-event="legacy" data-title="非遗专卖" <view bindtap="gotoPath" data-event="legacy" data-title="非遗专卖" data-path="/subPackages/feiyiNew/index" class="top-icon-item">
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/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 class="top-icon-text">非遗专卖</view>
</view> </view>
<view bindtap="gotoPath" data-event="show" data-title="剧场演出" <!-- <view bindtap="gotoPath" data-event="legacy" data-title="非遗专卖"
data-path="/pages/list/{{isTest?'activity':'theatre'}}/index" class="top-icon-item"> 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>
<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/uploads/20240606/3db989129660f5de29b0f617375f0672.png" mode="widthFix"></image>
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/icon4New.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 class="top-icon-text">剧场演出</view>
</view> </view>
<view bindtap="gotoPath" data-event="specialty" data-title="文创特产" <!-- 2024年7月新版文创特产 -->
data-path="/pages/list/{{isTest?'road':'techan'}}/index" class="top-icon-item"> <view bindtap="gotoPath" data-event="specialty" data-title="文创特产" data-path="/subPackages/techanNew/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/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 class="top-icon-text">文创特产</view>
</view> </view>
<view bindtap="gotoPath" data-event="ticket_click" data-title="景点门票" data-path="/pages/list/scene/index" <!-- <view bindtap="gotoPath" data-event="specialty" data-title="文创特产"
class="top-icon-item"> 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>
<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/uploads/20240606/e11e0cb3033b786fc61ee17f8bfbfbfb.png" mode="widthFix"></image>
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/icon6New.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 class="top-icon-text">景点门票</view>
</view> </view>
<view bindtap="gotoPath" data-event="hotel_click" data-title="酒店住宿" data-path="/pages/list/hotel/index" <view bindtap="gotoPath" data-event="hotel_click" data-title="酒店住宿" data-path="/pages/list/hotel/index" class="top-icon-item">
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/uploads/20240606/26d38d0b8b6014915b5b013e8672ae82.png" mode="widthFix"></image>
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/icon7New.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 class="top-icon-text">酒店住宿</view>
</view> </view>
<view bindtap="gotoPath" data-event="night_sz" data-title="夜游苏州" data-path="/pages/list/night/index" <view bindtap="gotoPath" data-event="night_sz" data-title="夜游苏州" data-path="/pages/list/night/index" class="top-icon-item">
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/uploads/20240606/1d8d45eab5735103ed2d1342f84b615a.png" mode="widthFix"></image>
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/icon8New.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 class="top-icon-text">夜游苏州</view>
</view> </view>
<view bindtap="gotoUrl" data-event="card" data-title="一卡游苏州" data-url="https://m.cloud.sz-trip.com/OneDayTravelNew" <view bindtap="gotoUrl" data-event="card" data-title="一卡游苏州" data-url="https://m.cloud.sz-trip.com/OneDayTravelNew" class="top-icon-item">
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/uploads/20240606/d63fd9f74bc5f3016800f0572fdbeed9.png" mode="widthFix"></image>
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/icon9New.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 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 bindtap="gotoUrl" data-event="movie" data-title="研学游" data-url="https://m.cloud.sz-trip.com/LearningTravel" class="top-icon-item">
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/uploads/20240606/3537918b5a5b26319c22747e80200ef7.png" mode="widthFix"></image>
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/icon10New.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 class="top-icon-text">研学游</view>
</view> </view>
</view> </view>
<view class="content"> <view class="content">
<view class="sale-road-boxes" wx:if="{{false}}"> <view class="sale-road-boxes" wx:if="{{false}}">
<view class="sale-box" bindtap="gotoPath" data-event="discount_click" data-title="特惠新品" <view class="sale-box" bindtap="gotoPath" data-event="discount_click" data-title="特惠新品" data-path="/pages/list/{{isTest==false?'sale':'scene'}}/index">
data-path="/pages/list/{{isTest==false?'sale':'scene'}}/index">
<view class="sale-title"><text>特惠新品</text>超值商品限时抢购</view> <view class="sale-title"><text>特惠新品</text>超值商品限时抢购</view>
<view class="sale-product"> <view class="sale-product">
<view class="sale-product-bg"></view> <view class="sale-product-bg"></view>
<image mode="aspectFill" class="sale-img" <image mode="aspectFill" class="sale-img" src="https://static.ticket.sz-trip.com/uploads/20211022/0c90b027b5572b559b34c219eaf257ba.jpg"></image>
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 class="sale-tip-img" src="https://static.ticket.sz-trip.com/xcxImages/spring22/sale.png"
mode="aspectFill">
</image> </image>
<view class="sale-info"> <view class="sale-info">
<view class="sale-product-title textOver2"> <view class="sale-product-title textOver2">
@ -144,16 +136,12 @@
</view> </view>
</view> </view>
</view> </view>
<view class="sale-box" bindtap="gotoPath" data-event="route_click" data-title="精品线路" <view class="sale-box" bindtap="gotoPath" data-event="route_click" data-title="精品线路" data-path="/pages/list/road/index">
data-path="/pages/list/road/index">
<view class="sale-title"><text>精品线路</text>带你轻松玩转苏州</view> <view class="sale-title"><text>精品线路</text>带你轻松玩转苏州</view>
<view class="sale-product"> <view class="sale-product">
<view class="sale-product-bg road-product-bg"></view> <view class="sale-product-bg road-product-bg"></view>
<common-image class="sale-img" width="173rpx" height="165rpx" <common-image class="sale-img" width="173rpx" height="165rpx" src="https://static.ticket.sz-trip.com/uploads/20211022/f8d9b54fa477b9ad8bf14e119664455e.jpg" mode="aspectFill"></common-image>
src="https://static.ticket.sz-trip.com/uploads/20211022/f8d9b54fa477b9ad8bf14e119664455e.jpg" <image class="sale-tip-img" src="https://static.ticket.sz-trip.com/xcxImages/spring22/road.png" mode="aspectFill">
mode="aspectFill"></common-image>
<image class="sale-tip-img" src="https://static.ticket.sz-trip.com/xcxImages/spring22/road.png"
mode="aspectFill">
</image> </image>
<view class="sale-info"> <view class="sale-info">
<view class="sale-product-title textOver2"> <view class="sale-product-title textOver2">
@ -171,8 +159,7 @@
<image bindtap="bannerClick" data-item="{{xiaobanner[0]}}" style="border-radius:13rpx;width: 100%" src="{{xiaobanner[0].head_img}}" mode="widthFix"></image> <image bindtap="bannerClick" data-item="{{xiaobanner[0]}}" style="border-radius:13rpx;width: 100%" src="{{xiaobanner[0].head_img}}" mode="widthFix"></image>
</view> </view>
<view class="small-swiper-box" wx:else> <view class="small-swiper-box" wx:else>
<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 --> <!-- 原 圆角77rpx,现改为13rpx -->
@ -186,10 +173,13 @@
</view> </view>
<!-- 2024年 夏季改UI新增景区舒适度和实时路况 --> <!-- 2024年 夏季改UI新增景区舒适度和实时路况 -->
<view style="display: flex;"> <view style="display: flex;">
<view bindtap="gotoUrl" data-event="comfort_click" data-title="景区舒适度" <view bindtap="gotoUrl" data-event="comfort_click" data-title="景区舒适度" data-url="https://m.cloud.sz-trip.com/aiPlay" class="jqssd">
data-url="https://wlsjzx.zdhxwl.cn/kt_h5/index.html#/morecopy" class="jqssd" ></view> <!-- <view bindtap="gotoUrl" data-event="comfort_click" data-title="景区舒适度" data-url="https://wlsjzx.zdhxwl.cn/kt_h5/index.html#/morecopy" class="jqssd"> -->
<view bindtap="gotoUrl" data-event="xlqc" <image src="{{indexSeason.ai}}" mode=""/>
data-url="https://jiaotonghao2.amap.com/?channel=amap&unitId=257&src=app_share#/" class="sslk"></view> </view>
<view bindtap="gotoUrls" data-event="xlqc" class="sslk">
<image src="{{indexSeason.avoid}}" mode=""/>
</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 xpth" style="margin-bottom: 18.67rpx;margin-top: 0;padding-top: 0;" wx:if="{{!isTest}}">
@ -216,7 +206,7 @@
<!-- 左边的2个产品 --> <!-- 左边的2个产品 -->
<view class="xpth-left"> <view class="xpth-left">
<view class="xpth-item" wx:for="{{xpth.list}}" bindtap="productGotoDetail" data-item="{{item}}" wx:key="id"> <view class="xpth-item" wx:for="{{xpth.list}}" bindtap="productGotoDetail" data-item="{{item}}" wx:key="id">
<image src="{{item.headimg}}" mode=""/> <image src="{{item.headimg}}" mode="" />
<view class="xpth-item-content"> <view class="xpth-item-content">
<view class="xpth-item-title textOver2">{{item.title}}</view> <view class="xpth-item-title textOver2">{{item.title}}</view>
<!-- <view class="xpth-tag">唇齿留香</view> --> <!-- <view class="xpth-tag">唇齿留香</view> -->
@ -228,12 +218,12 @@
</view> </view>
</view> </view>
<!-- 右边的banner --> <!-- 右边的banner -->
<image bindtap="goBanner" class="xpth-banner" data-url="{{xpth.adv.tdata}}" src="{{xpth.adv.head_img}}" mode="aspectFill"/> <image bindtap="goBanner" class="xpth-banner" data-url="{{xpth.adv.tdata}}" src="{{xpth.adv.head_img}}" mode="aspectFill" />
</view> </view>
</view> </view>
<view class="sale-road-boxes" style="margin-top:0"> <view class="sale-road-boxes" style="margin-top:0">
<image mode="heightFix" style="height:86rpx" src="{{indexSeason.wlcx}}"></image> <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=""/> <image class="rmtj-right" src="https://static.ticket.sz-trip.com/uploads/20240606/479dad06e6cf67bc45f7cf605d982184.png" mode="" />
</view> </view>
<!-- 五一修改 .slide-out-box 增加背景色--> <!-- 五一修改 .slide-out-box 增加背景色-->
<view class="slide-out-box"> <view class="slide-out-box">
@ -241,97 +231,73 @@
<scroll-view scroll-x style="height:343.33rpx" bindscroll="listenScroll" class="slide-box"> <scroll-view scroll-x style="height:343.33rpx" bindscroll="listenScroll" class="slide-box">
<view class="pbservice" style="margin-bottom:30rpx"> <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"> <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> <image src="https://static.ticket.sz-trip.com/uploads/20240606/97844beceebd503256bebae5afd6820b.png" mode="widthFix"></image>
<view class="text">非遗鉴赏</view> <view class="text">数字非遗</view>
</view> </view>
<view bindtap="goH5" data-title="数字博物馆" <view bindtap="goH5" data-title="数字博物馆" data-path="BwsInfo" class="pbservice-item">
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> <image src="https://static.ticket.sz-trip.com/uploads/20240606/27acb48002369a8203762acc783c7492.png" mode="widthFix"></image>
<view class="text">数字博物馆</view> <view class="text">数字博物馆</view>
</view> </view>
<view bindtap="gotoUrl" data-event="book_click" data-title="公共文化资源库" data-url="https://m.cloud.sz-trip.com/PublicCulture2022" <view bindtap="gotoUrl" data-title="数字名人馆" data-url="https://www.szsmrg.com/home" class="pbservice-item">
class="pbservice-item"> <image src="https://static.ticket.sz-trip.com/uploads/20240717/df0683bb40ec2615a932ef2379779374.png" mode="widthFix"></image>
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/ggwh.png" mode="widthFix"></image> <view class="text">数字名人馆</view>
<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>
<view bindtap="gotoUrl" data-event="cloud_click" data-title="云上观展" <view bindtap="gotoUrl" data-event="cloud_click" data-title="云上观展" data-url="https://m.cloud.sz-trip.com/CloudPerform2022" class="pbservice-item">
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> <image src="https://static.ticket.sz-trip.com/uploads/20240606/5711260f02772eebaba9dba9dfda2b4f.png" mode="widthFix"></image>
<view>云上观展</view> <view>云上观展</view>
</view> </view>
<view bindtap="gotoPath" data-event="review_click" data-title="精彩回顾" data-path="/pages/pbService/activity/index" <view bindtap="goH5" data-event="book_click" data-title="文博会" data-path="CloudExpo" class="pbservice-item">
class="pbservice-item"> <image src="https://static.ticket.sz-trip.com/uploads/20240606/4a3804f24e034e15f19c27a85d0a8ac4.png" mode="widthFix"></image>
<!-- <image src="https://static.ticket.sz-trip.com/xcxImages/index/newpb8.png" mode="widthFix"></image> <view class="text">云上文博会</view>
<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/uploads/20240606/e5b8c83dd99e18b9af6b15aede1c458b.png" mode="widthFix"></image> <image src="https://static.ticket.sz-trip.com/uploads/20240606/e5b8c83dd99e18b9af6b15aede1c458b.png" mode="widthFix"></image>
<view class="text">精彩回顾</view> <view class="text">精彩回顾</view>
</view> </view>
<view bindtap="gotoPath" data-event="institution_click" data-title="文旅单位" <view bindtap="goH5" data-title="文化场馆查询" data-path="Museum" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/uploads/20240606/29b2954718fe7b7232fe352eb503fbf0.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/uploads/20240606/5b2f56e57caa058ef0293a682bc620c5.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/uploads/20240606/92ddf619960de959f760d5690ed5007a.png" mode="widthFix"></image>
<view class="text">书仓</view>
</view>
<view bindtap="gotoPath" data-event="e_book" data-title="e读书" data-path="/pages/pbService/library/index" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/uploads/20240717/1a5fc26d419e589c5649273f8105b723.png" mode="widthFix"></image>
<view class="text">e读书</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/uploads/20240606/0f422cb2026f42c772ab12d384f5b7ef.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"> 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> <image src="https://static.ticket.sz-trip.com/uploads/20240606/5b0b1be9942bfae84ddbd218421e098f.png" mode="widthFix"></image>
<view class="text">文旅单位</view> <view class="text">文旅单位</view>
</view> </view> -->
<view bindtap="gotoPath" data-event="book_click" data-title="书仓" data-path="/pages/pbService/library/index" <!-- <view bindtap="gotoPath" data-event="book_click" data-title="书仓" data-path="/pages/pbService/library/index"
class="pbservice-item"> 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> <image src="https://static.ticket.sz-trip.com/uploads/20240606/92ddf619960de959f760d5690ed5007a.png" mode="widthFix"></image>
<view class="text">书仓</view> <view class="text">书仓</view>
</view> -->
<view bindtap="gotoUrl" data-event="appreciate_click" data-title="云游苏州" data-url="https://speed.web.yunyouyizhan.com/downloadApp/index.html#/" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/uploads/20240717/fab990ef40d7424c9f4616a229b03777.png" mode="widthFix"></image>
<view class="text">云游苏州</view>
</view> </view>
<view bindtap="gotoPath" style="margin-left: 20rpx;" data-event="book_click" data-title="苏影通" data-path="/pages/list/movieticket/index" <view bindtap="gotoPath" data-event="appreciate_click" data-title="美图鉴赏" data-path="/pages/pbService/appreciate/index" class="pbservice-item">
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> <image src="https://static.ticket.sz-trip.com/uploads/20240606/61aac5403bb54bb4cea6a9587da6863b.png" mode="widthFix"></image>
<view class="text">视觉中心</view> <view class="text">美图鉴赏</view>
</view> </view>
<!-- <view bindtap="gotoPath" data-event="culture_search_click" data-title="文物查询" <!-- <view bindtap="gotoPath" data-event="culture_search_click" data-title="文物查询"
data-path="/pages/pbService/wwcx/index" class="pbservice-item"> data-path="/pages/pbService/wwcx/index" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/xcxImages/index/newpb3.png" mode="widthFix"></image> <image src="https://static.ticket.sz-trip.com/xcxImages/index/newpb3.png" mode="widthFix"></image>
<view>文物查询</view> <view>文物查询</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="博物馆查询" <!-- <view bindtap="gotoPath" data-event="museum_search_click" data-title="博物馆查询"
data-path="/pages/pbService/museum/index" class="pbservice-item"> data-path="/pages/pbService/museum/index" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/xcxImages/index/newpb6.png" mode="widthFix"></image> <image src="https://static.ticket.sz-trip.com/xcxImages/index/newpb6.png" mode="widthFix"></image>
@ -342,14 +308,11 @@
<image src="https://static.ticket.sz-trip.com/uploads/20220810/ceb07b75aa3df20d7f1de22e2588332a.png" mode="widthFix"></image> <image src="https://static.ticket.sz-trip.com/uploads/20220810/ceb07b75aa3df20d7f1de22e2588332a.png" mode="widthFix"></image>
<view>云上文博会</view> <view>云上文博会</view>
</view> --> </view> -->
<view bindtap="gotoUrl" data-event="investment_click" data-title="投资导引图" data-url="https://hot-map.sz-trip.com/" <!-- <view bindtap="gotoUrl" data-event="investment_click" data-title="投资导引图" data-url="https://hot-map.sz-trip.com/"
class="pbservice-item"> 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> <image src="https://static.ticket.sz-trip.com/uploads/20240606/c66d07e172fe3dd66afc0c69340a7b7d.png" mode="widthFix"></image>
<view class="text">投资导引图</view> <view class="text">投资导引图</view>
</view> </view> -->
<!-- <view bindtap="gotoUrl" data-title="数字文物" <!-- <view bindtap="gotoUrl" data-title="数字文物"
data-url="https://foxnut-gffcu6t2.pai.tcloudbase.com/suzhouguobao/index.html#/" class="pbservice-item"> 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> <image src="https://static.ticket.sz-trip.com/xcxImages/index/newpb12.png" mode="widthFix"></image>
@ -360,14 +323,12 @@
<image src="https://static.ticket.sz-trip.com/xcxImages/index/newpb9.png" mode="widthFix"></image> <image src="https://static.ticket.sz-trip.com/xcxImages/index/newpb9.png" mode="widthFix"></image>
<view>团体预约</view> <view>团体预约</view>
</view> --> </view> -->
<!-- <view bindtap="gotoUrl" data-title="廉洁地图" <!-- <view bindtap="gotoUrl" data-title="廉洁地图"
data-url="https://ljwhdt.lianshi.gov.cn:8443/Web/WebChatJCW/Mobile/EduBase/MobileMap.aspx" data-url="https://ljwhdt.lianshi.gov.cn:8443/Web/WebChatJCW/Mobile/EduBase/MobileMap.aspx"
class="pbservice-item"> class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/xcxImages/index/newpb10.png" mode="widthFix"></image> <image src="https://static.ticket.sz-trip.com/xcxImages/index/newpb10.png" mode="widthFix"></image>
<view>廉洁地图</view> <view>廉洁地图</view>
</view> --> </view> -->
<!-- <view bindtap="gotoPath" data-event="book_click" data-title="文化配送" data-path="/pages/culture/index" <!-- <view bindtap="gotoPath" data-event="book_click" data-title="文化配送" data-path="/pages/culture/index"
class="pbservice-item"> class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/uploads/20220818/e02af6e8bf9170060ed7295d367d72c1.png" mode="widthFix"></image> <image src="https://static.ticket.sz-trip.com/uploads/20220818/e02af6e8bf9170060ed7295d367d72c1.png" mode="widthFix"></image>
@ -384,20 +345,14 @@
</view> </view>
<view class="sale-road-boxes" style="margin-top:0"> <view class="sale-road-boxes" style="margin-top:0">
<image mode="heightFix" style="height:86rpx" src="{{indexSeason.lyzs}}"></image> <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=""/> <image class="rmtj-right" src="https://static.ticket.sz-trip.com/uploads/20240606/7f1962fbfe1c56155ace577eeb8e6580.png" mode="" />
</view> </view>
<view class="pic-list" style="margin-top:20rpx" wx:if="{{!isTest}}"> <view class="pic-list" style="margin-top:20rpx" wx:if="{{!isTest}}">
<image class="new-pic" bindtap="gotoUrl" data-event="dou_click" data-title="抖in苏州" <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>
data-url="https://m.cloud.sz-trip.com/ShakeInDetailList?id=350&class_id=27&index=1" <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>
src="https://static.ticket.sz-trip.com/uploads/20240428/c40ddcb3ed2c971eec02187374540d06.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 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>
<image class="new-pic" bindtap="gotoPath" data-event="guide_click" data-title="游记攻略" data-path="/pages/list/strategy/index" <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>
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苏州" <!-- <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" 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> --> src="https://static.ticket.sz-trip.com/jundaosuzhou/images/yuandan2024/disz.png" mode="aspectFill"></image> -->
@ -426,41 +381,43 @@
</view> </view>
<view class="sale-road-boxes" style="margin-top:0;"> <view class="sale-road-boxes" style="margin-top:0;">
<image mode="heightFix" style="height:86rpx" src="{{indexSeason.ggfw}}"></image> <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 <navigator url="/pages/pbService/index" catchtap="pagePoint" data-event="public_view" class="title-more">
class="iconfont icon-you"></text> </navigator> <view>
查看全部
</view>
<image style="width: 20rpx;height: 20rpx;margin-left: 8rpx;" src="https://static.ticket.sz-trip.com/uploads/20240617/ae3b9e3833861d242489c844e0abe99e.png" mode="" />
<!-- <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=""/> --> <!-- <image class="rmtj-right" style="z-index: 2;" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/ggfw-right.png" mode=""/> -->
</view> </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%;"> <view style="overflow-x:auto;background: #FFFED6;border-radius: 20rpx;background:url('https://static.ticket.sz-trip.com/uploads/20240617/e1c3f60baf65787d593c6a7c79f881c7.png');background-size: 100% 100%;height: 199.33rpx;">
<!-- 元旦修改 ggfw为新增类名 --> <!-- 元旦修改 ggfw为新增类名 -->
<view class="pbservice ggfw-list" style="width:100%;margin-top: 30rpx;"> <view class="pbservice ggfw-list" style="width:100%;margin-top: 43rpx;">
<!-- <view bindtap="gotoPath" data-event="comfort_click" data-title="景区舒适度" <!-- <view bindtap="gotoPath" data-event="comfort_click" data-title="景区舒适度"
data-path="/pages/pbService/sceneComfort/index" class="pbservice-item"> data-path="/pages/pbService/sceneComfort/index" class="pbservice-item">
<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> -->
<!-- 元旦修改 ggfw为新增类名 --> <!-- 元旦修改 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;"> <!-- <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> <image src="https://static.ticket.sz-trip.com/uploads/20240606/5bc25bb21009b5f652b07d7c5d44b247.png" mode="widthFix"></image>
<view>安全服务</view> <view>安全服务</view>
</view> -->
<view bindtap="gotoUrl" data-event="sbk" data-title="电子社保卡" data-url="https://m.cloud.sz-trip.com/sbkLogin" class="pbservice-item ggfw" style="margin-right: 32.33rpx;">
<image src="https://static.ticket.sz-trip.com/uploads/20240624/28e0cadbb7363dec9b51b1174bd2c5a5.png" mode="widthFix"></image>
<view>电子社保卡</view>
</view> </view>
<view bindtap="gotoUrl" data-event="comfort_click" data-title="景区舒适度" <view bindtap="gotoUrl" data-event="comfort_click" data-title="景区舒适度" data-url="https://wlsjzx.zdhxwl.cn/kt_h5/index.html#/morecopy" class="pbservice-item ggfw" style="margin-right: 32.33rpx;">
data-url="https://wlsjzx.zdhxwl.cn/kt_h5/index.html#/morecopy" 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> <image src="https://static.ticket.sz-trip.com/uploads/20240606/55bbad2e7dcec9bd9753fc848488b8f2.png" mode="widthFix"></image>
<view>景区舒适度</view> <view>景区舒适度</view>
</view> </view>
<view bindtap="gotoUrl" data-event="xlqc" <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;">
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/20230808/484100644e7f02f4eb722a8c2e665927.png" mode="widthFix"></image> -->
<!-- 元旦修改 --> <!-- 元旦修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240606/311deeac7cd4dbf821b9b394e69431ed.png" mode="widthFix"></image> <image src="https://static.ticket.sz-trip.com/uploads/20240606/311deeac7cd4dbf821b9b394e69431ed.png" mode="widthFix"></image>
<view>行李寄存</view> <view>行李寄存</view>
</view> </view>
<view bindtap="gotoUrl" data-event="xlqc" <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;">
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/20230901/21668c913dd4875d05eba398e905b9f0.png" mode="widthFix"></image> -->
<!-- 元旦修改 --> <!-- 元旦修改 -->
<image src="https://static.ticket.sz-trip.com/uploads/20240606/a6ab539577b9003e35061a888ec4aa27.png" mode="widthFix"></image> <image src="https://static.ticket.sz-trip.com/uploads/20240606/a6ab539577b9003e35061a888ec4aa27.png" mode="widthFix"></image>
@ -485,7 +442,7 @@
</view> </view>
<view class="sale-road-boxes"> <view class="sale-road-boxes">
<image mode="heightFix" style="height:86rpx" src="{{indexSeason.sqj}}"></image> <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=""/> <image class="rmtj-right" src="https://static.ticket.sz-trip.com/uploads/20240428/6955225b950d5bbe5168f5d9994a6098.png" mode="" />
</view> </view>
<!-- <view class="six-box"> <!-- <view class="six-box">
<image bindtap="gotoPath" data-event="{{area_ids[index]}}_click" data-title="苏城六纪" <image bindtap="gotoPath" data-event="{{area_ids[index]}}_click" data-title="苏城六纪"
@ -495,16 +452,14 @@
</view> --> </view> -->
<!-- 元旦修改 十全街新 以上注释部分为之前的版本--> <!-- 元旦修改 十全街新 以上注释部分为之前的版本-->
<view class="six-box-new" wx:if="{{!isTest}}"> <view class="six-box-new" wx:if="{{!isTest}}">
<image bindtap="gotoPath" data-event="{{area_ids[index]}}_click" data-title="苏城六纪" <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">
data-path="/pages/list/six/index?area={{area_ids[index]}}" wx:for="{{sqjNew}}"
src="{{sqjNew[index]}}" mode="widthFix" wx:key="index">
</image> </image>
</view> </view>
<view class="sale-road-boxes" style="margin-top:0" wx:if="{{otherPlat}}"> <view class="sale-road-boxes" style="margin-top:0" wx:if="{{otherPlat}}">
<image mode="heightFix" style="height:86rpx" src="{{indexSeason.csjwlpt}}"></image> <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=""/> <image class="rmtj-right" src="https://static.ticket.sz-trip.com/uploads/20240428/f6648d96e0f6d99cc8d82633b5ad1536.png" mode="" />
</view> </view>
<view class="other-plats" wx:if="{{otherPlat}}"> <view class="other-plats" wx:if="{{otherPlat&&!isTest}}">
<view class="other-plat" wx:for="{{otherPlat}}" bindtap="gotoOther" data-item="{{item}}" wx:key="this"> <view class="other-plat" wx:for="{{otherPlat}}" bindtap="gotoOther" data-item="{{item}}" wx:key="this">
<image src="{{item.icon}}" mode="widthFix"></image> <image src="{{item.icon}}" mode="widthFix"></image>
<view>{{item.name}}</view> <view>{{item.name}}</view>
@ -512,17 +467,15 @@
</view> </view>
<view class="sale-road-boxes" style="margin-top:0"> <view class="sale-road-boxes" style="margin-top:0">
<image mode="heightFix" style="height:86rpx" src="{{indexSeason.rmtj}}"></image> <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=""/> <image class="rmtj-right" src="https://static.ticket.sz-trip.com/uploads/20240428/31601dded0df580774b24b064bbb6580.png" mode="" />
</view> </view>
<view class="hot-list" wx:if="{{isTest==false}}"> <view class="hot-list" wx:if="{{isTest==false}}">
<view class="hot-list-item" wx:for="{{2}}" wx:for-index="number" wx:key="this"> <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: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"> <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}}" <common-image class="today-main-img" width="100%" height="615rpx" src="{{item.ext.headimg}}" mode="aspectFill"></common-image>
mode="aspectFill"></common-image>
<view style="position:absolute;left:0;right:0;top:0;bottom:0;background:rgba(0,0,0,0.14)"></view> <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" <image class="today-tip-img" src="https://static.ticket.sz-trip.com/xcxImages/index/today.png" mode="widthFix"></image>
mode="widthFix"></image>
<view class="today-date">{{date}} {{month}}</view> <view class="today-date">{{date}} {{month}}</view>
<view class="today-hot-box"> <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"> <view class="today-hot-tag textOver" wx:for="{{item.ext.display_tags && ext.display_tags.length>0}}" wx:key="this">
@ -561,7 +514,8 @@
<view wx:for="{{item.ext.display_tags}}" class="tag textOver">{{item}}</view> <view wx:for="{{item.ext.display_tags}}" class="tag textOver">{{item}}</view>
</view> --> </view> -->
<view wx:if="{{item.ext.type!='tenscenic' && item.ext.price}}" class="hot-price"> <view wx:if="{{item.ext.type!='tenscenic' && item.ext.price}}" class="hot-price">
<text>¥</text><text>{{item.ext.price/100}}</text><text>起</text></view> <text>¥</text><text>{{item.ext.price/100}}</text><text>起</text>
</view>
</view> </view>
</view> </view>
</view> </view>
@ -569,17 +523,14 @@
</view> </view>
<view wx:if="{{listMore && isTest==false}}" class="more-btn-text" bindtap="getList">查看更多</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 wx:else class="more-btn-text" bindtap="getList">暂无更多推荐</view>
</view> </view>
<view class="mask prizeMask" wx:if="{{videoPrize}}"> <view class="mask prizeMask" wx:if="{{videoPrize}}">
<view class="mask-bg"></view> <view class="mask-bg"></view>
<view class="mask-content" <view class="mask-content" style="width:100%;display:flex;flex-direction:column;background:none;border-radius:0;align-items:center">
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'}}"> <view style="position:relative" wx:if="{{prizeInfo && prizeInfo.type=='coupon'}}">
<image bindtap="choosePrize" style="display:block;width:533rpx" <image bindtap="choosePrize" style="display:block;width:533rpx" src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/videoprize/bg1.png" mode="widthFix"></image>
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>
<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-name">{{prizeInfo.prize_name}}</view>
<view class="prize-img"> <view class="prize-img">
<image src="{{prizeInfo.head_img}}" mode="aspectFill"></image> <image src="{{prizeInfo.head_img}}" mode="aspectFill"></image>
@ -591,10 +542,8 @@
</view> </view>
<!-- 中奖的产品 --> <!-- 中奖的产品 -->
<view style="position:relative" wx:elif="{{prizeInfo && prizeInfo.type=='product'}}"> <view style="position:relative" wx:elif="{{prizeInfo && prizeInfo.type=='product'}}">
<image bindtap="choosePrize" style="display:block;width:533rpx" <image bindtap="choosePrize" style="display:block;width:533rpx" src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/videoprize/bg1.png" mode="widthFix"></image>
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>
<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-name">{{prizeInfo.prize_name}}</view>
<view class="prize-img"> <view class="prize-img">
<image src="{{prizeInfo.head_img}}" mode="aspectFill"></image> <image src="{{prizeInfo.head_img}}" mode="aspectFill"></image>
@ -606,10 +555,8 @@
</view> </view>
<!-- 未中奖 --> <!-- 未中奖 -->
<view style="position:relative" wx:elif="{{prizeInfo && prizeInfo.type=='none'}}"> <view style="position:relative" wx:elif="{{prizeInfo && prizeInfo.type=='none'}}">
<image bindtap="choosePrize" style="display:block;width:533rpx" <image bindtap="choosePrize" style="display:block;width:533rpx" src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/videoprize/bg1.png" mode="widthFix"></image>
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>
<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-name">您与奖品擦肩而过期待下次参与</view>
<view class="prize-img"> <view class="prize-img">
<image src="{{prizeInfo.head_img}}" mode="aspectFill"></image> <image src="{{prizeInfo.head_img}}" mode="aspectFill"></image>
@ -621,28 +568,26 @@
</view> </view>
<!-- 未抽奖状态 --> <!-- 未抽奖状态 -->
<view style="position:relative" wx:else> <view style="position:relative" wx:else>
<image bindtap="choosePrize" style="display:block;width:533rpx" <image bindtap="choosePrize" style="display:block;width:533rpx" src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/videoprize/allbg.png" mode="widthFix"></image>
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 class="nomore-tip-btn" bindtap="noMoreTip"></view>
</view> </view>
<image bindtap="closePrice" style="width:80rpx;margin-top:40rpx" <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>
src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/videoprize/allclose.png" mode="widthFix"></image>
</view> </view>
</view> </view>
<!-- 广告弹窗 --> <!-- 广告弹窗 -->
<view class="zzc" bindtap="closeAdv" wx:if="{{showAdv}}" ></view> <view class="zzc" bindtap="closeAdv" wx:if="{{showAdv}}"></view>
<view class="alertavd" wx:if="{{showAdv}}"> <view class="alertavd" wx:if="{{showAdv}}">
<swiper class="alertsp" indicator-dots='{{true}}' indicator-color="rgba(255,255,255,0.5)" autoplay="{{true}}" interval="{{3000}}" duration="{{300}}" indicator-active-color="white"> <swiper class="alertsp" indicator-dots='{{true}}' indicator-color="rgba(255,255,255,0.5)" autoplay="{{true}}" interval="{{3000}}" duration="{{300}}" indicator-active-color="white">
<block wx:for="{{alertSwipeList}}" wx:key="*this"> <block wx:for="{{alertSwipeList}}" wx:key="*this">
<swiper-item data-item="{{item}}" bindtap="bannerJumpNew" > <swiper-item data-item="{{item}}" bindtap="bannerJumpNew">
<image src="{{item.head_img}}" style="width: 100%; height:100%; border-radius: 10rpx;" mode="aspectFill"></image> <image src="{{item.head_img}}" style="width: 100%; height:100%; border-radius: 10rpx;" mode="aspectFill"></image>
</swiper-item> </swiper-item>
</block> </block>
</swiper> </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> <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>
<!-- 广告弹窗结束 --> <!-- 广告弹窗结束 -->
<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}}">
<image src="{{startList.head_img}}" mode="widthFix" style="width: 100%;height: 100%;"></image> <image src="{{startList.head_img}}" mode="widthFix" style="width: 100%;height: 100%;"></image>
@ -650,19 +595,7 @@
<!-- 视频 --> <!-- 视频 -->
<view style="width:100vw;height: 100vh;position: relative;" wx:if="{{!startList.media_type}}"> <view style="width:100vw;height: 100vh;position: relative;" wx:if="{{!startList.media_type}}">
<video <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>
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/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/sound.png" class="muteImg" mode="widthFix" wx:else bindtap="closeMuted"></image> -->
@ -671,8 +604,8 @@
<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/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> <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="topBox">
<view class="Qtop" :style="{height:height}"> <view class="Qtop" :style="{height:height}">
<image style="width: 100%;height:{{height}}" src="{{startList.head_img}}" mode=""/> <image style="width: 100%;height:{{height}}" src="{{startList.head_img}}" mode=""/>
</view> </view>
@ -680,4 +613,199 @@
<view class="time">{{time}}s</view> <view class="time">{{time}}s</view>
<view bind:tap="gotoIndex">跳过</view> <view bind:tap="gotoIndex">跳过</view>
</view> </view>
</view> --> </view> -->
</view>
<view wx:else>
<image class="top-bg-img" src="{{indexSeason.topBac}}" mode="widthFix"></image>
<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="top-icons">
<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="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="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>
<view class="content">
<!-- 五一修改 一张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/aiPlay" class="jqssd">
<!-- <view bindtap="gotoUrl" data-event="comfort_click" data-title="景区舒适度" data-url="https://wlsjzx.zdhxwl.cn/kt_h5/index.html#/morecopy" class="jqssd"> -->
<image src="{{indexSeason.ai}}" mode=""/>
</view>
<view bindtap="gotoUrls" data-event="xlqc" class="sslk">
<image src="{{indexSeason.avoid}}" mode=""/>
</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/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/20240606/27acb48002369a8203762acc783c7492.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/uploads/20240606/5711260f02772eebaba9dba9dfda2b4f.png" mode="widthFix"></image>
<view>云上观展</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/20240606/4a3804f24e034e15f19c27a85d0a8ac4.png" mode="widthFix"></image>
<view class="text">云上文博会</view>
</view>
<view bindtap="goH5" data-title="文化场馆查询" data-path="Museum" class="pbservice-item">
<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="book_click" data-title="书仓" data-path="/pages/pbService/library/index" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/uploads/20240606/92ddf619960de959f760d5690ed5007a.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/uploads/20240606/0f422cb2026f42c772ab12d384f5b7ef.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/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/uploads/20240606/92ddf619960de959f760d5690ed5007a.png" mode="widthFix"></image>
<view class="text">书仓</view>
</view> -->
<view bindtap="gotoUrl" data-event="appreciate_click" data-title="云游苏州" data-url="https://speed.web.yunyouyizhan.com/downloadApp/index.html#/" class="pbservice-item">
<image src="https://static.ticket.sz-trip.com/uploads/20240717/fab990ef40d7424c9f4616a229b03777.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/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="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/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>
</view>

23
subPackages/index/index.wxss

@ -334,10 +334,13 @@ page {
z-index: 9; z-index: 9;
width: 173rpx; width: 173rpx;
height: 40rpx; height: 40rpx;
line-height: 40rpx; /* line-height: 40rpx; */
background: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.5);
border-radius: 20rpx; border-radius: 20rpx;
text-align: center; text-align: center;
display: flex;
align-items: center;
justify-content: center;
} }
.title-more .iconfont { .title-more .iconfont {
font-size: 22rpx; font-size: 22rpx;
@ -355,9 +358,9 @@ page {
.pbservice { .pbservice {
/* width: calc(175rpx * 6); */ /* width: calc(175rpx * 6); */
/* 元旦修改 */ /* 元旦修改 */
width: calc(190rpx * 8); width: calc(190rpx * 7);
display: flex; display: flex;
margin-top: 20rpx; margin-top: 30rpx;
flex-wrap: wrap; flex-wrap: wrap;
/* margin-bottom: 60rpx; */ /* margin-bottom: 60rpx; */
/* 元旦修改 注释margin-bottom */ /* 元旦修改 注释margin-bottom */
@ -1004,7 +1007,7 @@ page {
} }
/* 元旦修改新增样式 */ /* 元旦修改新增样式 */
.xpth-item-title { .xpth-item-title {
width: 230rpx; width: 210rpx;
font-size: 27rpx; font-size: 27rpx;
font-family: PingFang SC; font-family: PingFang SC;
font-weight: 500; font-weight: 500;
@ -1175,15 +1178,19 @@ page {
bottom: 64rpx; bottom: 64rpx;
} }
.jqssd { .jqssd {
background: url("https://static.ticket.sz-trip.com/uploads/20240606/20c06c5bf8d5e498667ebd954a1d95f8.png"); /* background: url("https://static.ticket.sz-trip.com/uploads/20240606/20c06c5bf8d5e498667ebd954a1d95f8.png");
background-size: 100% 100%; background-size: 100% 100%; */
width: 365.33rpx; width: 365.33rpx;
height: 166rpx; height: 166rpx;
flex-shrink: 0; flex-shrink: 0;
} }
.jqssd image, .sslk image{
width: 100%;
height: 100%;
}
.sslk { .sslk {
background: url("https://static.ticket.sz-trip.com/uploads/20240606/eec4af8edf598dc7c440cff8a5fdbe98.png"); /* background: url("https://static.ticket.sz-trip.com/uploads/20240729/c1554fdd645a0d3a47c8e683186e1a73.png");
background-size: 100% 100%; background-size: 100% 100%; */
width: 365.33rpx; width: 365.33rpx;
height: 166rpx; height: 166rpx;
flex-shrink: 0; flex-shrink: 0;

1224
subPackages/indexGQ/index.js

File diff suppressed because it is too large

6
subPackages/indexGQ/index.json

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

316
subPackages/indexGQ/index.wxml

@ -0,0 +1,316 @@
<!--pages/indexs/index.wxml-->
<title title="君到苏州(文化旅游总入口)"></title>
<!-- 后台获取的季节动图 -->
<image class="top-bg-img" src="https://static.ticket.sz-trip.com/uploads/20240923/d62c7214a790c9746c9dd9f8821775f7.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/uploads/20240923/00c7635dd9648e9dc4d0d044c06f495c.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" wx:if="{{!isTest}}">
<view class="hdrlItem" wx:for="{{hdrlList}}" bindtap="goDetail" data-item="{{item}}" wx:key="this" style="width: 593.33rpx;">
<view style="background: #fff;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;" wx:if="{{!isTest}}" class="one">
<view class="hdrlItem" 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;box-sizing: border-box;">
<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" wx:if="{{!isTest}}">
<!-- 上面的高峰预警、实时路况 -->
<view class="main-box-top">
<image bindtap="gotoUrl" data-event="comfort_click" data-title="景区舒适度"
data-url="https://m.cloud.sz-trip.com/aiPlay" class="gfyj" src="https://static.ticket.sz-trip.com/uploads/20240923/c4115b53ebfe5ae3c49bdb4f5f026726.png" mode=""/>
<image bindtap="gotoUrls" data-event="xlqc" class="sslk"
src="https://static.ticket.sz-trip.com/uploads/20240923/3ac9e07109e38dbbcd43bc3140c62e89.png" mode=""/>
</view>
<!-- 下面几大板块 -->
<view class="slide-out-box">
<scroll-view scroll-x bindscroll="listenScroll" class="slide-box">
<view class="pbservice" style="margin-bottom:30rpx;width: fit-content;">
<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="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="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="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: 333rpx;height: 80rpx;margin-bottom: 14.67rpx;" src="https://static.ticket.sz-trip.com/uploads/20240923/2e6fb944c77767ef49602e7ae0b3e12d.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: 192rpx;height: 164rpx;" src="https://static.ticket.sz-trip.com/uploads/20240923/ad8c0a411610938ec234d0afc864ccff.png" mode=""/>
</view>
<view class="ysz-box {{yszIndex==1?'ysz-box2':''}}">
<view wx:if="{{yszIndex == 0}}" style="margin: 20rpx 14rpx 0;">
<view class="pbservice ggfw-list" style="width:100%;overflow-x: auto;">
<view bindtap="gotoPath" data-event="security_home_click" data-title="电子社保卡" data-path="/pages/pbService/security/index" class="pbservice-item ggfw">
<image src="https://static.ticket.sz-trip.com/uploads/20240923/4c0ee81974879d5160b932a7e526e90d.png" mode="widthFix"></image>
<view>电子社保卡</view>
</view>
<view bindtap="gotoUrl" data-event="comfort_click" data-title="高峰预警"
data-url="https://wlsjzx.zdhxwl.cn/kt_h5/index.html#/morecopy" class="pbservice-item ggfw" >
<image src="https://static.ticket.sz-trip.com/uploads/20240923/43f561c40ef50aafa30a0a637fb016fb.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" >
<image src="https://static.ticket.sz-trip.com/uploads/20240923/d59d84a7d728f4b2671b5d2e52d1d72e.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">
<image src="https://static.ticket.sz-trip.com/uploads/20240923/18818826384a788ab7ac457572174b39.png" mode="widthFix"></image>
<view>实时路况</view>
</view>
<!-- <view bindtap="gotoPath" data-event="security_home_click" data-title="安全服务" data-path="/pages/pbService/security/index" class="pbservice-item ggfw">
<image src="https://static.ticket.sz-trip.com/uploads/20240923/38fa0db45de3290d44341699dd81d8b8.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: 333rpx;height: 80rpx;margin-left: 26rpx;margin-bottom: 20rpx;" src="https://static.ticket.sz-trip.com/uploads/20240923/fc8d43d1ca820912aae4b2bede13235c.png" mode=""/>
<!-- 4个产品榜单 -->
<view style="display: flex;overflow-x: scroll;padding-right: 20rpx;" class="bottom-box" wx:if="{{!isTest}}">
<view class="bd-box" style="background:{{item.bg}};" wx:for="{{bdList}}" wx:key="this">
<!-- <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>

1448
subPackages/indexGQ/index.wxss

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