miduo_client/Assets/ManagedResources/~Lua/Modules/Popup/View/GeneralPopup_SheJiCheckGuil...

42 lines
873 B
Lua
Raw Normal View History

----- 社稷大典检查是否加入公会 -----
2020-10-24 18:49:32 +08:00
local this = {}
local showType
local parent
function this:InitComponent(gameObject)
2021-04-21 13:12:04 +08:00
this.spLoader = SpriteLoader.New()
2020-10-24 18:49:32 +08:00
this.bodyText = Util.GetGameObject(gameObject,"BodyText"):GetComponent("Text")
this.btnSure = Util.GetGameObject(gameObject,"ConfirmBtn")
this.btnCancel = Util.GetGameObject(gameObject,"CancelBtn")
end
function this:BindEvent()
Util.AddClick(this.btnCancel,function()
parent:ClosePanel()
JumpManager.GoJump(40007)
2020-10-24 18:49:32 +08:00
end)
Util.AddClick(this.btnSure,function()
JumpManager.GoJump(4001)
end)
end
function this:AddListener()
end
function this:RemoveListener()
end
function this:OnShow(this,_showType)
parent=this
showType = _showType
end
function this:OnClose()
end
function this:OnDestroy()
2021-04-21 13:12:04 +08:00
this.spLoader:Destroy()
2020-10-24 18:49:32 +08:00
end
return this