/****************************************************************** * * 家园足迹 * ******************************************************************/ const BridgeWindow = require( "bridge.window" ); const Home = require( "home.mod" ); const FxSVC = require( "nx.fx.sv.expand" ); cc.Class( { extends: BridgeWindow, properties: { svcList: { default: null, type: FxSVC }, }, // 显示 onEnable: function() { nx.mTip.openTip( "home.footmark.new", false ); this.svcList.rebuild( [] ); Home.getInstance().reqVisitorList( ( _ret, _data ) => { if( !_ret ) { nx.tbox( _data ); return; } this.svcList.rebuild( _data.visitors ); } ); }, } );