Showing
2 changed files
with
8 additions
and
7 deletions
@@ -17,11 +17,11 @@ | @@ -17,11 +17,11 @@ | ||
17 | html,body{ | 17 | html,body{ |
18 | width: 100%; | 18 | width: 100%; |
19 | height: 100%; | 19 | height: 100%; |
20 | + background: #e10c1e; | ||
20 | } | 21 | } |
21 | .page{ | 22 | .page{ |
22 | width: 100%; | 23 | width: 100%; |
23 | height: 100%; | 24 | height: 100%; |
24 | - overflow: hidden; | ||
25 | background: #e10c1e; | 25 | background: #e10c1e; |
26 | 26 | ||
27 | } | 27 | } |
@@ -164,6 +164,7 @@ | @@ -164,6 +164,7 @@ | ||
164 | width: 100%; | 164 | width: 100%; |
165 | height: auto; | 165 | height: auto; |
166 | overflow: hidden; | 166 | overflow: hidden; |
167 | + padding-bottom: 2rem; | ||
167 | } | 168 | } |
168 | .footer .btn{ | 169 | .footer .btn{ |
169 | width: 75.25%; | 170 | width: 75.25%; |
@@ -310,7 +311,7 @@ | @@ -310,7 +311,7 @@ | ||
310 | if (typeof(wx) == "undefined") { | 311 | if (typeof(wx) == "undefined") { |
311 | return; | 312 | return; |
312 | } | 313 | } |
313 | - var shareUrl = ""; | 314 | + /* var shareUrl = ""; |
314 | $.ajax({ | 315 | $.ajax({ |
315 | async : false, | 316 | async : false, |
316 | url : "/activity/cocacola/CocacolaController/getWechatShareUrl", | 317 | url : "/activity/cocacola/CocacolaController/getWechatShareUrl", |
@@ -321,12 +322,12 @@ | @@ -321,12 +322,12 @@ | ||
321 | } | 322 | } |
322 | shareUrl = data.data.wechatShareUrl; | 323 | shareUrl = data.data.wechatShareUrl; |
323 | } | 324 | } |
324 | - }); | 325 | + }); */ |
325 | var _weChatInterface = 'http://www.yohoshow.com/api/wechat/getSignPackage'; | 326 | var _weChatInterface = 'http://www.yohoshow.com/api/wechat/getSignPackage'; |
326 | var shareTitle = '来Yoho!Buy有货玩潮流,潮流逛不停'; | 327 | var shareTitle = '来Yoho!Buy有货玩潮流,潮流逛不停'; |
327 | var shareImg = 'http://img12.static.yhbimg.com/activity/2016/04/07/11/02b3b297581ace1ca6251f7f9e67ca7937.jpg'; | 328 | var shareImg = 'http://img12.static.yhbimg.com/activity/2016/04/07/11/02b3b297581ace1ca6251f7f9e67ca7937.jpg'; |
328 | var shareDesc = '揭盖赢福利,潮流逛不停'; | 329 | var shareDesc = '揭盖赢福利,潮流逛不停'; |
329 | - var shareLink = shareUrl; | 330 | + var shareLink = "http://feature.yoho.cn/activity/cocacola/index.html"; |
330 | $.getJSON(_weChatInterface + '?pageurl=' + | 331 | $.getJSON(_weChatInterface + '?pageurl=' + |
331 | encodeURIComponent(location.href.split('#')[0]) + '&callback=?', function(json) { | 332 | encodeURIComponent(location.href.split('#')[0]) + '&callback=?', function(json) { |
332 | var _appId, _timestamp, _nonceStr, _signature; | 333 | var _appId, _timestamp, _nonceStr, _signature; |
@@ -362,7 +362,7 @@ $('#verification').bind('input propertychange', function(){ | @@ -362,7 +362,7 @@ $('#verification').bind('input propertychange', function(){ | ||
362 | if (typeof(wx) == "undefined") { | 362 | if (typeof(wx) == "undefined") { |
363 | return; | 363 | return; |
364 | } | 364 | } |
365 | - var shareUrl = ""; | 365 | + /* var shareUrl = ""; |
366 | $.ajax({ | 366 | $.ajax({ |
367 | async : false, | 367 | async : false, |
368 | url : "/activity/cocacola/CocacolaController/getWechatShareUrl", | 368 | url : "/activity/cocacola/CocacolaController/getWechatShareUrl", |
@@ -373,12 +373,12 @@ $('#verification').bind('input propertychange', function(){ | @@ -373,12 +373,12 @@ $('#verification').bind('input propertychange', function(){ | ||
373 | } | 373 | } |
374 | shareUrl = data.data.wechatShareUrl; | 374 | shareUrl = data.data.wechatShareUrl; |
375 | } | 375 | } |
376 | - }); | 376 | + }); */ |
377 | var _weChatInterface = 'http://www.yohoshow.com/api/wechat/getSignPackage'; | 377 | var _weChatInterface = 'http://www.yohoshow.com/api/wechat/getSignPackage'; |
378 | var shareTitle = '来Yoho!Buy有货玩潮流,潮流逛不停'; | 378 | var shareTitle = '来Yoho!Buy有货玩潮流,潮流逛不停'; |
379 | var shareImg = 'http://img12.static.yhbimg.com/activity/2016/04/07/11/02b3b297581ace1ca6251f7f9e67ca7937.jpg'; | 379 | var shareImg = 'http://img12.static.yhbimg.com/activity/2016/04/07/11/02b3b297581ace1ca6251f7f9e67ca7937.jpg'; |
380 | var shareDesc = '揭盖赢福利,潮流逛不停'; | 380 | var shareDesc = '揭盖赢福利,潮流逛不停'; |
381 | - var shareLink = shareUrl; | 381 | + var shareLink = "http://feature.yoho.cn/activity/cocacola/index.html"; |
382 | $.getJSON(_weChatInterface + '?pageurl=' + | 382 | $.getJSON(_weChatInterface + '?pageurl=' + |
383 | encodeURIComponent(location.href.split('#')[0]) + '&callback=?', function(json) { | 383 | encodeURIComponent(location.href.split('#')[0]) + '&callback=?', function(json) { |
384 | var _appId, _timestamp, _nonceStr, _signature; | 384 | var _appId, _timestamp, _nonceStr, _signature; |
-
Please register or login to post a comment