...
|
...
|
@@ -24,8 +24,9 @@ const getPageInfo = (pageInfo) => { |
|
|
dest.wechatShare = true;
|
|
|
dest.secondScreenPic = pageInfo.data.secondScreenPic;
|
|
|
dest.activityEndPic = pageInfo.data.activityEndPic;
|
|
|
dest.buttonLink = pageInfo.data.buttonLink;
|
|
|
|
|
|
if (pageInfo.data.flag === 3 || pageInfo.data.flag === 4) {
|
|
|
if (pageInfo.data.flag === 3 || pageInfo.data.flag === 4 || pageInfo.data.flag === 5) {
|
|
|
// flag为3 表示活动结束 , 4 表示未开始
|
|
|
dest.bgImg = pageInfo.data.activityEndPic;
|
|
|
dest.ended = true;
|
...
|
...
|
@@ -116,4 +117,4 @@ exports.registerAndSendCoupon = (data) => { |
|
|
return api.get('', verifyData).then(result => {
|
|
|
return getUserStatus(result);
|
|
|
}); // 所有数据返回一个 Promise,方便 Promise.all 调用
|
|
|
}; |
|
|
}; |
|
|
\ No newline at end of file |
...
|
...
|
|