...
|
...
|
@@ -76,11 +76,16 @@ $(function() { |
|
|
$('#shareImg').val(data.shareImg);
|
|
|
$('#shareLink').val(data.shareLink);
|
|
|
$('#activityCode').val(data.activityCode);
|
|
|
$('#getCoupon').html(data.title);
|
|
|
$('.gain-coupon-centent .use-coupon-btn .use-coupon').attr('href', data.buttonLink);
|
|
|
$('.gain-coupon-centent .go-wep').attr('href', data.pcLink);
|
|
|
$('.tip .title').html(data.message);
|
|
|
$('#activityDesc .message').html(data.formatActivityDesc);
|
|
|
if (data.ended) {
|
|
|
var img = $("<img>");
|
|
|
img.attr("src", data.bgImg).css({"width":"100%","height":"100%"});
|
|
|
$('.tip-wrap').append(img).css({"background":"none"});
|
|
|
$('.tip-wrap .tip').css({"background":"none"});
|
|
|
$('.tip-wrap').removeClass('hidden');
|
|
|
$('.tip-wrap .title').html(data.message);
|
|
|
}
|
...
|
...
|
|