Commit 311b914f authored by wangzhujun's avatar wangzhujun

1232

parent 8e860246
......@@ -111,8 +111,26 @@ export default class StartScene extends Scene {
GCache.writeCache("isGuide2",true);
PanelCtrl.instance.show(ModuleTypes.ConfirmPanel);
}
this.peolab.text = "总共有"+data.activityJoinNum+"人参与活动";
this.scorelab.text = "我的分数:"+data.currentScore;
if(data.activityJoinNum){
if(data.activityJoinNum== "null"){
this.peolab.text = "总共有0人参与活动";
}else{
this.peolab.text = "总共有"+data.activityJoinNum+"人参与活动";
}
}else{
this.peolab.text = "总共有0人参与活动";
}
if(data.currentScore){
if(data.currentScore == "null"){
this.scorelab.text = "我的分数:0";
}else{
this.scorelab.text = "我的分数:"+data.currentScore;
}
}else{
this.scorelab.text = "我的分数:0";
}
if(!GCache.readCache("isGuide")){
GCache.writeCache("isGuide",true);
this.openGuide();
......@@ -126,7 +144,7 @@ export default class StartScene extends Scene {
if(this.type && this.type == 1){
//引导过程中点亮杭州 回到引导页面显示第几位火炬手
// this.hand.visible = true;
this.hand.visible = true;
this.onTap(this.unlockBtn,this.GuideFive);
}else{
if(data.currentLevel>0){
......
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