123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182 |
- <!DOCTYPE html>
- <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">
- <meta http-equiv="expires" content="-1">
- <title>空中传媒</title>
- <link rel="stylesheet" type="text/css" href="css/m.min.css">
- </head>
- <body>
- <div id="container">
- </div>
- <script type="text/javascript">
- var mebtnopenurl = 'http://game.ikongzhong.cn';
- window.shareData = {
- "imgUrl": "http://game.ikongzhong.cn/icon/qmxzfzm.png",
- "timeLineLink": "http://game.ikongzhong.cn/games/qmxzfzm/index.html",
- "tTitle": "全民寻找房祖名-空中传媒",
- "tContent": "全民寻找房祖名!虽然柯少向龙叔保证不会带坏房祖名,但龙叔强烈要求你找回祖名。-空中传媒"
- };
- 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 = "我在1分钟内" + (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);
- var myData = {gameid: "qmxzfzm"};
- window.shareData.timeLineLink = "http://game.ikongzhong.cn/games/qmxzfzm";
- function dp_submitScore(score) {
- myData.score = parseInt(score);
- myData.scoreName = "成功寻找" + score + "次房祖名";
- if (score > 1) {
- if (confirm("你一共" + score + "次从柯少身边找到房祖名,你的24k氪金眼还没瞎吗?快让你的朋友也来试试吧")) {
- dp_share();
- }
- }
- }
- function onShareComplete(res) {
- if (localStorage.myuid && myData.score != undefined) {
- setTimeout(function() {
- if (confirm("要将成绩提交到空中传媒排行榜吗?")) {
- window.location = "http://games.vdcomm.cn";
- }
- 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="http://game.ikongzhong.cn/games/qmxzfzm/share.png"
- style="position: fixed; z-index: 9999; top: 0; left: 0; display: "
- ontouchstart="document.getElementById('share').style.display='none';" />
- </div>
- </script>
- <script src="js/libs.min.js"></script>
- <script src="js/main.min3.js"></script>
|