38 lines
899 B
JavaScript
38 lines
899 B
JavaScript
"use strict";
|
|
cc._RF.push(module, 'a3ae1wSMDxCRJcfraUevEWF', 'pop.random.prop.wnd');
|
|
// Scripts/mod/tips/popup/pop.random.prop.wnd.js
|
|
|
|
"use strict";
|
|
|
|
/******************************************************************
|
|
*
|
|
* 奖励弹窗
|
|
*
|
|
******************************************************************/
|
|
|
|
var BridgeWindow = require("bridge.window");
|
|
var FxSpine = require("nx.fx.spine");
|
|
var DELAY_CLOSE = 3;
|
|
cc.Class({
|
|
"extends": BridgeWindow,
|
|
properties: {
|
|
nodProps: {
|
|
"default": null,
|
|
type: cc.Node
|
|
}
|
|
},
|
|
// 关闭
|
|
onDisable: function onDisable() {
|
|
this.unscheduleAllCallbacks();
|
|
},
|
|
// 重载:参数打开
|
|
onOpenConfigs: function onOpenConfigs(_params) {
|
|
var bid = _params;
|
|
var cfg = gdata("partner_holy_eqm_data", "data_base_info", bid);
|
|
if (cfg) {
|
|
nx.gui.setStringRich(this.nodProps, "", cfg.tips_info);
|
|
}
|
|
}
|
|
});
|
|
|
|
cc._RF.pop(); |