公会成员详情界面修改
parent
dbfa637e98
commit
d870e86f74
File diff suppressed because it is too large
Load Diff
|
@ -476,7 +476,7 @@ function this.MemItemAdapter(item, data)
|
|||
|
||||
-- 添加点击事件
|
||||
Util.AddOnceClick(bg, function()
|
||||
--UIManager.OpenPanel(UIName.GuildMemberInfoPopup, GUILD_MEM_POPUP_TYPE.INFORMATION, data.roleUid)
|
||||
UIManager.OpenPanel(UIName.GuildMemberInfoPopup, GUILD_MEM_POPUP_TYPE.INFORMATION, data.roleUid)
|
||||
end)
|
||||
end
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@ function GuildMemberInfoPopup:InitComponent()
|
|||
this.star = Util.GetGameObject(self.transform, "tipImage/panel/info/starBox/star")
|
||||
this.titlePar = Util.GetGameObject(self.transform, "tipImage/panel/info/titlePar")
|
||||
this.memPower = Util.GetGameObject(self.transform, "tipImage/panel/defendbox/power"):GetComponent("Text")
|
||||
this.formationTip = Util.GetGameObject(self.transform, "tipImage/panel/defendbox/tip"):GetComponent("Text")
|
||||
this.formationTip = Util.GetGameObject(self.transform, "tipImage/panel/defendbox/Image/tip"):GetComponent("Text")
|
||||
|
||||
this.attackCount = Util.GetGameObject(self.transform, "tipImage/attackCount"):GetComponent("Text")
|
||||
this.demonsHeroList=Util.GetGameObject(self.gameObject, "tipImage/panel/defendbox/demons")
|
||||
|
@ -92,7 +92,7 @@ function GuildMemberInfoPopup:InitComponent()
|
|||
table.insert(this.Demons, Util.GetGameObject(self.gameObject, "tipImage/panel/Pokemons/Demons/heroPro (" .. i .. ")"))
|
||||
end
|
||||
|
||||
Util.GetGameObject(self.transform, "tipImage/panel/pokemonInfo/tip"):GetComponent("Text").text=Language[11501]
|
||||
Util.GetGameObject(self.transform, "tipImage/panel/pokemonInfo/Image/tip"):GetComponent("Text").text=Language[11501]
|
||||
this.Pokemons = {}
|
||||
for i = 1, 6 do
|
||||
table.insert(this.Pokemons, Util.GetGameObject(self.gameObject, "tipImage/panel/pokemonInfo/Demons/heroPro (" .. i .. ")"))
|
||||
|
@ -453,7 +453,7 @@ function this.RefreshBtnShow()
|
|||
-- 判断该界面类型是否有按钮显示
|
||||
local posToType = _GuildPosBtnType[this._ViewType]
|
||||
if not posToType then
|
||||
this.boxLine:SetActive(false)
|
||||
--this.boxLine:SetActive(false)
|
||||
this.btnBox:SetActive(false)
|
||||
return
|
||||
end
|
||||
|
@ -464,12 +464,12 @@ function this.RefreshBtnShow()
|
|||
btnType = btnType[this._MemData.position]
|
||||
end
|
||||
if not btnType then
|
||||
this.boxLine:SetActive(false)
|
||||
--this.boxLine:SetActive(false)
|
||||
this.btnBox:SetActive(false)
|
||||
return
|
||||
end
|
||||
-- 有按钮显示
|
||||
this.boxLine:SetActive(true)
|
||||
--this.boxLine:SetActive(true)
|
||||
this.btnBox:SetActive(true)
|
||||
for index, btn in ipairs(this.btnList) do
|
||||
btn:SetActive(btnType[index] ~= nil)
|
||||
|
|
Loading…
Reference in New Issue