|
|
@ -97,22 +97,26 @@ Page({ |
|
|
yszIndex:0, |
|
|
yszIndex:0, |
|
|
bdList:[ |
|
|
bdList:[ |
|
|
{ |
|
|
{ |
|
|
bg: 'linear-gradient(-8deg,#f4f9ff,#b9e1f0)', |
|
|
color: '#FFE4BC', |
|
|
|
|
|
bg: 'linear-gradient(172deg, #F08528, #D1201B);', |
|
|
icon:'https://static.ticket.sz-trip.com/uploads/20250429/069ab247bb2ab5a08fa7707d671b1ac5.png', //游 景点
|
|
|
icon:'https://static.ticket.sz-trip.com/uploads/20250429/069ab247bb2ab5a08fa7707d671b1ac5.png', //游 景点
|
|
|
url:'', |
|
|
url:'', |
|
|
path:'/pages/list/scene/index', |
|
|
path:'/pages/list/scene/index', |
|
|
list: [], |
|
|
list: [], |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
|
|
|
color: '#DBD8F6', |
|
|
bg: 'linear-gradient(172deg, #A49CE9, #353A68);', |
|
|
bg: 'linear-gradient(172deg, #A49CE9, #353A68);', |
|
|
icon:'https://static.ticket.sz-trip.com/uploads/20250429/8c023b9c626d3821b64d105ae6e65f2d.png', //非玩不可 景点产品
|
|
|
icon:'https://static.ticket.sz-trip.com/uploads/20250429/8c023b9c626d3821b64d105ae6e65f2d.png', //非玩不可 景点产品
|
|
|
path:'/pages/list/night/index', |
|
|
// path:'/pages/list/night/index',
|
|
|
url:'', |
|
|
url:'http://m.cloud.sz-trip.com/nightTour2025', |
|
|
|
|
|
path: '', |
|
|
list: [], |
|
|
list: [], |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
|
|
|
color: '#FFE4BC', |
|
|
bg: 'linear-gradient(172deg, #F08528, #D1201B);', |
|
|
bg: 'linear-gradient(172deg, #F08528, #D1201B);', |
|
|
icon:'https://static.ticket.sz-trip.com/uploads/20250429/9928f46523fd57233b6ef3371a6ba460.png', //非看不可
|
|
|
icon:'https://static.ticket.sz-trip.com/uploads/20250429/9928f46523fd57233b6ef3371a6ba460.png', //非看不可
|
|
|
url:'', |
|
|
url:'', |
|
|
@ -121,6 +125,7 @@ Page({ |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
|
|
|
color: '#DBD8F6', |
|
|
bg: 'linear-gradient(172deg, #A49CE9, #353A68);', |
|
|
bg: 'linear-gradient(172deg, #A49CE9, #353A68);', |
|
|
icon:'https://static.ticket.sz-trip.com/uploads/20250429/a4f53072aa51a387593a183799b902e6.png', //非买不可
|
|
|
icon:'https://static.ticket.sz-trip.com/uploads/20250429/a4f53072aa51a387593a183799b902e6.png', //非买不可
|
|
|
path:'/subPackages/techanNew/index', |
|
|
path:'/subPackages/techanNew/index', |
|
|
@ -328,9 +333,10 @@ Page({ |
|
|
let item = e.currentTarget.dataset.item; |
|
|
let item = e.currentTarget.dataset.item; |
|
|
let type = this.data.hdrlNavList[this.data.hdrlNavIndex].type |
|
|
let type = this.data.hdrlNavList[this.data.hdrlNavIndex].type |
|
|
if (type == 'movie') { |
|
|
if (type == 'movie') { |
|
|
wx.navigateTo({ |
|
|
// wx.navigateTo({
|
|
|
url: '/pages/list/movieticket/list/info/index?id=' + item.third_id |
|
|
// // url: '/pages/list/movieticket/list/info/index?id=' + item.third_id
|
|
|
}) |
|
|
// })
|
|
|
|
|
|
util.goMovieDetail(item.third_id || item.id) |
|
|
}else { |
|
|
}else { |
|
|
wx.navigateTo({ |
|
|
wx.navigateTo({ |
|
|
url: '/pages/info/activityInfo/index?id=' + item.id, |
|
|
url: '/pages/info/activityInfo/index?id=' + item.id, |
|
|
@ -354,6 +360,7 @@ Page({ |
|
|
}, |
|
|
}, |
|
|
// 推荐榜单更多跳转
|
|
|
// 推荐榜单更多跳转
|
|
|
moreBtn(e) { |
|
|
moreBtn(e) { |
|
|
|
|
|
console.log(e) |
|
|
let item = e.currentTarget.dataset.item |
|
|
let item = e.currentTarget.dataset.item |
|
|
if (item.path!='') { |
|
|
if (item.path!='') { |
|
|
wx.navigateTo({ |
|
|
wx.navigateTo({ |
|
|
@ -365,6 +372,7 @@ Page({ |
|
|
// event: e.currentTarget.dataset.event
|
|
|
// event: e.currentTarget.dataset.event
|
|
|
// }, 1)
|
|
|
// }, 1)
|
|
|
// }
|
|
|
// }
|
|
|
|
|
|
console.log('error', item) |
|
|
let url = item.url; |
|
|
let url = item.url; |
|
|
app.globalData.weburl = url; |
|
|
app.globalData.weburl = url; |
|
|
wx.navigateTo({ |
|
|
wx.navigateTo({ |
|
|
@ -705,10 +713,11 @@ Page({ |
|
|
tagGotoDetail: function(e) { |
|
|
tagGotoDetail: function(e) { |
|
|
let item = e.currentTarget.dataset.item; |
|
|
let item = e.currentTarget.dataset.item; |
|
|
if (this.data.indexHot[this.data.hotIndex].type == 'movie') { |
|
|
if (this.data.indexHot[this.data.hotIndex].type == 'movie') { |
|
|
wx.navigateTo({ |
|
|
// wx.navigateTo({
|
|
|
url: '/pages/list/movieticket/list/info/index?id=' + item.third_id + '&title=' + |
|
|
// url: '/pages/list/movieticket/list/info/index?id=' + item.third_id + '&title=' +
|
|
|
item.title, |
|
|
// item.title,
|
|
|
}) |
|
|
// })
|
|
|
|
|
|
util.goMovieDetail(item.third_id || item.id, item.title) |
|
|
} else { |
|
|
} else { |
|
|
util.gotoDetail(item) |
|
|
util.gotoDetail(item) |
|
|
} |
|
|
} |
|
|
|