【跨服天梯】国内提交+1
parent
98362ef902
commit
b034028ad1
|
|
@ -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
|
if sData.rankType == RANK_TYPE.CELEBRATION_GUILD or sData.rankType == RANK_TYPE.GUILD_FORCE_RANK then
|
||||||
dt[1].userName = dt[1].guildName
|
dt[1].userName = dt[1].guildName
|
||||||
end
|
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.SetHeadsInfo(dt[1],this.firstHeadinfoGo,1,dtUserName,dt[1].level)
|
||||||
--设置滚动区信息
|
--设置滚动区信息
|
||||||
this.scrollView:SetData(db,function(index,root)
|
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
|
if data.rankInfo.param1 and data.rankInfo.param1 > 0 then
|
||||||
warPower:SetActive(true)
|
warPower:SetActive(true)
|
||||||
if Value0 then
|
if Value0 then
|
||||||
if data.serverName and data.serverName ~= "" then
|
-- if data.serverName and data.serverName ~= "" then
|
||||||
Value0:GetComponent("Text").text = "<size=40%>"..data.serverName.."\n"..data.userName.."</size>"
|
|
||||||
else
|
|
||||||
Value0:GetComponent("Text").text = "<size=40%>"..data.userName.."</size>"
|
Value0:GetComponent("Text").text = "<size=40%>"..data.userName.."</size>"
|
||||||
end
|
-- else
|
||||||
|
-- Value0:GetComponent("Text").text = "<size=40%>"..data.userName.."</size>"
|
||||||
|
-- end
|
||||||
end
|
end
|
||||||
Util.GetGameObject(go,"warPower/Text"):SetActive(true)
|
Util.GetGameObject(go,"warPower/Text"):SetActive(true)
|
||||||
Util.GetGameObject(go,"warPower/Text"):GetComponent("Text").text = data.rankInfo.param1
|
Util.GetGameObject(go,"warPower/Text"):GetComponent("Text").text = data.rankInfo.param1
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue