require("Base/BasePanel") ExplorePanel = Inherit(BasePanel) --初始化组件(用于子类重写) function ExplorePanel:InitComponent() end --绑定事件(用于子类重写) function ExplorePanel:BindEvent() end --添加事件监听(用于子类重写) function ExplorePanel:AddListener() end --移除事件监听(用于子类重写) function ExplorePanel:RemoveListener() end --界面打开时调用(用于子类重写) function ExplorePanel:OnOpen() end --界面打开或者重新打开后,界面刷新时调用(用于子类重写) function ExplorePanel:OnShow() end --界面关闭时调用(用于子类重写) function ExplorePanel:OnClose() end --界面销毁时调用(用于子类重写) function ExplorePanel:OnDestroy() end return ExplorePanel