Files
fc/dev/project/library/imports/74/749827e4-016e-4e36-8c21-275c94f89746.js
2026-05-24 10:21:26 +08:00

46 lines
1011 B
JavaScript

"use strict";
cc._RF.push(module, '74982fkAW5ONowhJ1yU+JdG', 'cmp.personal.exchange.wnd');
// Scripts/mod/personal/cmps/cmp.personal.exchange.wnd.js
"use strict";
/******************************************************************
*
* 兑换界面
*
******************************************************************/
var BridgeWindow = require("bridge.window");
var FxButton = require("nx.fx.button");
cc.Class({
"extends": BridgeWindow,
properties: {
nodTip: {
"default": null,
type: cc.Node
},
edtInput: {
"default": null,
type: cc.EditBox
},
btnComfirm: {
"default": null,
type: FxButton
}
},
// 重载:参数打开
onOpenConfigs: function onOpenConfigs(_params) {
this.cb = _params.cb;
},
// 确定
onConfirm: function onConfirm() {
var str = this.edtInput.string;
if (nx.dt.strEmpty(str)) {
nx.tbox("PLExchangeInputTip");
return;
}
nx.dt.fnInvoke(this.cb, this, str);
}
});
cc._RF.pop();