Merge branch 'TCX_LongZhu' of http://192.168.1.21:3000/root/miduo_client into TCX_LongZhu

TCX_LongZhu
zhangjiannan 2026-04-15 17:35:37 +08:00
commit 5fe16d7b63
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",