|
|
@ -177,7 +177,7 @@ const gotoDetail = (item,isPagePoint) =>{ |
|
|
// 产品 产品票务
|
|
|
// 产品 产品票务
|
|
|
if(isPagePoint){ |
|
|
if(isPagePoint){ |
|
|
pagePointData.event='ticket_detail_click' |
|
|
pagePointData.event='ticket_detail_click' |
|
|
pagePoint(pagePointData) |
|
|
pagePoint(pagePointData,1) |
|
|
} |
|
|
} |
|
|
wx.navigateTo({ |
|
|
wx.navigateTo({ |
|
|
url: '/pages/info/sceneProductInfo/index?id='+(item.scene_id || item.id) |
|
|
url: '/pages/info/sceneProductInfo/index?id='+(item.scene_id || item.id) |
|
|
@ -187,7 +187,7 @@ const gotoDetail = (item,isPagePoint) =>{ |
|
|
// 产品 酒店
|
|
|
// 产品 酒店
|
|
|
if(isPagePoint){ |
|
|
if(isPagePoint){ |
|
|
pagePointData.event='hotel_detail_click' |
|
|
pagePointData.event='hotel_detail_click' |
|
|
pagePoint(pagePointData) |
|
|
pagePoint(pagePointData,1) |
|
|
} |
|
|
} |
|
|
wx.navigateTo({ |
|
|
wx.navigateTo({ |
|
|
url: '/pages/info/hotelProductInfo/index?id='+(item.scene_id || item.id) |
|
|
url: '/pages/info/hotelProductInfo/index?id='+(item.scene_id || item.id) |
|
|
@ -198,7 +198,7 @@ const gotoDetail = (item,isPagePoint) =>{ |
|
|
if(isPagePoint){ |
|
|
if(isPagePoint){ |
|
|
pagePointData.event='legacy_detail_click' |
|
|
pagePointData.event='legacy_detail_click' |
|
|
pagePointData.id = item.id |
|
|
pagePointData.id = item.id |
|
|
pagePoint(pagePointData) |
|
|
pagePoint(pagePointData,1) |
|
|
} |
|
|
} |
|
|
wx.navigateTo({ |
|
|
wx.navigateTo({ |
|
|
url: '/pages/info/postProductInfo/index?id='+item.id |
|
|
url: '/pages/info/postProductInfo/index?id='+item.id |
|
|
@ -209,7 +209,7 @@ const gotoDetail = (item,isPagePoint) =>{ |
|
|
if(isPagePoint){ |
|
|
if(isPagePoint){ |
|
|
pagePointData.event='route_detail_click' |
|
|
pagePointData.event='route_detail_click' |
|
|
pagePointData.id = item.id |
|
|
pagePointData.id = item.id |
|
|
pagePoint(pagePointData) |
|
|
pagePoint(pagePointData,1) |
|
|
} |
|
|
} |
|
|
wx.navigateTo({ |
|
|
wx.navigateTo({ |
|
|
url: '/pages/info/roadInfo/index?id='+item.id |
|
|
url: '/pages/info/roadInfo/index?id='+item.id |
|
|
@ -220,7 +220,7 @@ const gotoDetail = (item,isPagePoint) =>{ |
|
|
if(isPagePoint){ |
|
|
if(isPagePoint){ |
|
|
pagePointData.event='card_detail_click' |
|
|
pagePointData.event='card_detail_click' |
|
|
pagePointData.id = item.id |
|
|
pagePointData.id = item.id |
|
|
pagePoint(pagePointData) |
|
|
pagePoint(pagePointData,1) |
|
|
} |
|
|
} |
|
|
wx.navigateTo({ |
|
|
wx.navigateTo({ |
|
|
url: '/pages/info/cardInfo/index?id='+item.id |
|
|
url: '/pages/info/cardInfo/index?id='+item.id |
|
|
@ -231,7 +231,7 @@ const gotoDetail = (item,isPagePoint) =>{ |
|
|
if(isPagePoint){ |
|
|
if(isPagePoint){ |
|
|
pagePointData.event='show_detail_click' |
|
|
pagePointData.event='show_detail_click' |
|
|
pagePointData.id = item.id |
|
|
pagePointData.id = item.id |
|
|
pagePoint(pagePointData) |
|
|
pagePoint(pagePointData,1) |
|
|
} |
|
|
} |
|
|
wx.navigateTo({ |
|
|
wx.navigateTo({ |
|
|
url: '/pages/info/showInfo/index?id='+item.id |
|
|
url: '/pages/info/showInfo/index?id='+item.id |
|
|
@ -265,7 +265,7 @@ const gotoDetail = (item,isPagePoint) =>{ |
|
|
// 场景 景点
|
|
|
// 场景 景点
|
|
|
if(isPagePoint){ |
|
|
if(isPagePoint){ |
|
|
pagePointData.event='ticket_detail_click' |
|
|
pagePointData.event='ticket_detail_click' |
|
|
pagePoint(pagePointData) |
|
|
pagePoint(pagePointData,1) |
|
|
} |
|
|
} |
|
|
wx.navigateTo({ |
|
|
wx.navigateTo({ |
|
|
url: '/pages/info/sceneProductInfo/index?id='+(item.scene_id || item.id) |
|
|
url: '/pages/info/sceneProductInfo/index?id='+(item.scene_id || item.id) |
|
|
@ -275,7 +275,7 @@ const gotoDetail = (item,isPagePoint) =>{ |
|
|
// 场景 酒店
|
|
|
// 场景 酒店
|
|
|
if(isPagePoint){ |
|
|
if(isPagePoint){ |
|
|
pagePointData.event='hotel_detail_click' |
|
|
pagePointData.event='hotel_detail_click' |
|
|
pagePoint(pagePointData) |
|
|
pagePoint(pagePointData,1) |
|
|
} |
|
|
} |
|
|
wx.navigateTo({ |
|
|
wx.navigateTo({ |
|
|
url: '/pages/info/hotelProductInfo/index?id='+(item.scene_id || item.id) |
|
|
url: '/pages/info/hotelProductInfo/index?id='+(item.scene_id || item.id) |
|
|
@ -285,7 +285,7 @@ const gotoDetail = (item,isPagePoint) =>{ |
|
|
// 场景 场馆
|
|
|
// 场景 场馆
|
|
|
if(isPagePoint){ |
|
|
if(isPagePoint){ |
|
|
pagePointData.event='museum_detail_click' |
|
|
pagePointData.event='museum_detail_click' |
|
|
pagePoint(pagePointData) |
|
|
pagePoint(pagePointData,1) |
|
|
} |
|
|
} |
|
|
wx.navigateTo({ |
|
|
wx.navigateTo({ |
|
|
url: '/pages/info/museumInfo/index?id='+(item.scene_id || item.id) |
|
|
url: '/pages/info/museumInfo/index?id='+(item.scene_id || item.id) |
|
|
@ -405,7 +405,7 @@ const goKjOrder = function(item) { |
|
|
}) |
|
|
}) |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
const page_point = function(data,type) { |
|
|
const pagePoint = function(data,type) { |
|
|
if(type!=1) { |
|
|
if(type!=1) { |
|
|
data = data.currentTarget.dataset |
|
|
data = data.currentTarget.dataset |
|
|
} |
|
|
} |
|
|
@ -433,5 +433,5 @@ module.exports = { |
|
|
gotoOrder:gotoOrder, |
|
|
gotoOrder:gotoOrder, |
|
|
orderMoreTime:orderMoreTime, |
|
|
orderMoreTime:orderMoreTime, |
|
|
goKjOrder:goKjOrder, |
|
|
goKjOrder:goKjOrder, |
|
|
pagePoint: page_point |
|
|
pagePoint: pagePoint |
|
|
} |
|
|
} |
|
|
|