Commit 22ee702c authored by wildfirecode's avatar wildfirecode

Merge branch 'dev' of http://gitlab2.dui88.com/wanghongyuan/yyh into dev

parents 399b3d5a 04668d51
......@@ -350,21 +350,21 @@
console.log("进入分享图片");
var imgUrl;
if(num == 1){
imgUrl = ""
imgUrl = "//yun.duiba.com.cn/db_games/activity/yzw_hjcd/map/maphz.png"
}else if(num == 2){
imgUrl = ""
imgUrl = "//yun.duiba.com.cn/db_games/activity/yzw_hjcd/map/mapam.png"
}else if(num == 3){
imgUrl = ""
imgUrl = "//yun.duiba.com.cn/db_games/activity/yzw_hjcd/map/mapxg.png"
}else if(num == 4){
imgUrl = ""
imgUrl = "//yun.duiba.com.cn/db_games/activity/yzw_hjcd/map/maptb.png"
}else if(num == 5){
imgUrl = ""
imgUrl = "//yun.duiba.com.cn/db_games/activity/yzw_hjcd/map/maprb.png"
}else if(num == 6){
imgUrl = ""
imgUrl = "//yun.duiba.com.cn/db_games/activity/yzw_hjcd/map/maphg.png"
}else if(num == 7){
imgUrl = ""
imgUrl = "//yun.duiba.com.cn/db_games/activity/yzw_hjcd/map/mapcx.png"
}else if(num == 8){
imgUrl = ""
imgUrl = "//yun.duiba.com.cn/db_games/activity/yzw_hjcd/map/mapmg.png"
}
AlipayJSBridge.call('esportsShare', {imgUrl:imgUrl});
}
......@@ -373,6 +373,7 @@
}
</script>
<!-- <script>
//音乐自动播放
$(document).ready(function () {
......
......@@ -133,17 +133,23 @@ export default class StartScene extends Scene {
}else{
this.scorelab.text = "我的分数:0";
}
if(!GCache.readCache("isGuide")){
if(this.level>0){
GCache.writeCache("isGuide",true);
this.openGuide();
GCache.writeCache("isGuide2",true);
}else{
if(!GCache.readCache("isGuide2")){
let data = {type : 2}
PanelCtrl.instance.show(ModuleTypes.GUIDE_PANEL,data);
if(!GCache.readCache("isGuide")){
GCache.writeCache("isGuide",true);
this.openGuide();
}else{
if(!GCache.readCache("isGuide2")){
let data = {type : 2}
PanelCtrl.instance.show(ModuleTypes.GUIDE_PANEL,data);
}
}
}
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