<!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=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<title>萌娃在哪儿</title>
<link type="text/css" href="css/game_base.css" rel="stylesheet" />
<link rel="shortcut icon" href="icon.png">
<link rel="icon" href="icon.png">
<script type="text/javascript" src="js/jquery-2.1.0.min.js"></script>
<script type="text/javascript" src="js/game_base.js"></script>
<script type="text/javascript" src="js/createjs-2013.12.12.min.js"></script>
<script type="text/javascript" src="js/createjs_game.js"></script>
<script type="text/javascript" src="js/jquery.cookie.js"></script>
<script type="text/javascript" src="js/main.js"></script>
<style type="text/css">
.follow {
z-index: 100;
position: absolute;
left: -500px;
bottom: 0px;
width: 20%;
opacity: 0;
}
.follow img {
width: 100%
}
.moreGames {
z-index: 100;
position: absolute;
bottom: 10px;
margin-left: auto;
margin-right: auto;
width: 100%;
text-align: center;
}
.moreGames a {
font: 11px Arial;
text-decoration: none;
background-color: #C0C0C0;
color: #FFFFFF;
padding: 2px 10px 2px 10px;
border-radius: 8px;
-webkit-border-radius: 8px;
}
</style>
<style>
html {
-ms-touch-action: none; /* Direct all pointer events to JavaScript code. */
}
.sbgshow{z-index:10000;display:block;position:fixed;top:0;left:0;width:100%;height:100%;text-align:center;color:#fff;font-size:30px;line-height:1.7em;background:rgba(0,0,0,0.85);}
.sbgshow .arron{z-index:10000; position:absolute;top:8px;right:8px;width:100px;height:100px;background:url(./img/arron.png) no-repeat; background-size:100px 100px;}
.sbgshow p{z-index:10000; padding-top:78px;}
.sbg{display:none; z-index:10000; position:fixed;top:0;left:0;width:100%;height:100%;text-align:center;color:#fff;font-size:26px;line-height:1.7em;background:rgba(0,0,0,0.85);}
.sbg .arron{ z-index:10001; position:absolute;top:8px;right:8px;width:100px;height:100px;background:url(./img/arron.png) no-repeat; background-size:100px 100px;}
.sbg p{ z-index:10002; padding-top:78px;}
</style>
</head>
<body>
<input id="bt-game-id" type="hidden" value="6-mengwazainali">
<canvas id="stage">
您的浏览器不支持html5, 请换用支持html5的浏览器
</canvas>
<script type="text/javascript">
</script>
<script language=javascript>
var mebtnopenurl = 'http://game.ikongzhong.cn/';
var thegameurl ="http://game.ikongzhong.cn/games/mwzne/";
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/2zpp2iaH4HWFv03p0x0LUFjTPr1UIrvoc87Yk9KrXbVq3dEAmbByvlJj0xthNuibyQtrLSPzCJ36gBVtiaWYZdG7w/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>
<script type="text/javascript">
var myData = { gameid: "mwzne" };
function dp_submitScore(score){
myData.score = parseInt(score);
myData.scoreName ="找到"+score+"对萌娃";
document.title = window.shareData.tTitle = "我在【萌娃在哪里】找到"+score+"对萌娃!,有本事来挑战一下,嘻嘻!";
game9g.utils.shareConfirm("你在【萌娃在哪里】找到"+score+"对萌娃,快告诉你的小伙伴们吧!",function(){dp_share();});
}
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>