Commit c6e86cde authored by wangzhujun's avatar wangzhujun

1232

parent 1193bf01
...@@ -44,6 +44,7 @@ export default class StartScene extends Scene { ...@@ -44,6 +44,7 @@ export default class StartScene extends Scene {
private pkExposure:any; private pkExposure:any;
constructor(data){ constructor(data){
super(); super();
this.initBuired();
if(data.type){ if(data.type){
this.startdata = data.data; this.startdata = data.data;
this.level = data.data.currentLevel this.level = data.data.currentLevel
...@@ -115,11 +116,13 @@ export default class StartScene extends Scene { ...@@ -115,11 +116,13 @@ export default class StartScene extends Scene {
if(!GCache.readCache("isGuide")){ if(!GCache.readCache("isGuide")){
GCache.writeCache("isGuide",true); GCache.writeCache("isGuide",true);
this.openGuide(); this.openGuide();
}else{
if(!GCache.readCache("isGuide2")){
let data = {type : 2}
PanelCtrl.instance.show(ModuleTypes.GUIDE_PANEL,data);
}
} }
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