Commit abcdcaad authored by 范雪寒's avatar 范雪寒

feat:

parent dea38c90
...@@ -77,7 +77,7 @@ cc.Class({ ...@@ -77,7 +77,7 @@ cc.Class({
start() { start() {
this.node.zIndex = 9999; this.node.zIndex = 9999;
// this.showWaitingLetters(); this.showWaitingLetters();
cc.game.addPersistRootNode(this.node); cc.game.addPersistRootNode(this.node);
...@@ -124,6 +124,8 @@ cc.Class({ ...@@ -124,6 +124,8 @@ cc.Class({
this.syllabus_id = bundleInfo.syllabus_id; this.syllabus_id = bundleInfo.syllabus_id;
this.role = bundleInfo.role; this.role = bundleInfo.role;
this.hideWaitingLetters();
this.initPetRoomView(bundleInfo); this.initPetRoomView(bundleInfo);
} else if (bundleType == "StoryBox") { } else if (bundleType == "StoryBox") {
this.bundleType = "StoryBox"; this.bundleType = "StoryBox";
...@@ -141,6 +143,8 @@ cc.Class({ ...@@ -141,6 +143,8 @@ cc.Class({
this.baseUrl = bundleInfo.baseUrl; this.baseUrl = bundleInfo.baseUrl;
this.initStoryBoxView(bundleInfo); this.initStoryBoxView(bundleInfo);
} else { } else {
this.hideWaitingLetters();
this.bundleType = "WW"; this.bundleType = "WW";
// WW模板 // WW模板
this.bundleInfoList = bundleInfoList; this.bundleInfoList = bundleInfoList;
...@@ -170,6 +174,8 @@ cc.Class({ ...@@ -170,6 +174,8 @@ cc.Class({
} }
cc.find("middleLayer/storyBox/bg").active = false; cc.find("middleLayer/storyBox/bg").active = false;
this.hideWaitingLetters();
this.syllabus_id = defaultBondle.children[0].id; this.syllabus_id = defaultBondle.children[0].id;
this.loadBundleByConf(defaultBondle.children[0].conf, () => { this.loadBundleByConf(defaultBondle.children[0].conf, () => {
const ExitBtn = cc.find("middleLayer/storyBox/ExitBtn"); const ExitBtn = cc.find("middleLayer/storyBox/ExitBtn");
......
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