123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253 |
-
- <html>
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,minimal-ui">
- <meta http-equiv="pragma" content="no-cache">
- <meta http-equiv="Cache-Control" content="no-cache, must-revalidate">
- <div id='wx_pic' style='margin:0 auto;display:none;'>
- <img src='photo.jpg' />
- </div>
- <meta http-equiv="expires" content="-1">
- <title>腊八节的抓迷藏,试试吧!</title>
- <link rel="stylesheet" type="text/css" href="m.min.css">
- </head>
- <style>
- html,body,{
- margin: 0px;
- padding: 0px;
- border:none;
- text-align: center;
- }
- #container{
- height:90%;
-
- }
- #share-wx{
- background:rgba(0,0,0,0.8);
- position:absolute;top:0px;
- left:0px;
- width:100%;
- height:100%;
- z-index:10000;
- display:none;
- }
- #wx-qr{
- background:rgba(0,0,0,0.8);
- position:absolute;top:0px;
- left:0px;
- width:100%;
- height:100%;
- z-index:10000;
- display:none;
- }
- .lis{overflow: hidden;width: 100%;z-index: 99999;position: absolute;top:0;right:0;left:1}
- .lis a{display: block;width:100%;color:#ffffff;font-size:14px;text-decoration: none;background:#606783;text-align: center;opacity: 0.5;line-height:30px;font-weight: bold;font-family:"微软雅黑"}
- .lis a img{position: relative;top: 1px;}
- .ads{overflow: hidden;width: 100%;z-index: 999999;position: absolute;bottom:0;right:1}
- </style>
- <body>
- <!--div class="lis">
- <div style="float: left;width:33%;"><a style="border-bottom: 3px solid #fd6766;" href="/list/">游戏列表</a></div>
- <div style="float: left;width:34%;"><a style="border-bottom: 3px solid #04fece;" href="/jump/zjkbst.do">关注收藏</a></div>
- <div style="float: left;width:33%;"><a style="width:100%;margin:0;border-bottom: 3px solid #fdcd01;" onclick="location.href=location.href;" href="javascript:;" ><img width="15" src="4.png">重玩</a></div>
- </div-->
- <div id="container">
-
- </div>
-
- <script language=javascript>
- var mebtnopenurl = 'http://game.ikongzhong.cn';
- window.shareData = {
- "imgUrl": "http://game.ikongzhong.cn/icon/jolin.png",
- "timeLineLink": "http://game.ikongzhong.cn/games/jolin",
- "tTitle": "腊八节,饿了么!我已经吃了40碗红豆粥,你也来尝尝呗!",
- "tContent": "腊八节,饿了么!我已经吃了40碗红豆粥,你也来尝尝呗!"
- };
-
- function goHome(){
- window.location=mebtnopenurl;
- }
- function clickMore(){
- if((window.location+"").indexOf("zf",1)>0){
- window.location = "http://game.ikongzhong.cn/";
- }
- else{
- goHome();
- }
- }
- function dp_share(){
- document.title ="腊八节,饿了么!我已经吃了"+myData.score+"碗红豆粥,你也来尝尝呗!";
- document.getElementById("share").style.display="";
- window.shareData.tTitle = document.title;
- }
- 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 style="display: none;">
- <script type="text/javascript">
- var myData = { gameid: "djyqlzmz" };
- //window.shareData.timeLineLink = "http://game.ikongzhong.cn/gamecenter.html?gameid=" + myData.gameid + (localStorage.myuid ? "&uid=" + localStorage.myuid : "");
- function dp_submitScore(score){
- myData.score = score;
- myData.scoreName ="吃了"+score+"碗红豆粥";
- if(score>1){
- if (confirm("屌爆了你"+myData.scoreName+",惊为天人不把这个游戏告诉你的小伙伴儿,那就太不厚道咯!")){
- dp_share();
- }
- else {
- dp_share();
- }
- }
- }
- function onShareComplete(res) {
- if (localStorage.myuid && myData.score != undefined) {
- setTimeout(function(){
- if (confirm("要将成绩分享到朋友圈吗?")) {
- // window.location = "http://wx.9g.com/rank/submit2.jsp?gameid=" + myData.gameid + "&uid=" + localStorage.myuid + "&score=" + myData.score + "&scorename=" + encodeURIComponent(myData.scoreName);
- }
- else {
- document.location.href = mebtnopenurl;
- }
- }, 500);
- }
- else {
- document.location.href = mebtnopenurl;
- }
- }
- </script>
-
- </body>
- </html>
- <script id="tpl" type="text/html">
- <div class="grid">
- <div class="page hide" id="loading">
- <div class="loading-txt"><%=loading%></div>
- </div>
- <div class="page hide" id="index">
- <h1><%=title%></h1>
- <div id="help"><%=help_txt%></div>
- <div class="btns">
- <button data-type="color" class="btn play-btn">
- <%=btn_start%>
- </button>
- <a href="javascript:void(0);" onclick="clickMore();" class="btn btn-boyaa">
- <%=btn_more_game%>
- </a>
- </div>
- </div>
- <div class="page hide" id="room">
- <header>
- <span class="lv">
- <%=score%>
- <em>
- 1
- </em>
- </span>
- <span class="time">
- </span>
- <span class="btn btn-pause">
- <%=btn_pause%>
- </span>
-
- </header>
- <div id="box" class="lv1">
- </div>
- </div>
- <div class="page hide" id="dialog">
- <div class="inner">
- <div class="content gameover">
- <div class="inner-content">
-
- <h3></h3>
- <div class="btn-wrap">
- <button class="btn btn-restart">
- <%=btn_reTry%>
- </button>
- <a href="javascript:void(0);" onclick="clickMore();" class="btn btn-boyaa">
- <%=btn_more_game%>
- </a>
- </div>
-
-
- </div>
- </div>
- <div class="content pause">
- <div class="inner-content">
-
- <h3>
- <%=game_pause%>
- </h3>
- <div class="btn-wrap">
- <button class="btn btn-resume">
- <%=btn_resume%>
- </button>
- <a href="javascript:void(0);" onclick="clickMore();" class="btn btn-boyaa">
- <%=btn_more_game%>
- </a>
- </div>
-
- </div>
- </div>
- </div>
- </ins>
- </div>
- </div>
- <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>
- </script>
- <script src="libs.min.js"></script>
- <script src="main.min.js"></script>
- <!--百度-->
- <div style="display: none;">
-
- </div>
- <!--百度-->
|