77 lines
1.7 KiB
TypeScript
77 lines
1.7 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'
|
|
|
|
|
|
|
|
|
|
|
|
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(tanchuan)
|
|
tanchuan:tanchuan = null;
|
|
start() {
|
|
|
|
}
|
|
closerechageModel(){
|
|
this.rachagemodel.node.active = false
|
|
|
|
}
|
|
closeMain(){
|
|
this.main.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
|
|
|
|
}
|
|
|
|
update(deltaTime: number) {
|
|
|
|
}
|
|
getOut(){
|
|
director.loadScene('login');
|
|
|
|
}
|
|
}
|
|
|