tcx_xiyou_yueNan^2
zhangjiannan 2025-07-09 16:09:35 +08:00
parent 382342fde5
commit 0f62367696
2 changed files with 7 additions and 4 deletions

View File

@ -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

View File

@ -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