noGift.html 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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/noPrizePopup.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. location.href = './index.html?f=' + PageH5.getParam('f') + '&titleIdx=' + PageH5.getParam('titleIdx');
  45. }
  46. window.onload = function() {
  47. init();
  48. }
  49. </script>
  50. </body>
  51. </html>