| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134 | <!DOCTYPE html><html><head>    <meta charset="utf-8">    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />    <link rel="icon" type="image/GIF" href="res/favicon.ico"/>    <meta http-equiv="cache-control" content="no-cache">    <meta name="viewport" content="user-scalable=no" />    <meta name="apple-mobile-web-app-capable" content="yes"/>    <meta name="full-screen" content="yes"/>    <meta name="screen-orientation" content="portrait"/>    <meta name="x5-fullscreen" content="true"/>    <meta name="360-fullscreen" content="true"/>    <title>十滴水</title>     <script src="js/cocos2d-3.0rc1.canvas.v2.min.js"></script>    <style type="text/css">    body{      background: url(img/t01ee19c23c0b43f5a2.jpg);      background-size: 100% 100%;    }    </style></head><body>	     <canvas id="gameCanvas" width="480" height="800" style="background:#fff"></canvas>    <script type="text/javascript">          window.onload = function(){              cc.game.onStart = function(){                  cc.view.enableAutoFullScreen(false);                  cc.view.setDesignResolutionSize(720, 1280, cc.ResolutionPolicy.SHOW_ALL);                  cc.view.resizeWithBrowserSize(true);                  cc.director.setDisplayStats(cc.game.config.showFPS);                  //load resources                  //cc._loaderImage = "";                  cc.LoaderScene.preload(['img/t010f770ba385ffecac.png', 'res/imgs.json', 'img/t011f9c5417b890deb6.png'], function () {                      cc.spriteFrameCache.addSpriteFrames('res/imgs.json', 'img/t010f770ba385ffecac.png');                      cc.director.runScene(new HelloWorldScene());                  }, this);              };              cc.game.run("gameCanvas");          };    </script>    <script language=javascript>		var mebtnopenurl = 'http://game.ikongzhong.cn/games/sds/';var thegameurl ="http://game.ikongzhong.cn/games/sds/"; var guanzhuurl ="http://mp.weixin.qq.com/s?__biz=MzI4MjA2MjE0MQ==&mid=246005295&idx=1&sn=490f8141976d607ba079d48f52a3fcd7#rd";		window.shareData = {		        "imgUrl": "http://mmbiz.qpic.cn/mmbiz/2zpp2iaH4HWEav0bXgBKyx0mQ7g227iagqAbE8ZJmWsrybUI86pNLiaj3ubrNvUSpu3PCUepn8J2TjEDdObhicRS1A/640",		        "timeLineLink": thegameurl,		        "tTitle": "十滴水",		        "tContent": "十滴水"		};						function goHome(){			window.location=mebtnopenurl;		}		function clickMore(){			 if((window.location+"").indexOf("f=zf",1)>0){			 	window.location = mebtnopenurl;			  }			  else{			 	goHome();			  }		}		function dp_share(){			document.getElementById("share").style.display="";					}		function dp_Ranking(){			window.location=mebtnopenurl;		}		function showAd(){		}		function hideAd(){		}		document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() {		    		    WeixinJSBridge.on('menu:share:appmessage', function(argv) {		        WeixinJSBridge.invoke('sendAppMessage', {		            "img_url": window.shareData.imgUrl,		            "link": window.shareData.timeLineLink,		            "desc": window.shareData.tContent,		            "title": window.shareData.tTitle		        }, onShareComplete);		    });		    WeixinJSBridge.on('menu:share:timeline', function(argv) {		        WeixinJSBridge.invoke('shareTimeline', {		            "img_url": window.shareData.imgUrl,		            "img_width": "640",		            "img_height": "640",		            "link": window.shareData.timeLineLink,		            "desc": window.shareData.tContent,		            "title": window.shareData.tTitle		        }, onShareComplete);		    });		}, false);		</script>		<div id=share style="display: none">			<img width=100% src="share.png"				style="position: fixed; z-index: 9999; top: 0; left: 0; display: "				ontouchstart="document.getElementById('share').style.display='none';" />		</div>		<div style="display: none;">			<script type="text/javascript">            var myData = { gameid: "sds" };			function dp_submitScore(score,stitle){				myData.score =parseInt(score);				myData.scoreName = "得了"+score+"分";				document.title =stitle+",小伙伴们也来挑战一下吧!";					window.shareData.tTitle = document.title;			}			function onShareComplete(res) {                if (localStorage.myuid && myData.score != undefined) {                    setTimeout(function(){                        if (confirm("?")) {                            window.location = mebtnopenurl;                        }                        else {                            document.location.href = mebtnopenurl;                        }                    }, 500);                }				else {		        	document.location.href = guanzhuurl ;				}	        }			</script>			<div style="display: none;">							</div>			<script type="text/javascript" src="js/game9g.utils.js"></script></body></html>
 |