88 lines
4.1 KiB
JavaScript
88 lines
4.1 KiB
JavaScript
System.register(["__unresolved_0", "cc", "__unresolved_1"], function (_export, _context) {
|
|
"use strict";
|
|
|
|
var _reporterNs, _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, Component, Label, tanchuan, _dec, _dec2, _class, _class2, _descriptor, _crd, ccclass, property, WithdrawalData;
|
|
|
|
function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }
|
|
|
|
function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
|
|
|
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }
|
|
|
|
function _reportPossibleCrUseOftanchuan(extras) {
|
|
_reporterNs.report("tanchuan", "../TanChuang", _context.meta, extras);
|
|
}
|
|
|
|
return {
|
|
setters: [function (_unresolved_) {
|
|
_reporterNs = _unresolved_;
|
|
}, function (_cc) {
|
|
_cclegacy = _cc.cclegacy;
|
|
__checkObsolete__ = _cc.__checkObsolete__;
|
|
__checkObsoleteInNamespace__ = _cc.__checkObsoleteInNamespace__;
|
|
_decorator = _cc._decorator;
|
|
Component = _cc.Component;
|
|
Label = _cc.Label;
|
|
}, function (_unresolved_2) {
|
|
tanchuan = _unresolved_2.tanchuan;
|
|
}],
|
|
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'), _dec2 = property(_crd && tanchuan === void 0 ? (_reportPossibleCrUseOftanchuan({
|
|
error: Error()
|
|
}), tanchuan) : tanchuan), _dec(_class = (_class2 = class WithdrawalData extends Component {
|
|
constructor(...args) {
|
|
super(...args);
|
|
|
|
_initializerDefineProperty(this, "Tanchuan", _descriptor, this);
|
|
|
|
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) {}
|
|
|
|
}, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "Tanchuan", [_dec2], {
|
|
configurable: true,
|
|
enumerable: true,
|
|
writable: true,
|
|
initializer: function () {
|
|
return null;
|
|
}
|
|
})), _class2)) || _class));
|
|
|
|
_cclegacy._RF.pop();
|
|
|
|
_crd = false;
|
|
}
|
|
};
|
|
});
|
|
//# sourceMappingURL=1f8d105136707510097699c9fa6deb311ba686d5.js.map
|