|
@@ -84,7 +84,7 @@ Page(Object.assign({ |
|
@@ -84,7 +84,7 @@ Page(Object.assign({ |
84
|
h5PageUrl: [
|
84
|
h5PageUrl: [
|
85
|
{
|
85
|
{
|
86
|
title: '排队活动说明',
|
86
|
title: '排队活动说明',
|
87
|
- url: 'https://activity.yoho.cn/feature/249.html?nodownload=1'
|
87
|
+ url: 'https://activity.yoho.cn/feature/2593.html'
|
88
|
}
|
88
|
}
|
89
|
],
|
89
|
],
|
90
|
bgStyle: [ // 排队图片
|
90
|
bgStyle: [ // 排队图片
|
|
@@ -317,7 +317,7 @@ Page(Object.assign({ |
|
@@ -317,7 +317,7 @@ Page(Object.assign({ |
317
|
* 跳转到我的排队列表
|
317
|
* 跳转到我的排队列表
|
318
|
*/
|
318
|
*/
|
319
|
navigateToMyList: function(e) {
|
319
|
navigateToMyList: function(e) {
|
320
|
- router.go('myList', Object.assign({actId: this.data.activityInfo.activityId}, this.data.shareInfo));
|
320
|
+ router.go('myList', Object.assign({actId: this.data.activityInfo.activityId, isEnd: this.data.activityInfo.isEnd}, this.data.shareInfo));
|
321
|
},
|
321
|
},
|
322
|
|
322
|
|
323
|
/**
|
323
|
/**
|
|
@@ -407,6 +407,11 @@ Page(Object.assign({ |
|
@@ -407,6 +407,11 @@ Page(Object.assign({ |
407
|
let activityName = res.data.activityName;
|
407
|
let activityName = res.data.activityName;
|
408
|
let activityId = res.data.activityId;
|
408
|
let activityId = res.data.activityId;
|
409
|
let bgStyle = res.data.bgStyle && res.data.bgStyle.length > 0 ? res.data.bgStyle : this.data.bgStyle;
|
409
|
let bgStyle = res.data.bgStyle && res.data.bgStyle.length > 0 ? res.data.bgStyle : this.data.bgStyle;
|
|
|
410
|
+ let activityDesc = res.data.activityDesc;
|
|
|
411
|
+
|
|
|
412
|
+ wx.setNavigationBarTitle({
|
|
|
413
|
+ title: activityName
|
|
|
414
|
+ });
|
410
|
|
415
|
|
411
|
this.setData({
|
416
|
this.setData({
|
412
|
activityInfo: {
|
417
|
activityInfo: {
|
|
@@ -416,7 +421,8 @@ Page(Object.assign({ |
|
@@ -416,7 +421,8 @@ Page(Object.assign({ |
416
|
isEnd: isEnd, // 是否已结束 1-结束 0-未结束
|
421
|
isEnd: isEnd, // 是否已结束 1-结束 0-未结束
|
417
|
prizeType: prizeType, // 奖品类型1-有货币 2-优惠券 3-限购码
|
422
|
prizeType: prizeType, // 奖品类型1-有货币 2-优惠券 3-限购码
|
418
|
activityId: activityId,
|
423
|
activityId: activityId,
|
419
|
- activityName: activityName
|
424
|
+ activityName: activityName,
|
|
|
425
|
+ activityDesc: activityDesc
|
420
|
},
|
426
|
},
|
421
|
bgStyle: bgStyle
|
427
|
bgStyle: bgStyle
|
422
|
});
|
428
|
});
|
|
@@ -559,7 +565,9 @@ Page(Object.assign({ |
|
@@ -559,7 +565,9 @@ Page(Object.assign({ |
559
|
* 跳转到活动说明的H5页面
|
565
|
* 跳转到活动说明的H5页面
|
560
|
*/
|
566
|
*/
|
561
|
navigateToDescPage: function() {
|
567
|
navigateToDescPage: function() {
|
562
|
- router.goUrl(this.data.h5PageUrl[0].url + '&title=' + this.data.h5PageUrl[0].title);
|
568
|
+ let descUrl = this.data.activityInfo.activityDesc || this.data.h5PageUrl[0].url;
|
|
|
569
|
+
|
|
|
570
|
+ router.goUrl(descUrl);
|
563
|
},
|
571
|
},
|
564
|
|
572
|
|
565
|
/**
|
573
|
/**
|