index.html 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>搞定2048</title>
  6. <link rel="icon" type="image/png" href="res/icon.png"/>
  7. <meta name="apple-mobile-web-app-capable" content="yes"/>
  8. <meta name="full-screen" content="yes"/>
  9. <meta name="screen-orientation" content="portrait"/>
  10. <meta name="x5-fullscreen" content="true"/>
  11. <meta name="360-fullscreen" content="true"/>
  12. <style>
  13. body, canvas, div {
  14. -moz-user-select: none;
  15. -webkit-user-select: none;
  16. -ms-user-select: none;
  17. -khtml-user-select: none;
  18. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  19. }
  20. </style>
  21. </head>
  22. <body style="padding:0; margin: 0; background: #000;" >
  23. <canvas id="gameCanvas" width="400" height="660"></canvas>
  24. <script src="game.min.js"></script>
  25. <script>
  26. function shareSet(step){
  27. };
  28. function clickShareSet(){
  29. play68_submitScore(window.__score);
  30. };
  31. function clickSC(){
  32. Play68.goHome();
  33. };
  34. var fenxi = 0;
  35. function getCallback(){
  36. return fenxi;
  37. };
  38. </script>
  39. <style>
  40. <!--
  41. * {margin: 0;padding:0;}
  42. body {background: #222;}
  43. ol {list-style: none;}
  44. img {border: 0 none;}
  45. #pby {
  46. text-align:center;
  47. color:#fff;
  48. width: 320px;
  49. height: 14px;
  50. position: absolute;
  51. left:50%;
  52. margin-left: -160px;
  53. bottom: 0px;
  54. }
  55. #myad{
  56. }
  57. .wxfxClock{display:block;position:fixed;top:0;left:0;width:100%;height:100%;text-align:center;color:#fff;font-size:30px;line-height:1.7em;background:rgba(0,0,0,0.85);}
  58. .wxfxClock .arron{ position:absolute;top:8px;right:8px;width:100px;height:100px;background:url(/res/arron.png) no-repeat; background-size:100px 100px;}
  59. .wxfxClock p{padding-top:78px;}
  60. .wxfx{display:none;position:fixed;top:0;left:0;width:100%;height:100%;text-align:center;color:#fff;font-size:24px;line-height:1.7em;background:rgba(0,0,0,0.85);}
  61. .wxfx .arron{ position:absolute;top:8px;right:8px;width:100px;height:100px;background:url(/res/arron.png) no-repeat; background-size:100px 100px;}
  62. .wxfx p{padding-top:78px;}
  63. .wxfx2{display:none;position:fixed;top:0;left:0;width:100%;height:100%;text-align:center;color:#fff;font-size:24px;line-height:1.7em;background:rgba(0,0,0,0.85);}
  64. .wxfx2 .arron{ position:absolute;top:8px;right:8px;width:100px;height:100px;background:url(/res/arron.png) no-repeat; background-size:100px 100px;}
  65. .wxfx2 p{padding-top:78px;}
  66. -->
  67. </style>
  68. </body>
  69. </html>