This commit is contained in:
guoqing.zhu 2022-06-15 16:39:32 +08:00
parent bfdc4f0212
commit 80d538ee33
3 changed files with 34083 additions and 56 deletions

File diff suppressed because it is too large Load Diff

View File

@ -183,17 +183,28 @@ cc.Class({
default: null, default: null,
type: cc.Node, type: cc.Node,
}, },
btn_shop: {
default: null,
type: cc.Node,
},
btn_acdemy: {
default: null,
type: cc.Node,
},
}, },
onLoad() { onLoad() {
cc.audioEngine.stopAll(); cc.audioEngine.stopAll();
// NetManage.getOptionSwitch((res) => { NetManage.getOptionSwitch((res) => {
// console.log('get switch' + JSON.stringify(res)); console.log('get switch' + JSON.stringify(res));
// if (res.open_list.includes(1)) { if (res.open_list.includes(2)) {
// this.btn_task.active = true; this.btn_acdemy.active = true;
// } this.btn_shop.active = true;
// }); }
});
}, },
start() { start() {
//test //test

File diff suppressed because one or more lines are too long