top-block-game-cocos-demo/temp/programming/packer-driver/targets/editor/chunks/d2/d2ac3e6148e907d2f8cf89f198d...

61 lines
2.0 KiB
JavaScript

System.register(["cc"], function (_export, _context) {
"use strict";
var _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, Component, Label, _dec, _class, _crd, ccclass, property, WithdrawalData;
return {
setters: [function (_cc) {
_cclegacy = _cc.cclegacy;
__checkObsolete__ = _cc.__checkObsolete__;
__checkObsoleteInNamespace__ = _cc.__checkObsoleteInNamespace__;
_decorator = _cc._decorator;
Component = _cc.Component;
Label = _cc.Label;
}],
execute: function () {
_crd = true;
_cclegacy._RF.push({}, "490a9P8JcRBPZFNabzsmAAR", "WithdrawalData", undefined);
__checkObsolete__(['_decorator', 'Component', 'Node', 'Label', 'EditBox']);
({
ccclass,
property
} = _decorator);
_export("WithdrawalData", WithdrawalData = (_dec = ccclass('WithdrawalData'), _dec(_class = class WithdrawalData extends Component {
constructor(...args) {
super(...args);
this.WithdrawalNum = null;
this.Toaddress = null;
}
init(data) {
this.node.getChildByName('name').getComponent(Label).string = data.name;
this.node.getChildByName('usdtPrice').getComponent(Label).string = data.usdt_price;
this.node.getChildByName('ethPrice').getComponent(Label).string = data.eth_price;
}
start() {// this.WithdrawalNum = this.node.getChildByName('withdrawalnum');
// this.Toaddress = this.node.getChildByName('toaddress');
// let x11 = this.Toaddress.getComponent(EditBox).string
// let x22 = this.node.getChildByName('toaddress').getComponent(EditBox).string
// console.log(x11,x22);
}
test() {// this.tanchuan.init("已发起提现申请")
// this.tanchuan.node.active = true
}
update(deltaTime) {}
}) || _class));
_cclegacy._RF.pop();
_crd = false;
}
};
});
//# sourceMappingURL=d2ac3e6148e907d2f8cf89f198da6d6bd8950ec4.js.map