TCX_LongZhu
DESKTOP-MMO982B\User 2026-03-02 12:07:29 +08:00
parent ac7c07376d
commit e5394dcf9e
2 changed files with 5 additions and 1 deletions

View File

@ -1655,7 +1655,10 @@ function this.TimeFormat()
else
showTab = false
end
elseif v.ActId == 156 then
local day = math.ceil(GetTimeStamp()/86400)
local checked = PlayerPrefs.GetInt("jiban",0)
activityTabs[k].redpot:SetActive(checked~=day)
elseif v.ShowTime == 1 and activityTabs[k].go.gameObject.activeSelf then
if v.ActiveType > 0 then
local QingLong = ActivityGiftManager.IsActivityTypeOpen(v.ActiveType)

View File

@ -178,6 +178,7 @@ function RecruitEquipPanelNew:OnShow(sortingOrder)
self.lsthText.text = "意念礼包"
else
self.lsthText.text = "羁绊礼包"
PlayerPrefs.SetInt("jiban",math.ceil(GetTimeStamp()/86400))
end
RecruitManager.curWishType = self.config.ShopData[1][1]
self.singleConfig = ConfigManager.GetConfigDataByDoubleKey(ConfigName.LotterySetting, "LotteryType",