noGift.html 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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/noGift.jpg);
  9. }
  10. </style>
  11. </head>
  12. <body>
  13. <div id="buttonDiv"></div>
  14. <!--#include virtual="/h5v2/htm2/foot.htm" -->
  15. <!--#include virtual="activity_cfg.htm" -->
  16. <script type="text/javascript">
  17. var linkImage = CONFIG.SPACER;//透明图片
  18. var buttons = [];//按钮数组
  19. var act_id = ACTIVITY_CFG.ACT_ID, act_code = ACTIVITY_CFG.ACT_CODE;//活动id及code
  20. var is_vips = PageH5.cookie.get('activity_is_vip','0,0');
  21. var uid = PageH5.cookie.get('activity_userid'),
  22. dudu_is_vip = parseInt(is_vips.split(',')[0]),
  23. child_is_vip = parseInt(is_vips.split(',')[1]);
  24. function init(){
  25. var html = '';
  26. html+='<div style="position:absolute;left:572px;top:613px;"><img id="btn0" src="'+linkImage+'"/></div>';
  27. G('buttonDiv').innerHTML = html;
  28. var obj = {
  29. id: 'btn0', action: goAction,
  30. left: '',
  31. right: '',
  32. up: '',
  33. down: '',
  34. focusImage:'img/again_focus.png'
  35. };
  36. buttons.push(obj);
  37. PageH5.btn.init([PageH5.getParam('f'), 'btn0'], buttons, '', true);
  38. }
  39. function goAction(button){
  40. back();
  41. }
  42. function back(){
  43. location.href = url_prefix + 'index.html';
  44. }
  45. window.onload = function(){
  46. init();
  47. }
  48. </script>
  49. </body>
  50. </html>