Authored by 肖亚东

返回app并跳至对应的页面

... ... @@ -141,7 +141,7 @@ Page(Object.assign({
let originUid = parseInt(query.originUid ? query.originUid : '0', 10);
let originUnionID = query.originUnionID ? query.originUnionID : '';
let currentScene = app.globalData.currentScene;
let isGoApp = (currentScene == 1036 || currentScene == 1069) ? true : false;
let isGoApp = (currentScene == 1036 || currentScene == 1011) ? true : false;
let uid = app.getUid();
let scene = '';
... ... @@ -150,13 +150,16 @@ Page(Object.assign({
scene = query.scene;
}
let appParameter = `http://m.yohobuy.com?openby:yohobuy={\"action\":\"go.limitpurchase\",\"params\":{\"lp\":\"${limitProductCode}\"}}`;
this.setData({
limitProductCode,
originUid,
originUnionID,
uid,
scene,
isGoApp
isGoApp,
appParameter
});
yas = new Yas(app); // 实例化埋点
... ...