From 0f62367696bb68a0079ec18426daea35531e214e Mon Sep 17 00:00:00 2001 From: vurtne14 Date: Wed, 9 Jul 2025 16:09:35 +0800 Subject: [PATCH] 1 --- .../~Lua/Modules/Popup/PlayerInfoPopup.lua | 3 +++ .../~Lua/Modules/Popup/PlayerInfoPopup_extra.lua | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Popup/PlayerInfoPopup.lua b/Assets/ManagedResources/~Lua/Modules/Popup/PlayerInfoPopup.lua index 1ce4c4f441..7fee8cf5d6 100644 --- a/Assets/ManagedResources/~Lua/Modules/Popup/PlayerInfoPopup.lua +++ b/Assets/ManagedResources/~Lua/Modules/Popup/PlayerInfoPopup.lua @@ -888,6 +888,7 @@ end --按钮特殊显示 function this.SpecialBtnShow() + LogError("************************") if this._ViewType == PLAYER_INFO_VIEW_TYPE.LINGMAIMIJING then this.btnBox:SetActive(true) local bool = this._PlayerId == PlayerManager.uid @@ -895,10 +896,12 @@ function this.SpecialBtnShow() this.btnList[1]:SetActive(not bool) this.btnList[2]:SetActive(false) this.btnList[3]:SetActive(false) + LogError("************************") else this.btnList[1]:SetActive(not bool) this.btnList[2]:SetActive(not bool) this.btnList[3]:SetActive(bool) + LogError("************************") --if LingMaiMiJingManager.myPlaceId ~= 0 and LingMaiMiJingManager.myPlaceId < this.data.Id then --this.btnList[2]:SetActive(false) --end diff --git a/Assets/ManagedResources/~Lua/Modules/Popup/PlayerInfoPopup_extra.lua b/Assets/ManagedResources/~Lua/Modules/Popup/PlayerInfoPopup_extra.lua index 0037326f0d..56a5c364bf 100644 --- a/Assets/ManagedResources/~Lua/Modules/Popup/PlayerInfoPopup_extra.lua +++ b/Assets/ManagedResources/~Lua/Modules/Popup/PlayerInfoPopup_extra.lua @@ -93,10 +93,10 @@ function this.RefreshBtnShow() this.infoPopup.btnList[1]:SetActive(false) this.infoPopup.btnList[2]:SetActive(true) this.infoPopup.btnList[3]:SetActive(false) - if LingMaiMiJingManager.myPlaceId ~= 0 and LingMaiMiJingManager.myPlaceId < this.data.Id then - this.infoPopup.btnBox:SetActive(false) - this.infoPopup.btnList[2]:SetActive(false) - end + --if LingMaiMiJingManager.myPlaceId ~= 0 and LingMaiMiJingManager.myPlaceId < this.data.Id then + --this.infoPopup.btnBox:SetActive(false) + --this.infoPopup.btnList[2]:SetActive(false) + --end end end