Authored by 肖亚东

返回app并跳至对应的页面

... ... @@ -58,6 +58,7 @@ Page(Object.assign({
actPrizeId: '',
shareUid: 0,
scene: '',
appParameter: '',
myPrizeCount: 0,
product: {},
avatars: [],
... ... @@ -128,13 +129,15 @@ Page(Object.assign({
data.actPrizeId = options.actPrizeId;
}
let appParameter = `https://m.yohobuy.com?openby:yohobuy={"action":"go.h5","params":{"param":{},"url":"https://m.yohobuy.com/activity/yoluck/${data.actPrizeId}.html"}}`;
data.appParameter = appParameter;
if (options.scene && options.scene.length === 32) {
data.scene = options.scene;
}
this.setData(data);
new app.WeToast();
this._getDetailBanner();
... ...