Merge branch 'china/dev_bt' of http://60.1.1.230/gaoxin/JL_Client into china/dev_bt

lihaiyang 2022-11-15 14:41:36 +08:00
commit 766a5b2e2f
1 changed files with 2 additions and 1 deletions

View File

@ -325,6 +325,7 @@ function this.UpdateRankInfo(go,data)
_PlayerHeadList[go]:SetScale(Vector3.one*0.7) _PlayerHeadList[go]:SetScale(Vector3.one*0.7)
_PlayerHeadList[go]:SetLayer(this.sortingOrder) _PlayerHeadList[go]:SetLayer(this.sortingOrder)
_PlayerHeadList[go]:SetEffectScale(0.75) _PlayerHeadList[go]:SetEffectScale(0.75)
local viewType=PLAYER_INFO_VIEW_TYPE.NORMAL
if rankType==RANK_TYPE.FORCE_CURR_RANK or rankType==RANK_TYPE.FightValue_chong then --战力排行 if rankType==RANK_TYPE.FORCE_CURR_RANK or rankType==RANK_TYPE.FightValue_chong then --战力排行
warPower:SetActive(true) warPower:SetActive(true)
Util.GetGameObject(go,"warPower/Text"):SetActive(true) Util.GetGameObject(go,"warPower/Text"):SetActive(true)
@ -352,7 +353,7 @@ function this.UpdateRankInfo(go,data)
Util.AddOnceClick(go,function() Util.AddOnceClick(go,function()
UIManager.OpenPanel(UIName.PlayerInfoPopup, data.uid,PLAYER_INFO_VIEW_TYPE.MIND_DEMON) UIManager.OpenPanel(UIName.PlayerInfoPopup, data.uid,viewType)
end) end)
end end