12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- <!DOCTYPE HTML>
- <html>
- <head>
- <meta charset="utf-8">
- <title>愚公移山</title>
- <meta name="viewport"
- content="width=device-width,initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"/>
- <meta name="apple-mobile-web-app-capable" content="yes"/>
- <meta name="HandheldFriendly" content="True">
- <meta name="apple-mobile-web-app-capable" content="yes"/>
- <meta name="apple-touch-fullscreen" content="yes" />
- <meta name="full-screen" content="true"/>
- <meta name="screen-orientation" content="portrait"/>
- <meta name="x5-fullscreen" content="true"/>
- <meta name="360-fullscreen" content="true"/>
- <base id="base" href=""/>
- <style>
- body {
- text-align: center;
- background: #000000;
- padding: 0;
- border: 0;
- margin: 0;
- height: 100%;
- }
- html {
- -ms-touch-action: none; /* Direct all pointer events to JavaScript code. */
- }
- </style>
- </head>
- <body>
- <script>
- function gotoUrl(url){
- //window.location.href = url;
- window.open(url,"_blank");
- }
- window["gotoUrl"] = gotoUrl;
- window.addEventListener("dblclick", function (event) {
- console.log("sdfsfasdfsdf");
- event.stopPropagation();
- event.preventDefault();
- });
- </script>
- <!--<div id="loadingDiv"><img id="loadingImg" src="loading.jpg"></div>-->
- <div style="position:relative;" id="gameDiv"></div>
- <!--<script>-->
- <!--var ldimg=document.getElementById("loadingImg");-->
- <!--ldimg.addEventListener('load', function () {-->
- <!--var imgw= document.body.clientWidth;-->
- <!--var imgh= imgw / ldimg.width * ldimg.height ;-->
- <!--console.log("imgW" + imgw)-->
- <!--console.log("imgh" + imgh)-->
- <!--ldimg.width = imgw;-->
- <!--ldimg.height = imgh;-->
- <!--});-->
- <!--</script>-->
- <script>var document_class = "GameApp";</script><!--这部分内容在编译时会被替换,要修改文档类,请到工程目录下的egretProperties.json内编辑。-->
- <script src="egret_require.js"></script>
- <script>
- egret_h5.loadSingleScript("game_config.js?r=" + Math.random(),function (){
- var base = document.getElementById("base");
- window.game_base = game_version + "/";
- base.href = window.game_base;
- egret_h5.loadScript(game_preload_list, function (){
- egret_h5.startGame();
- });
- });
- window.addEventListener("dblclick", function (event) {
- console.log("sdfsfasdfsdf");
- event.stopPropagation();
- event.preventDefault();
- });
- </script>
- </body>
- </html>
|