47 lines
1.1 KiB
Lua
47 lines
1.1 KiB
Lua
|
require("Base/BasePanel")
|
||
|
local FuXingGaoZhao = Inherit(BasePanel)
|
||
|
local this = FuXingGaoZhao
|
||
|
local sortingOrder = 0
|
||
|
|
||
|
--初始化组件(用于子类重写)
|
||
|
function FuXingGaoZhao:InitComponent()
|
||
|
self.backBtn = Util.GetGameObject(self.gameObject,"btnBack")
|
||
|
FuXingGaoZhaoManager.InitRewardData()
|
||
|
end
|
||
|
--绑定事件(用于子类重写)
|
||
|
function FuXingGaoZhao:BindEvent()
|
||
|
Util.AddClick(self.backBtn,function ()
|
||
|
self:ClosePanel()
|
||
|
end)
|
||
|
end
|
||
|
|
||
|
--添加事件监听(用于子类重写)
|
||
|
function FuXingGaoZhao:AddListener()
|
||
|
end
|
||
|
|
||
|
--移除事件监听(用于子类重写)
|
||
|
function FuXingGaoZhao:RemoveListener()
|
||
|
end
|
||
|
|
||
|
function FuXingGaoZhao:OnSortingOrderChange()
|
||
|
sortingOrder = self.sortingOrder
|
||
|
end
|
||
|
|
||
|
--界面打开时调用(用于子类重写)
|
||
|
function FuXingGaoZhao:OnOpen()
|
||
|
end
|
||
|
|
||
|
-- 打开,重新打开时回调
|
||
|
function FuXingGaoZhao:OnShow()
|
||
|
|
||
|
end
|
||
|
|
||
|
--界面关闭时调用(用于子类重写)
|
||
|
function FuXingGaoZhao:OnClose()
|
||
|
end
|
||
|
|
||
|
--界面销毁时调用(用于子类重写)
|
||
|
function FuXingGaoZhao:OnDestroy()
|
||
|
end
|
||
|
|
||
|
return FuXingGaoZhao
|