...
|
...
|
@@ -140,7 +140,7 @@ Page(Object.assign({ |
|
|
let limitProductCode = query.limitProductCode ? query.limitProductCode : '';
|
|
|
let originUid = parseInt(query.originUid ? query.originUid : '0', 10);
|
|
|
let originUnionID = query.originUnionID ? query.originUnionID : '';
|
|
|
|
|
|
|
|
|
let uid = app.getUid();
|
|
|
let scene = '';
|
|
|
|
...
|
...
|
@@ -148,12 +148,18 @@ Page(Object.assign({ |
|
|
scene = query.scene;
|
|
|
}
|
|
|
|
|
|
let currentScene = app.globalData.currentScene;
|
|
|
let isGoApp = (currentScene == 1036 || currentScene == 1069) ? true : false;
|
|
|
let appParameter = `http://m.yohobuy.com?openby:yohobuy={\"action\":\"go.limitpurchase\",\"params\":{\"lp\":\"${limitProductCode}\"}}`;
|
|
|
|
|
|
this.setData({
|
|
|
limitProductCode,
|
|
|
originUid,
|
|
|
originUnionID,
|
|
|
uid,
|
|
|
scene
|
|
|
scene,
|
|
|
isGoApp,
|
|
|
appParameter
|
|
|
});
|
|
|
|
|
|
yas = new Yas(app); // 实例化埋点
|
...
|
...
|
@@ -745,6 +751,18 @@ Page(Object.assign({ |
|
|
error: false
|
|
|
});
|
|
|
},
|
|
|
|
|
|
goApp : function(e) {
|
|
|
|
|
|
},
|
|
|
launchAppError: function (e) {
|
|
|
wx.showToast({
|
|
|
title: '打开失败!您可能未安装Yoho!Buy官方APP,请下载后再尝试。',
|
|
|
icon: 'none',
|
|
|
duration: 3000
|
|
|
})
|
|
|
},
|
|
|
|
|
|
goLogin(login = 1) {
|
|
|
let data = {};
|
|
|
|
...
|
...
|
|