【社稷大典】 公会排行显示问题

dev_chengFeng
JieLing 2020-10-26 17:59:58 +08:00
parent 6eea05fa06
commit 837d7d8886
1 changed files with 4 additions and 1 deletions

View File

@ -150,6 +150,9 @@ function this.SetRankingInfo()
return
end
local dt,db=RankingManager.CutDate(rankingData)
if sData.rankType == RANK_TYPE.CELEBRATION_GUILD or sData.rankType == RANK_TYPE.GUILD_FORCE_RANK then
dt[1].userName = dt[1].guildName
end
this.SetHeadsInfo(dt[1],this.firstHeadinfoGo,1,dt[1].userName,dt[1].level)
--设置滚动区信息
this.scrollView:SetData(db,function(index,root)
@ -396,7 +399,7 @@ function this.SetInfoShow(go,data,rankType,Value0)
if data.rankInfo.param1 and data.rankInfo.param1 > 0 then
trial:SetActive(true)
if Value0 then
Value0:GetComponent("Text").text = "<size=40%>"..data.userName.."</size>"
Value0:GetComponent("Text").text = "<size=40%>"..data.guildName.."</size>"
end
Util.GetGameObject(go,"trial/Text"):GetComponent("Text").text = ""
Util.GetGameObject(go,"trial"):GetComponent("Text").text = "贡献度:"..data.rankInfo.param1