diff --git a/Assets/ManagedResources/~Lua/Modules/Guild/DeathPos/DeathPosInfoPanel.lua b/Assets/ManagedResources/~Lua/Modules/Guild/DeathPos/DeathPosInfoPanel.lua index 46430a6ce6..e4cfe737ee 100644 --- a/Assets/ManagedResources/~Lua/Modules/Guild/DeathPos/DeathPosInfoPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Guild/DeathPos/DeathPosInfoPanel.lua @@ -299,7 +299,7 @@ function this.RefreshRank(index) RankingManager.InitData(curRankType,function() local ranks,myRankInfo = RankingManager.GetRankingInfo() this.empty:SetActive(#ranks<=0) - this.SetRankDataShow(ranks,myRankInfo,curRankType) + this.SetRankDataShow(ranks,myRankInfo,curRankType, false, false) this.scrollView:SetIndex(1) --当我的排名没数据时 this.mRSortNum:SetActive(myRankInfo.rank > 0) @@ -311,16 +311,16 @@ function this.RefreshRank(index) this.SetMyRank(myRankInfo,curRankType) end,curIndex,1) end -function this.SetRankDataShow(ranks,myRankInfo,curRankType) +function this.SetRankDataShow(ranks,myRankInfo,curRankType,isNotTop,isNotAni) this.scrollView:SetData(ranks,function(index,root) this.SetScrollPre(root,ranks[index],curRankType) if index==#ranks then RankingManager.RequestNextWarPowerPageData(function() local ranks,myRankInfo = RankingManager.GetRankingInfo() - this.SetRankDataShow(ranks,myRankInfo,curRankType) + this.SetRankDataShow(ranks,myRankInfo,curRankType, true, true) end) end - end) + end,isNotTop,isNotAni) end --设置每条数据 function this.SetScrollPre(root,data,curRankType)