top-block-game-cocos-demo/temp/programming/packer-driver/targets/editor/chunks/4c/4cc8271c82d3226cf3a461c4eaf...

64 lines
2.1 KiB
JavaScript

System.register(["cc"], function (_export, _context) {
"use strict";
var _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, Component, Label, EditBox, _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;
EditBox = _cc.EditBox;
}],
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;
console.log(x11);
}
test() {
let rechagenum = this.node.getChildByName('withdrawalnum').getComponent(EditBox).string;
let Toaddress = this.node.getChildByName('toaddress').getComponent(EditBox).string;
console.log(rechagenum, Toaddress);
}
update(deltaTime) {}
}) || _class));
_cclegacy._RF.pop();
_crd = false;
}
};
});
//# sourceMappingURL=4cc8271c82d3226cf3a461c4eaf4a0481a5aeb26.js.map