...
|
...
|
@@ -111,18 +111,21 @@ let _getCoupon = function(data){ |
|
|
utils.showTip({
|
|
|
title: '领取成功',
|
|
|
content: '恭喜您,领取成功',
|
|
|
tipClassName: 'coupon-tip',
|
|
|
close: true
|
|
|
});
|
|
|
} else if (res.code === 401) {
|
|
|
utils.showTip({
|
|
|
title: '已经领取',
|
|
|
content: '快去分享给更多<br>喜爱<span class="highlight">潮流</span>的小伙伴吧!',
|
|
|
tipClassName: 'coupon-tip',
|
|
|
close: true
|
|
|
});
|
|
|
} else if (res.message) {
|
|
|
utils.showTip({
|
|
|
title: '领取失败<br>请刷新重新领取',
|
|
|
content: res.message + '<br>如多次领取失败,请联系客服人员<br>带来不便敬请谅解',
|
|
|
tipClassName: 'coupon-tip',
|
|
|
close: false
|
|
|
});
|
|
|
}
|
...
|
...
|
@@ -131,6 +134,7 @@ let _getCoupon = function(data){ |
|
|
utils.showTip({
|
|
|
title: '领取失败<br>请刷新重新领取',
|
|
|
content: '如多次领取失败,请联系客服人员<br>带来不便敬请谅解',
|
|
|
tipClassName: 'coupon-tip',
|
|
|
close: false
|
|
|
});
|
|
|
});
|
...
|
...
|
|