79 lines
2.0 KiB
TypeScript
79 lines
2.0 KiB
TypeScript
import { _decorator, Component, Node, director } from "cc";
|
|
import { rachageModel } from "./rachageModel";
|
|
import { rechargeNum } from "./RechageNum";
|
|
import { Substitute } from "./Substitute";
|
|
import { userdata } from "./userdata";
|
|
import { WithdrawalModal } from "./Withdrawal/WithdrawalModal";
|
|
import { WithdrawalData } from "./Withdrawal/WithdrawalData";
|
|
import { tanchuan } from "./TanChuang";
|
|
import { WithdrawalView } from "./Withdrawal/WithdrawalView";
|
|
import { WhView } from "./Withdrawal/WhView";
|
|
|
|
Substitute;
|
|
|
|
const { ccclass, property } = _decorator;
|
|
import { main } from "./main";
|
|
|
|
@ccclass("close")
|
|
export class close extends Component {
|
|
@property(main)
|
|
main: main = null;
|
|
@property(rachageModel)
|
|
rachagemodel: rachageModel = null;
|
|
@property(rechargeNum)
|
|
rechargenum: rechargeNum = null;
|
|
@property(Substitute)
|
|
substitute: Substitute = null;
|
|
@property(userdata)
|
|
userdata: userdata = null;
|
|
@property(WithdrawalModal)
|
|
WithdrawalModal: WithdrawalModal = null;
|
|
@property(WithdrawalData)
|
|
WithdrawalData: WithdrawalData = null;
|
|
@property(WithdrawalView)
|
|
WithdrawalView: WithdrawalView = null;
|
|
@property(tanchuan)
|
|
tanchuan: tanchuan = null;
|
|
@property(WhView)
|
|
WhView: WhView = null;
|
|
start() {}
|
|
closerechageModel() {
|
|
this.rachagemodel.node.active = false;
|
|
}
|
|
closeWhView() {
|
|
this.WhView.node.active = false;
|
|
}
|
|
closeMain() {
|
|
this.main.node.active = false;
|
|
}
|
|
closeWithdrawalView() {
|
|
this.WithdrawalView.node.active = false;
|
|
}
|
|
closeRechargenum() {
|
|
this.rechargenum.node.active = false;
|
|
}
|
|
closeSubstitute() {
|
|
this.substitute.node.active = false;
|
|
}
|
|
closeUserdata() {
|
|
this.userdata.node.active = false;
|
|
}
|
|
closeWithdrawalModal() {
|
|
this.WithdrawalModal.node.active = false;
|
|
}
|
|
closeWithdrawalData() {
|
|
this.WithdrawalData.node.active = false;
|
|
}
|
|
closetanchuan() {
|
|
this.tanchuan.node.active = false;
|
|
}
|
|
gettanchuan() {
|
|
this.tanchuan.node.active = true;
|
|
}
|
|
|
|
update(deltaTime: number) {}
|
|
getOut() {
|
|
director.loadScene("login");
|
|
}
|
|
}
|