noPrize.html 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>奖品已发放完</title>
  5. <!--#include virtual="/h5v2/htm2/head.htm" -->
  6. <style type="text/css">
  7. body {
  8. background-image: url(img/prizeOverPopup.jpg);
  9. }
  10. .btn_focus_btn {
  11. border: 3px solid #fff;
  12. border-radius: 20px;
  13. box-shadow: 0px 0px 10px #3794e2;
  14. }
  15. </style>
  16. </head>
  17. <body>
  18. <div id="buttonDiv"></div>
  19. <!--#include virtual="/h5v2/htm2/foot.htm" -->
  20. <!--#include virtual="activity_cfg.htm" -->
  21. <script type="text/javascript">
  22. var linkImage = CONFIG.SPACER; //透明图片
  23. var buttons = []; //按钮数组
  24. var act_id = ACTIVITY_CFG.ACT_ID,
  25. act_code = ACTIVITY_CFG.ACT_CODE; //活动id及code
  26. var dudu_is_vip = PageH5.cookie.get('activity_is_vip');
  27. var uid = PageH5.cookie.get('activity_userid');
  28. function init() {
  29. var html = '';
  30. html += '<div style="position:absolute;left: 580px;top:644px;"><img id="btn" src="./img/btn_back.png"/></div>';
  31. G('buttonDiv').innerHTML = html;
  32. buttons.push({
  33. id: 'btn',
  34. action: back,
  35. left: '',
  36. right: '',
  37. up: '',
  38. down: '',
  39. focusClass: 'btn',
  40. });
  41. PageH5.btn.init('btn', buttons, '', true);
  42. }
  43. function back() {
  44. if (PageH5.getParam('from') == 'winningInfo') {
  45. location.href = './winningInfo.html';
  46. } else if (PageH5.getParam('from') == 'medalInfo') {
  47. location.href = './medalInfo.html';
  48. } else {
  49. location.href = './index.html';
  50. }
  51. }
  52. // function back() {
  53. // location.href = './index.html?f=' + PageH5.getParam('f') + '&titleIdx=' + PageH5.getParam('titleIdx');
  54. // }
  55. window.onload = function() {
  56. init();
  57. }
  58. </script>
  59. </body>
  60. </html>