Commit a335936e authored by 俞嘉婷's avatar 俞嘉婷

1

parent accdab78
......@@ -77,7 +77,7 @@ export class runMainPage extends Scene {
if (success) {
this.startLab.string = `剩余次数:${data.remainJoinNum || 0}`
// 主按钮置灰处理
this.startBtn.getComponent(Sprite).spriteFrame = data.remainJoinNum > 0 ? this.mainBtnSF : this.mainBtnGreySF;
this.startBtn.getChildByName("runmainbtn").getComponent(Sprite).spriteFrame = data.remainJoinNum > 0 ? this.mainBtnSF : this.mainBtnGreySF;
// 新手引导1
if (data.alreadyGuide == 0) {
this.guide1.active = true
......
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