Showing
1 changed file
with
5 additions
and
0 deletions
@@ -76,11 +76,16 @@ $(function() { | @@ -76,11 +76,16 @@ $(function() { | ||
76 | $('#shareImg').val(data.shareImg); | 76 | $('#shareImg').val(data.shareImg); |
77 | $('#shareLink').val(data.shareLink); | 77 | $('#shareLink').val(data.shareLink); |
78 | $('#activityCode').val(data.activityCode); | 78 | $('#activityCode').val(data.activityCode); |
79 | + $('#getCoupon').html(data.title); | ||
79 | $('.gain-coupon-centent .use-coupon-btn .use-coupon').attr('href', data.buttonLink); | 80 | $('.gain-coupon-centent .use-coupon-btn .use-coupon').attr('href', data.buttonLink); |
80 | $('.gain-coupon-centent .go-wep').attr('href', data.pcLink); | 81 | $('.gain-coupon-centent .go-wep').attr('href', data.pcLink); |
81 | $('.tip .title').html(data.message); | 82 | $('.tip .title').html(data.message); |
82 | $('#activityDesc .message').html(data.formatActivityDesc); | 83 | $('#activityDesc .message').html(data.formatActivityDesc); |
83 | if (data.ended) { | 84 | if (data.ended) { |
85 | + var img = $("<img>"); | ||
86 | + img.attr("src", data.bgImg).css({"width":"100%","height":"100%"}); | ||
87 | + $('.tip-wrap').append(img).css({"background":"none"}); | ||
88 | + $('.tip-wrap .tip').css({"background":"none"}); | ||
84 | $('.tip-wrap').removeClass('hidden'); | 89 | $('.tip-wrap').removeClass('hidden'); |
85 | $('.tip-wrap .title').html(data.message); | 90 | $('.tip-wrap .title').html(data.message); |
86 | } | 91 | } |
-
Please register or login to post a comment