From 1e62d7eed03f6ce137849203298659de7a4f6d2b Mon Sep 17 00:00:00 2001 From: gaoxin Date: Thu, 18 Mar 2021 12:03:51 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90bug=E3=80=91=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=A5=BD=E5=8F=8B=E5=88=97=E8=A1=A8=E4=B8=8D=E8=83=BD=E6=BB=91?= =?UTF-8?q?=E5=8A=A8=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../GoodFriend/GoodFriendMainPanel.lua | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/GoodFriend/GoodFriendMainPanel.lua b/Assets/ManagedResources/~Lua/Modules/GoodFriend/GoodFriendMainPanel.lua index 688c0e8011..0bebe5e8da 100644 --- a/Assets/ManagedResources/~Lua/Modules/GoodFriend/GoodFriendMainPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/GoodFriend/GoodFriendMainPanel.lua @@ -227,10 +227,10 @@ function GoodFriendMainPanel:OnShow() this.roleImage2:SetActive(false) this.roleImage3:SetActive(false) this.roleImage4:SetActive(false) - this:FriendListDataShow(true,true) - this:FriendApplicationDataShow(true,true) - this:FriendSearchDataShow(true,true) - this:BlackListDataShow(true,true) + -- this:FriendListDataShow(true,true) + -- this:FriendApplicationDataShow(true,true) + -- this:FriendSearchDataShow(true,true) + -- this:BlackListDataShow(true,true) this.isInRecommendPage = true this:OnRefreshData() this.UpView:OnOpen({ showType = UpViewOpenType.ShowLeft, panelType = PanelType.GoodFriend }) @@ -336,7 +336,8 @@ function GoodFriendMainPanel:OnDestroy() end --好友列表循环滚动数据 -function GoodFriendMainPanel:FriendListDataShow(isTop,isAni) +function GoodFriendMainPanel:FriendListDataShow() + LogYellow("GoodFriendMainPanel:FriendListDataShow") CheckRedPointStatus(RedPointType.Friend_GetAllReward) this:OnRefreshData() local list = {} @@ -369,7 +370,7 @@ function GoodFriendMainPanel:FriendListDataShow(isTop,isAni) -- else -- item.gameObject:SetActive(true) -- end - end,not isTop,not isAni) + end) if isPlayAnim then SecTorPlayAnimByScroll(this.ScrollView1) isPlayAnim = false @@ -378,7 +379,7 @@ function GoodFriendMainPanel:FriendListDataShow(isTop,isAni) this.haveGetRewardNumText.text=Language[10810]..(GoodFriendManager.MaxEnergy-GoodFriendManager.MaxEnergyGet).."/"..GoodFriendManager.MaxEnergy end --好友申请循环滚动数据 -function GoodFriendMainPanel:FriendApplicationDataShow(isTop,isAni) +function GoodFriendMainPanel:FriendApplicationDataShow() -- 检测红点 CheckRedPointStatus(RedPointType.Friend_Application) this:OnRefreshData() @@ -416,7 +417,7 @@ function GoodFriendMainPanel:FriendApplicationDataShow(isTop,isAni) -- else -- item.gameObject:SetActive(true) -- end - end,not isTop,not isAni) + end) if isPlayAnim then SecTorPlayAnimByScroll(this.ScrollView2) isPlayAnim = false @@ -424,8 +425,7 @@ function GoodFriendMainPanel:FriendApplicationDataShow(isTop,isAni) end --好友搜索循环滚动数据 -function GoodFriendMainPanel:FriendSearchDataShow(isTop,isAni) -LogRed("isTop "..tostring(isTop).." isAni "..tostring(isAni)) +function GoodFriendMainPanel:FriendSearchDataShow() this:OnRefreshData() local list = {} local j = 1 @@ -457,7 +457,7 @@ LogRed("isTop "..tostring(isTop).." isAni "..tostring(isAni) -- else -- item.gameObject:SetActive(true) -- end - end,not isTop,not isAni) + end) if isPlayAnim then SecTorPlayAnimByScroll(this.ScrollView3) isPlayAnim = false @@ -465,7 +465,7 @@ LogRed("isTop "..tostring(isTop).." isAni "..tostring(isAni) end --黑名单滚动数据 -function GoodFriendMainPanel:BlackListDataShow(isTop,isAni) +function GoodFriendMainPanel:BlackListDataShow() this:OnRefreshData() local list = {} local j = 1 @@ -497,7 +497,7 @@ function GoodFriendMainPanel:BlackListDataShow(isTop,isAni) -- else -- item.gameObject:SetActive(true) -- end - end,not isTop,not isAni) + end) if isPlayAnim then SecTorPlayAnimByScroll(this.ScrollView4) isPlayAnim = false