...
|
...
|
@@ -84,7 +84,7 @@ Page(Object.assign({ |
|
|
h5PageUrl: [
|
|
|
{
|
|
|
title: '排队活动说明',
|
|
|
url: 'https://activity.yoho.cn/feature/249.html?nodownload=1'
|
|
|
url: 'https://activity.yoho.cn/feature/2593.html'
|
|
|
}
|
|
|
],
|
|
|
bgStyle: [ // 排队图片
|
...
|
...
|
@@ -317,7 +317,7 @@ Page(Object.assign({ |
|
|
* 跳转到我的排队列表
|
|
|
*/
|
|
|
navigateToMyList: function(e) {
|
|
|
router.go('myList', Object.assign({actId: this.data.activityInfo.activityId}, this.data.shareInfo));
|
|
|
router.go('myList', Object.assign({actId: this.data.activityInfo.activityId, isEnd: this.data.activityInfo.isEnd}, this.data.shareInfo));
|
|
|
},
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -407,6 +407,11 @@ Page(Object.assign({ |
|
|
let activityName = res.data.activityName;
|
|
|
let activityId = res.data.activityId;
|
|
|
let bgStyle = res.data.bgStyle && res.data.bgStyle.length > 0 ? res.data.bgStyle : this.data.bgStyle;
|
|
|
let activityDesc = res.data.activityDesc;
|
|
|
|
|
|
wx.setNavigationBarTitle({
|
|
|
title: activityName
|
|
|
});
|
|
|
|
|
|
this.setData({
|
|
|
activityInfo: {
|
...
|
...
|
@@ -416,7 +421,8 @@ Page(Object.assign({ |
|
|
isEnd: isEnd, // 是否已结束 1-结束 0-未结束
|
|
|
prizeType: prizeType, // 奖品类型1-有货币 2-优惠券 3-限购码
|
|
|
activityId: activityId,
|
|
|
activityName: activityName
|
|
|
activityName: activityName,
|
|
|
activityDesc: activityDesc
|
|
|
},
|
|
|
bgStyle: bgStyle
|
|
|
});
|
...
|
...
|
@@ -559,7 +565,9 @@ Page(Object.assign({ |
|
|
* 跳转到活动说明的H5页面
|
|
|
*/
|
|
|
navigateToDescPage: function() {
|
|
|
router.goUrl(this.data.h5PageUrl[0].url + '&title=' + this.data.h5PageUrl[0].title);
|
|
|
let descUrl = this.data.activityInfo.activityDesc || this.data.h5PageUrl[0].url;
|
|
|
|
|
|
router.goUrl(descUrl);
|
|
|
},
|
|
|
|
|
|
/**
|
...
|
...
|
|