Authored by 肖亚东

返回app并跳至对应的页面

@@ -58,6 +58,7 @@ Page(Object.assign({ @@ -58,6 +58,7 @@ Page(Object.assign({
58 actPrizeId: '', 58 actPrizeId: '',
59 shareUid: 0, 59 shareUid: 0,
60 scene: '', 60 scene: '',
  61 + appParameter: '',
61 myPrizeCount: 0, 62 myPrizeCount: 0,
62 product: {}, 63 product: {},
63 avatars: [], 64 avatars: [],
@@ -128,13 +129,15 @@ Page(Object.assign({ @@ -128,13 +129,15 @@ Page(Object.assign({
128 data.actPrizeId = options.actPrizeId; 129 data.actPrizeId = options.actPrizeId;
129 } 130 }
130 131
  132 + let appParameter = `https://m.yohobuy.com?openby:yohobuy={"action":"go.h5","params":{"param":{},"url":"https://m.yohobuy.com/activity/yoluck/${data.actPrizeId}.html"}}`;
  133 + data.appParameter = appParameter;
131 134
132 if (options.scene && options.scene.length === 32) { 135 if (options.scene && options.scene.length === 32) {
133 data.scene = options.scene; 136 data.scene = options.scene;
134 } 137 }
135 138
136 this.setData(data); 139 this.setData(data);
137 - 140 +
138 new app.WeToast(); 141 new app.WeToast();
139 142
140 this._getDetailBanner(); 143 this._getDetailBanner();