Commit ae17782c authored by wangzhujun's avatar wangzhujun

1232

parent 8e94e4bf
......@@ -80,6 +80,10 @@ export default class StartScene extends Scene {
GCache.writeCache("isGuide",true);
this.openGuide();
}
if(!GCache.readCache("isGuide2")){
let data = {type : 2}
PanelCtrl.instance.show(ModuleTypes.GUIDE_PANEL,data);
}
if(this.type && this.type == 1){
//引导过程中点亮杭州 回到引导页面显示第几位火炬手
......
......@@ -70,19 +70,19 @@ export default class GuidePanel extends Panel{
}
initXuanshi(){
GCache.writeCache("isGuide",true);
GCache.writeCache("isGuide2",true);
this.guide1.visible = false;
this.guide2.visible = false;
this.guide3.visible = false;
this.xuanshi.visible = true;
this.dianran.visible = false;
if(this.data.type == 2){
this.onTap(this.closeBtn,()=>{this.hidePanel()});
this.onTap(this.fireBtn,()=>{this.hidePanel()});
}else{
// if(this.data.type == 2){
// this.onTap(this.closeBtn,()=>{this.hidePanel()});
// this.onTap(this.fireBtn,()=>{this.hidePanel()});
// }else{
this.onTap(this.closeBtn,this.backStartScene);
this.onTap(this.fireBtn,this.backStartScene);
}
// }
}
initDianran(data){
......
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