This commit is contained in:
TJH 2025-12-10 15:24:07 +08:00
parent 3484c23c93
commit dce8428efd

View File

@ -646,7 +646,6 @@ export class SlotBar extends Component {
//111
SPIN_ACTIVE = true;
MSG_ACTIVE = true;
BTNS1_ACTIVE = true;
BTNS2_ACTIVE = false;
BTNS3_ACTIVE = false;
@ -657,13 +656,12 @@ export class SlotBar extends Component {
this.BTNS2_ACTIVE = this.btns2.active;
this.BTNS3_ACTIVE = this.btns3.active;
this.SPIN_ACTIVE = this.spinNode.active;
this.MSG_ACTIVE = this.msg.active;
this.btns1.active = false;
this.btns2.active = false;
this.btns3.active = false;
this.spinNode.active = false;
this.msg.active = false;
this.msg.setPosition(0, -900, 0)
this.showLeftCount(leftCount);
}
@ -689,7 +687,7 @@ export class SlotBar extends Component {
this.btns2.active = this.BTNS2_ACTIVE;
this.btns3.active = this.BTNS3_ACTIVE;
this.spinNode.active = this.SPIN_ACTIVE;
this.msg.active = this.MSG_ACTIVE;
this.msg.setPosition(0, -680, 0)
}
// 设置按钮可以点击并且置灰的函数