jufubao-base 1.0.116-beta4 → 1.0.116-beta6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -321,9 +321,14 @@ export default {
|
|
|
321
321
|
otherParams = this.$xdUniHelper.jsonToParams(this.dispatchData);
|
|
322
322
|
}
|
|
323
323
|
} catch (error) {}
|
|
324
|
+
let curCoup = this.list[this.currentIndex];
|
|
325
|
+
let linkUrl = this.list_url;
|
|
326
|
+
if(curCoup.show_url){
|
|
327
|
+
linkUrl = curCoup.show_url
|
|
328
|
+
}
|
|
324
329
|
|
|
325
330
|
this.$xdUniHelper.navigateTo({
|
|
326
|
-
url: `${
|
|
331
|
+
url: `${linkUrl}?activity_id=${this.activity_id}&distribution_method=${this.distribution_method}&${otherParams}`,
|
|
327
332
|
});
|
|
328
333
|
},
|
|
329
334
|
handleClose() {
|
|
@@ -153,6 +153,7 @@ export default {
|
|
|
153
153
|
done: false,
|
|
154
154
|
message: "",
|
|
155
155
|
options: {},
|
|
156
|
+
next_url: "",
|
|
156
157
|
|
|
157
158
|
collectedPath: "",
|
|
158
159
|
};
|
|
@@ -197,6 +198,7 @@ export default {
|
|
|
197
198
|
this.used_up_url = res.used_up_url && getServiceUrl(res.used_up_url);
|
|
198
199
|
this.can_take = res.can_take;
|
|
199
200
|
this.has_times = res.has_times;
|
|
201
|
+
this.next_url = res.next_url;
|
|
200
202
|
|
|
201
203
|
this.couponList =
|
|
202
204
|
res.list &&
|
|
@@ -267,7 +269,7 @@ export default {
|
|
|
267
269
|
},
|
|
268
270
|
toCoupon(){
|
|
269
271
|
this.$xdUniHelper.navigateTo({
|
|
270
|
-
url: this.collectedPath,
|
|
272
|
+
url: this.next_url || this.collectedPath,
|
|
271
273
|
});
|
|
272
274
|
},
|
|
273
275
|
getCoupont(item) {
|