From 3618464a1513e693227ac95942e5709fdbd1e5b5 Mon Sep 17 00:00:00 2001 From: zhangqiang <657634622@qq.com> Date: Tue, 23 Mar 2021 16:22:57 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E8=BD=A6=E8=BF=9F=E6=96=97=E6=B3=95?= =?UTF-8?q?=E3=80=91=E6=8E=92=E8=A1=8C=E6=A6=9C=E6=98=BE=E7=A4=BA=E9=97=AE?= =?UTF-8?q?=E9=A2=98=EF=BC=8C=E5=8A=A0=E8=BD=BD20=E5=90=8D=E4=BC=9A?= =?UTF-8?q?=E9=87=8D=E6=96=B0=E7=BD=AE=E9=A1=B6=E6=98=BE=E7=A4=BA=EF=BC=8C?= =?UTF-8?q?=E6=92=AD=E6=94=BE=E5=8A=A8=E7=94=BB=E4=BC=9A=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E7=A9=BA=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../UI/Guild/CarDelay/GuildCarDelayMainPanel.prefab | 4 ++-- .../Modules/Guild/CarDelay/GuildCarDelayMainPanel.lua | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Assets/ManagedResources/Prefabs/UI/Guild/CarDelay/GuildCarDelayMainPanel.prefab b/Assets/ManagedResources/Prefabs/UI/Guild/CarDelay/GuildCarDelayMainPanel.prefab index dae712cbb4..c65849ccab 100644 --- a/Assets/ManagedResources/Prefabs/UI/Guild/CarDelay/GuildCarDelayMainPanel.prefab +++ b/Assets/ManagedResources/Prefabs/UI/Guild/CarDelay/GuildCarDelayMainPanel.prefab @@ -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 diff --git a/Assets/ManagedResources/~Lua/Modules/Guild/CarDelay/GuildCarDelayMainPanel.lua b/Assets/ManagedResources/~Lua/Modules/Guild/CarDelay/GuildCarDelayMainPanel.lua index 2e5ed20ae4..0fc950c662 100644 --- a/Assets/ManagedResources/~Lua/Modules/Guild/CarDelay/GuildCarDelayMainPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Guild/CarDelay/GuildCarDelayMainPanel.lua @@ -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