Files
fc/dev/project/library/imports/50/50871cea-4388-4170-94df-d4d1a2fd8091.js
2026-05-24 10:21:26 +08:00

39 lines
903 B
JavaScript

"use strict";
cc._RF.push(module, '50871zqQ4hBcJTf1NGi/YCR', 'cmp.home.footmark.wnd');
// Scripts/mod/home/cmps/cmp.home.footmark.wnd.js
"use strict";
/******************************************************************
*
* 家园足迹
*
******************************************************************/
var BridgeWindow = require("bridge.window");
var Home = require("home.mod");
var FxSVC = require("nx.fx.sv.expand");
cc.Class({
"extends": BridgeWindow,
properties: {
svcList: {
"default": null,
type: FxSVC
}
},
// 显示
onEnable: function onEnable() {
var _this = this;
nx.mTip.openTip("home.footmark.new", false);
this.svcList.rebuild([]);
Home.getInstance().reqVisitorList(function (_ret, _data) {
if (!_ret) {
nx.tbox(_data);
return;
}
_this.svcList.rebuild(_data.visitors);
});
}
});
cc._RF.pop();