|
@@ -92,6 +92,7 @@
|
|
|
<img id="sendWeiboBtn" src="img/shareBtn.gif" style="position: absolute; top:50%; left: 25%; width: 50%; display: none" >
|
|
<img id="sendWeiboBtn" src="img/shareBtn.gif" style="position: absolute; top:50%; left: 25%; width: 50%; display: none" >
|
|
|
<!-- 新增 ==============-->
|
|
<!-- 新增 ==============-->
|
|
|
<img id="jiangImg" src="resource/assets/homePrizeBtn.png" style="position: fixed; right: 1em;top: 3em; width: 15%;" >
|
|
<img id="jiangImg" src="resource/assets/homePrizeBtn.png" style="position: fixed; right: 1em;top: 3em; width: 15%;" >
|
|
|
|
|
+ <img id="rankImg" src="img/rankBtn.png" style="position: fixed; right: 1em;top: 7em; width: 15%;" >
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div id="canvasDIV" style=" vertical-align: middle; text-align: center; position: absolute; width: 100%; height: 100%; top:0px;left:0px; display: none; ">
|
|
<div id="canvasDIV" style=" vertical-align: middle; text-align: center; position: absolute; width: 100%; height: 100%; top:0px;left:0px; display: none; ">
|
|
@@ -148,7 +149,7 @@
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
var data = `{ "initial": [ "js/all.min.js" ],
|
|
var data = `{ "initial": [ "js/all.min.js" ],
|
|
|
- "game": [ "js/default.thm.js?v=9" , "js/main.min.js?v=9" ]
|
|
|
|
|
|
|
+ "game": [ "js/default.thm.js?v=10" , "js/main.min.js?v=10" ]
|
|
|
}`;
|
|
}`;
|
|
|
var manifest = JSON.parse(data);
|
|
var manifest = JSON.parse(data);
|
|
|
var list = manifest.initial.concat(manifest.game);
|
|
var list = manifest.initial.concat(manifest.game);
|
|
@@ -293,6 +294,8 @@
|
|
|
// 添加------------
|
|
// 添加------------
|
|
|
var isBeginActivity = 1;
|
|
var isBeginActivity = 1;
|
|
|
|
|
|
|
|
|
|
+ var canJump = 1;
|
|
|
|
|
+
|
|
|
// 登录接口
|
|
// 登录接口
|
|
|
theTokenData = '<?php echo $token; ?>';
|
|
theTokenData = '<?php echo $token; ?>';
|
|
|
playCount = '<?php echo $count; ?>';
|
|
playCount = '<?php echo $count; ?>';
|
|
@@ -340,6 +343,13 @@
|
|
|
$('#sendWeiboBtn').hide();
|
|
$('#sendWeiboBtn').hide();
|
|
|
$('#tipDIV').show();
|
|
$('#tipDIV').show();
|
|
|
$('#tipImg').attr('src' , 'img/tip02.jpg');
|
|
$('#tipImg').attr('src' , 'img/tip02.jpg');
|
|
|
|
|
+
|
|
|
|
|
+ setTimeout(function(){
|
|
|
|
|
+ if(canJump == 1){
|
|
|
|
|
+ window.location.href = "http://s.weibo.com/weibo?q=%23%E5%BE%AE%E5%8D%9A%E7%94%B5%E5%BD%B1%E4%B9%8B%E5%A4%9C%23"
|
|
|
|
|
+ }
|
|
|
|
|
+ } , 5000)
|
|
|
|
|
+
|
|
|
}else{
|
|
}else{
|
|
|
console.log("playCount = " + playCount )
|
|
console.log("playCount = " + playCount )
|
|
|
}
|
|
}
|
|
@@ -679,6 +689,16 @@
|
|
|
|
|
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
+ // 新增 0725---------
|
|
|
|
|
+ $('#rankImg').click(function(){
|
|
|
|
|
+ $('#tipDIV').hide();
|
|
|
|
|
+ hideBtnDIV();
|
|
|
|
|
+ MainGame.self.showRankPage();
|
|
|
|
|
+ RankPage.self.showTipImg();
|
|
|
|
|
+ })
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
$('#linkBtn').click(function(){
|
|
$('#linkBtn').click(function(){
|
|
|
hideBtnDIV();
|
|
hideBtnDIV();
|
|
|
MainGame.self.showRankPage();
|
|
MainGame.self.showRankPage();
|
|
@@ -781,7 +801,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
+<script>
|
|
|
|
|
+var _hmt = _hmt || [];
|
|
|
|
|
+(function() {
|
|
|
|
|
+ var hm = document.createElement("script");
|
|
|
|
|
+ hm.src = "https://hm.baidu.com/hm.js?6ce0a606815de6165a7d60a0d5e364d9";
|
|
|
|
|
+ var s = document.getElementsByTagName("script")[0];
|
|
|
|
|
+ s.parentNode.insertBefore(hm, s);
|
|
|
|
|
+})();
|
|
|
|
|
+</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
</body>
|
|
</body>
|