删除查看祥情按钮

(cherry picked from commit e6582cf97f)
dev_chengFeng
jiaoyangna 2021-05-13 17:54:45 +08:00
parent 702a0202f7
commit 7e4287b701
1 changed files with 5 additions and 1 deletions

View File

@ -37,7 +37,6 @@ function this:LookDetailBtnAction()
else
LogPurple("打开魂印奖励预览")
end
end
function this:AddListener()
end
@ -58,6 +57,11 @@ function this:OnShow(_parent,...)
activityType = args[2]
local str2 = ActivityGiftManager.GetTimeStartToEnd(activityType)
if activityType == ActivityTypeDef.FindFairy then
this.LookDetailBtn.gameObject:SetActive(true)
else
this.LookDetailBtn.gameObject:SetActive(false)
end
this.time.text="概率有效期:"..str2
local poolUpType = args[3] or 0