【限时升星】选择神将界面标题错误
parent
978d4acb4e
commit
dbbfc9dfe3
|
|
@ -76,7 +76,7 @@ function UpStarGift:BindEvent()
|
|||
self.tempChoose = chooseId
|
||||
-- 刷新界面限显示
|
||||
self:RefreshData(true,true,true)
|
||||
end)
|
||||
end, "选择神将")
|
||||
|
||||
|
||||
end)
|
||||
|
|
@ -98,7 +98,7 @@ function UpStarGift:BindEvent()
|
|||
|
||||
-- 刷新界面限显示
|
||||
self:RefreshData(true,true,true)
|
||||
end)
|
||||
end, "选择神将")
|
||||
|
||||
end)
|
||||
Util.AddClick(self.btnLock,function()
|
||||
|
|
|
|||
|
|
@ -14,7 +14,6 @@ local artResourcesConfig =ConfigManager.GetConfig(ConfigName.ArtResourcesConfig)
|
|||
function this:InitComponent(gameObject)
|
||||
this.spLoader = SpriteLoader.New()
|
||||
this.titleText=Util.GetGameObject(gameObject,"TitleText"):GetComponent("Text")
|
||||
this.titleText.text="许愿神将"
|
||||
this.cancelBtn=Util.GetGameObject(gameObject,"CancelBtn")
|
||||
this.confirmBtn=Util.GetGameObject(gameObject,"ConfirmBtn")
|
||||
this.FourStarUpTip=Util.GetGameObject(gameObject,"tip"):GetComponent("Text")
|
||||
|
|
@ -72,6 +71,9 @@ function this:OnShow(_parent,_args)
|
|||
heros = _args[1]
|
||||
currHeroId=_args[2]
|
||||
confirmFunc=_args[3]
|
||||
-- 标题修改
|
||||
local title =_args[4]
|
||||
this.titleText.text = title or "许愿神将"
|
||||
|
||||
parent=_parent
|
||||
sortingOrder =_parent.sortingOrder
|
||||
|
|
|
|||
Loading…
Reference in New Issue