|
|
|
@ -291,8 +291,10 @@ const gotoDetail = (item,isPagePoint) =>{ |
|
|
|
break; |
|
|
|
case "movie": |
|
|
|
// 产品 电影票
|
|
|
|
let tempUrl = 'https://m.cloud.sz-trip.com'+`/MovieInfo?id=${item.third_id || item.id}`+'&title='+item.title |
|
|
|
wx.navigateTo({ |
|
|
|
url: '/pages/list/movieticket/list/info/index?id='+(item.third_id || item.id)+'&title='+item.title |
|
|
|
url: '/pages/pbService/web/index?weburl=' + encodeURIComponent(tempUrl), |
|
|
|
// url: '/pages/list/movieticket/list/info/index?id='+(item.third_id || item.id)+'&title='+item.title
|
|
|
|
}) |
|
|
|
break; |
|
|
|
case "cinema": |
|
|
|
@ -475,6 +477,35 @@ const pagePoint = function(data,type) { |
|
|
|
}).then(res=>{ |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
const goMovieDetail= function(id, title, needReturn) { |
|
|
|
let tempUrl = 'https://m.cloud.sz-trip.com'+`/MovieInfo?id=${id}` |
|
|
|
if (title) { |
|
|
|
tempUrl += +'&title='+item.title |
|
|
|
} |
|
|
|
let url = '/pages/pbService/web/index?weburl=' + encodeURIComponent(tempUrl) |
|
|
|
if (needReturn) { |
|
|
|
return url |
|
|
|
} |
|
|
|
wx.navigateTo({ |
|
|
|
url: '/pages/pbService/web/index?weburl=' + encodeURIComponent(tempUrl) |
|
|
|
}) |
|
|
|
// return '/pages/pbService/web/index?weburl=' + encodeURIComponent(tempUrl)
|
|
|
|
} |
|
|
|
|
|
|
|
const goMovieList= function(needReturn) { |
|
|
|
let tempUrl = 'https://m.cloud.sz-trip.com'+`/MoviesChangShu` |
|
|
|
let url = '/pages/pbService/web/index?weburl=' + encodeURIComponent(tempUrl) |
|
|
|
if (needReturn) { |
|
|
|
return url |
|
|
|
} |
|
|
|
wx.navigateTo({ |
|
|
|
url: '/pages/pbService/web/index?weburl=' + encodeURIComponent(tempUrl) |
|
|
|
}) |
|
|
|
// return '/pages/pbService/web/index?weburl=' + encodeURIComponent(tempUrl)
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
module.exports = { |
|
|
|
formatTime: formatTime, |
|
|
|
formatNumber: formatNumber, |
|
|
|
@ -492,5 +523,7 @@ module.exports = { |
|
|
|
goKjOrder:goKjOrder, |
|
|
|
pagePoint: pagePoint, |
|
|
|
formatMing:formatMing, |
|
|
|
formatHou:formatHou |
|
|
|
formatHou:formatHou, |
|
|
|
goMovieDetail: goMovieDetail, |
|
|
|
goMovieList: goMovieList |
|
|
|
} |
|
|
|
|