Files
fc/dev/project/library/imports/94/947d991c-c3d9-4dc4-9643-025c046dbae8.js
2026-05-24 10:21:26 +08:00

42 lines
1017 B
JavaScript

"use strict";
cc._RF.push(module, '947d9kcw9lNxJZDAlwEbbro', 'pop.crossrace.tips');
// Scripts/mod/tips/popup/pop.crossrace.tips.js
"use strict";
var BridgeWindow = require("bridge.window");
cc.Class({
"extends": BridgeWindow,
properties: {
nodVSInfo: {
"default": null,
type: cc.Node
},
nodRace: {
"default": null,
type: cc.Node
}
},
// 重载:参数打开
onOpenConfigs: function onOpenConfigs(_params) {
var info = _params.raceinfo;
var type = _params.type;
this.cb = _params.cb;
nx.gui.setActive(this.nodVSInfo, "", info == 3);
nx.gui.setActive(this.nodRace, "", info == 1);
/***
* {"start_time":1708444800,"end_time":1709049300,
* "step":1,"step_status":0,
* "step_status_time":1708833600,
* "round":0,"round_status":0,
* "round_status_time":79656,"flag":0,"srv_id":"fx_1","is_open":0}
**/
},
onTouchGo: function onTouchGo() {
nx.dt.fnInvoke(this.cb, true);
this.close();
}
});
cc._RF.pop();