Merge branch 'master_xma_local' of http://60.1.1.230/gaoxin/JL_Client into master_xma_local

dev_chengFeng
ZhangBiao 2020-10-26 18:07:40 +08:00
commit 3d19d05b04
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