index.html 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>吃货大作战</title>
  6. <link rel="icon" type="image/GIF" href="res/favicon.ico"/>
  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. <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
  13. <script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
  14. <style>
  15. html{
  16. background: #fff;
  17. }
  18. body, canvas, div {
  19. -moz-user-select: none;
  20. -webkit-user-select: none;
  21. -ms-user-select: none;
  22. -khtml-user-select: none;
  23. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  24. }
  25. #toolbar {
  26. position: absolute;
  27. width: 60%;
  28. bottom: 0%;
  29. z-index: 99;
  30. margin: auto;
  31. text-align: center;
  32. left: 20%;
  33. display:none;
  34. }
  35. .btn {
  36. width:60%;
  37. margin-left: 10px;
  38. margin-bottom:0px;
  39. }
  40. </style>
  41. <link rel="stylesheet" type="text/css" href="game.css">
  42. </head>
  43. <body style="padding:0; margin: 0; background: #fff;">
  44. <div id="toolbar">
  45. <img class="btn" src="moregame.png?v=1" onclick="clickMore();"/>
  46. </div>
  47. <canvas id="gameCanvas" width="640" height="960"></canvas>
  48. <script>
  49. </script>
  50. <script src="game.min.js?v1.0"></script>
  51. <script language=javascript>
  52. (function (){
  53. // updateShare(0);
  54. })();
  55. function goHome(){
  56. //q去首页
  57. //Play68.goHome();
  58. }
  59. function clickMore(){
  60. //更多游戏
  61. //Play68.goHome();
  62. }
  63. function dp_share(){
  64. //提交分数
  65. // play68_submitScore(window.score);
  66. }
  67. function dp_Ranking(){
  68. }
  69. function dp_submitScore(score){
  70. }
  71. </script>
  72. <script type="text/JavaScript">
  73. window.shareData={
  74. 'title':'吃货大作战',
  75. 'link':'http://game.ikongzhong.cn/games/chdzz/',
  76. 'imgurl':'http://game.ikongzhong.cn/games/chdzz/icon.png'
  77. }
  78. window.shareFriendData={
  79. 'title':'吃货大作战',
  80. 'content':'关注空中传媒网络科技,更多好玩的游戏等着你。',
  81. 'link':'http://game.ikongzhong.cn/games/chdzz/',
  82. 'imgurl':'http://game.ikongzhong.cn/games/chdzz/icon.png'
  83. }
  84. </script>
  85. <script type="text/JavaScript" src="http://gc.veiying.cn/code"></script>
  86. </body>
  87. </html>