top-block-game-cocos-demo/temp/programming/packer-driver/targets/preview/chunks/ac/ac6af1e850fa3c5118c3119ef6e...

61 lines
1.9 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() {
super(...arguments);
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');
}
test() {
var rechagenum = this.WithdrawalNum.getComponent(EditBox).string;
var Toaddress = this.WithdrawalNum.getComponent(EditBox).string;
}
update(deltaTime) {}
}) || _class));
_cclegacy._RF.pop();
_crd = false;
}
};
});
//# sourceMappingURL=ac6af1e850fa3c5118c3119ef6e96ced687327eb.js.map