【跨服天梯】国内提交+1

dev_chengFeng
zhangqiang 2021-07-14 20:47:49 +08:00
parent 98362ef902
commit b034028ad1
1 changed files with 5 additions and 5 deletions

View File

@ -223,7 +223,7 @@ function this.SetRankingInfo(isTop, isAnim)
if sData.rankType == RANK_TYPE.CELEBRATION_GUILD or sData.rankType == RANK_TYPE.GUILD_FORCE_RANK then
dt[1].userName = dt[1].guildName
end
local dtUserName = sData.rankType == RANK_TYPE.JUMPSERVER_HIGHTLADDER and dt[1].serverName .. " " .. dt[1].userName or dt[1].userName
local dtUserName = sData.rankType == dt[1].userName
this.SetHeadsInfo(dt[1],this.firstHeadinfoGo,1,dtUserName,dt[1].level)
--设置滚动区信息
this.scrollView:SetData(db,function(index,root)
@ -534,11 +534,11 @@ function this.SetInfoShow(go,data,rankType,Value0)
if data.rankInfo.param1 and data.rankInfo.param1 > 0 then
warPower:SetActive(true)
if Value0 then
if data.serverName and data.serverName ~= "" then
Value0:GetComponent("Text").text = "<size=40%>"..data.serverName.."\n"..data.userName.."</size>"
else
-- if data.serverName and data.serverName ~= "" then
Value0:GetComponent("Text").text = "<size=40%>"..data.userName.."</size>"
end
-- else
-- Value0:GetComponent("Text").text = "<size=40%>"..data.userName.."</size>"
-- end
end
Util.GetGameObject(go,"warPower/Text"):SetActive(true)
Util.GetGameObject(go,"warPower/Text"):GetComponent("Text").text = data.rankInfo.param1