【车迟斗法】排行榜显示问题,加载20名会重新置顶显示,播放动画会显示空格
parent
8b62a5cd43
commit
3618464a15
|
|
@ -2611,7 +2611,7 @@ MonoBehaviour:
|
|||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_RaycastTarget: 1
|
||||
m_RaycastTarget: 0
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
|
|
@ -4640,7 +4640,7 @@ RectTransform:
|
|||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 1, y: 1}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: -74.8, y: -84.200195}
|
||||
m_AnchoredPosition: {x: -74.79999, y: -84.200195}
|
||||
m_SizeDelta: {x: 110, y: 110}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &7092402891833268214
|
||||
|
|
|
|||
|
|
@ -252,7 +252,7 @@ function this.SwitchView(index)
|
|||
-- end)
|
||||
RankingManager.InitData(RANK_TYPE.GUILD_CAR_DELEAY_SINGLE,function()
|
||||
local ranks,myRank = RankingManager.GetRankingInfo()
|
||||
this.SetRankDataShow(ranks,myRank)
|
||||
this.SetRankDataShow(ranks,myRank,true)
|
||||
this.myGuildName.text = PlayerManager.nickName
|
||||
end,nil,1)
|
||||
elseif curIndex == 1 then
|
||||
|
|
@ -262,12 +262,12 @@ function this.SwitchView(index)
|
|||
-- end)
|
||||
RankingManager.InitData(RANK_TYPE.GUILD_CAR_DELEAY_GUILD,function()
|
||||
local ranks,myRankInfo = RankingManager.GetRankingInfo()
|
||||
this.SetRankDataShow(ranks,myRankInfo)
|
||||
this.SetRankDataShow(ranks,myRankInfo,true)
|
||||
this.myGuildName.text = MyGuildManager.MyGuildInfo.name
|
||||
end,nil,1)
|
||||
end
|
||||
end
|
||||
function this.SetRankDataShow(ranks,myRankInfo)
|
||||
function this.SetRankDataShow(ranks,myRankInfo,isTop)
|
||||
if myRankInfo.rank > 0 then
|
||||
this.mySortNum:SetActive(true)
|
||||
local sortNumTabs = {}
|
||||
|
|
@ -290,10 +290,10 @@ function this.SetRankDataShow(ranks,myRankInfo)
|
|||
if index==#ranks then
|
||||
RankingManager.RequestNextWarPowerPageData(function()
|
||||
local ranks,myRankInfo = RankingManager.GetRankingInfo()
|
||||
this.SetRankDataShow(ranks,myRankInfo)
|
||||
this.SetRankDataShow(ranks,myRankInfo,false)
|
||||
end)
|
||||
end
|
||||
end)
|
||||
end,not isTop,true)
|
||||
if isPlayAnim then
|
||||
SecTorPlayAnimByScroll(this.ScrollView)
|
||||
isPlayAnim = false
|
||||
|
|
|
|||
Loading…
Reference in New Issue