Commit 04668d51 authored by wangzhujun's avatar wangzhujun

1232

parent 34a5bf3d
...@@ -350,21 +350,21 @@ ...@@ -350,21 +350,21 @@
console.log("进入分享图片"); console.log("进入分享图片");
var imgUrl; var imgUrl;
if(num == 1){ if(num == 1){
imgUrl = "" imgUrl = "//yun.duiba.com.cn/db_games/activity/yzw_hjcd/map/maphz.png"
}else if(num == 2){ }else if(num == 2){
imgUrl = "" imgUrl = "//yun.duiba.com.cn/db_games/activity/yzw_hjcd/map/mapam.png"
}else if(num == 3){ }else if(num == 3){
imgUrl = "" imgUrl = "//yun.duiba.com.cn/db_games/activity/yzw_hjcd/map/mapxg.png"
}else if(num == 4){ }else if(num == 4){
imgUrl = "" imgUrl = "//yun.duiba.com.cn/db_games/activity/yzw_hjcd/map/maptb.png"
}else if(num == 5){ }else if(num == 5){
imgUrl = "" imgUrl = "//yun.duiba.com.cn/db_games/activity/yzw_hjcd/map/maprb.png"
}else if(num == 6){ }else if(num == 6){
imgUrl = "" imgUrl = "//yun.duiba.com.cn/db_games/activity/yzw_hjcd/map/maphg.png"
}else if(num == 7){ }else if(num == 7){
imgUrl = "" imgUrl = "//yun.duiba.com.cn/db_games/activity/yzw_hjcd/map/mapcx.png"
}else if(num == 8){ }else if(num == 8){
imgUrl = "" imgUrl = "//yun.duiba.com.cn/db_games/activity/yzw_hjcd/map/mapmg.png"
} }
AlipayJSBridge.call('esportsShare', {imgUrl:imgUrl}); AlipayJSBridge.call('esportsShare', {imgUrl:imgUrl});
} }
...@@ -373,6 +373,7 @@ ...@@ -373,6 +373,7 @@
} }
</script> </script>
<!-- <script> <!-- <script>
//音乐自动播放 //音乐自动播放
$(document).ready(function () { $(document).ready(function () {
......
...@@ -133,17 +133,23 @@ export default class StartScene extends Scene { ...@@ -133,17 +133,23 @@ export default class StartScene extends Scene {
}else{ }else{
this.scorelab.text = "我的分数:0"; this.scorelab.text = "我的分数:0";
} }
if(this.level>0){
if(!GCache.readCache("isGuide")){
GCache.writeCache("isGuide",true); GCache.writeCache("isGuide",true);
this.openGuide(); GCache.writeCache("isGuide2",true);
}else{ }else{
if(!GCache.readCache("isGuide2")){ if(!GCache.readCache("isGuide")){
let data = {type : 2} GCache.writeCache("isGuide",true);
PanelCtrl.instance.show(ModuleTypes.GUIDE_PANEL,data); this.openGuide();
}else{
if(!GCache.readCache("isGuide2")){
let data = {type : 2}
PanelCtrl.instance.show(ModuleTypes.GUIDE_PANEL,data);
}
} }
} }
if(this.type && this.type == 1){ if(this.type && this.type == 1){
//引导过程中点亮杭州 回到引导页面显示第几位火炬手 //引导过程中点亮杭州 回到引导页面显示第几位火炬手
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment