123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no" />
- <title>足球大师</title>
- <!--jQuery-->
- <script type="text/javascript" src="js/createjs.min.js"></script>
- <script type="text/javascript" src="js/zepto.min.js"></script>
- <script src="js/common.js"></script>
- <link type="text/css" href="js/common.css" rel="stylesheet" />
- <style>
- body,html{padding:0;margin:0;width:100%;height:100%;background:#000;-webkit-tap-highlight-color: transparent;}
- canvas{width:100%;height:100%;}
- #container{
- position:absolute;
- bottom:0;left:0;width:100%;height:100%;
- }
- </style>
- </head>
- <body>
- <script type="text/javascript">
-
- </script>
- <div id="container">
- <canvas id="canvas"></canvas>
- </div>
- <div style="display: none;">
- </div>
- <script src="js/index.js"></script>
- <script src="js/flyline.js"></script>
- <script language=javascript>
- var mebtnopenurl = 'http://game.ikongzhong.cn/';
- var thegameurl ="http://game.ikongzhong.cn/games/zqds/";
- var guanzhuurl ="http://mp.weixin.qq.com/s?__biz=MzI4MjA2MjE0MQ==&mid=246005295&idx=1&sn=490f8141976d607ba079d48f52a3fcd7#rd";
- var is9gUser=false;
- window.shareData = {
- "imgUrl": "http://mmbiz.qpic.cn/mmbiz/2zpp2iaH4HWE92HhqV9004ib4JDjX8NNnn1WpTricDylYZJtajFfPRfE4vW3hLNrZDRbOoXEU9sFPMS4HPRSjyRZA/640",
- "timeLineLink": thegameurl,
- "tTitle": "足球大师",
- "tContent": "足球大师"
- };
-
- function goHome(){
- window.location=mebtnopenurl;
- }
- function clickMore(){
- if((window.location+"").indexOf("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="http://g.9g.com/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: "zqds" };
-
- function dp_submitScore(score,place){
- myData.score = parseInt(score*10);
- myData.scoreName = "踢了"+score+"米";
- if(score>0){
- game9g.utils.shareConfirm("小伙伴!你太棒了!一脚踢了"+score+"米踢到了"+place+"!在朋友圈里show出来,和你兄弟姐妹们比比谁NB!",dp_share,"提示");
- document.title ="小伙伴!你太棒了!一脚踢了"+score+"米踢到了"+place+"!在朋友圈里show出来,和你兄弟姐妹们比比谁NB!";
- window.shareData.tTitle = document.title;
-
-
- }
- }
- function onShareComplete(res) {
- if (localStorage.myuid && myData.score>0) {
- 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?r="+Math.rand()></script>
- </body>
- </html>
|