From 5d739f12911de1344ab38f2321623f0dbf58b1b0 Mon Sep 17 00:00:00 2001 From: gaoxin Date: Thu, 9 Sep 2021 11:19:11 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=8D=81=E7=BB=9D=E9=98=B5=E3=80=91?= =?UTF-8?q?=E6=8E=92=E8=A1=8C=E6=BB=91=E5=8A=A8=E6=95=B0=E6=8D=AE=E9=94=99?= =?UTF-8?q?=E4=B9=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Guild/DeathPos/DeathPosInfoPanel.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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)