主界面修改提交
parent
dfd3c4acc6
commit
31b808209e
|
@ -24441,7 +24441,7 @@ MonoBehaviour:
|
||||||
m_Calls: []
|
m_Calls: []
|
||||||
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
|
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
|
||||||
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||||
m_Sprite: {fileID: 21300000, guid: 0b4959d554c65da4d818d73ef4d2452d, type: 3}
|
m_Sprite: {fileID: 0}
|
||||||
m_Type: 0
|
m_Type: 0
|
||||||
m_PreserveAspect: 0
|
m_PreserveAspect: 0
|
||||||
m_FillCenter: 1
|
m_FillCenter: 1
|
||||||
|
|
|
@ -672,7 +672,6 @@ function this.CreatActivity()
|
||||||
--绑定新的红点
|
--绑定新的红点
|
||||||
BindRedPointObject(v.RpType,activityTabs[k].redpot)
|
BindRedPointObject(v.RpType,activityTabs[k].redpot)
|
||||||
end
|
end
|
||||||
|
|
||||||
if v.ActiveType > 0 then
|
if v.ActiveType > 0 then
|
||||||
local activityId = ActivityGiftManager.IsActivityTypeOpen(v.ActiveType)
|
local activityId = ActivityGiftManager.IsActivityTypeOpen(v.ActiveType)
|
||||||
if activityId and activityId > 0 and ActivityGiftManager.IsQualifiled(v.ActiveType) and v.ActiveType ~= 42 then
|
if activityId and activityId > 0 and ActivityGiftManager.IsQualifiled(v.ActiveType) and v.ActiveType ~= 42 then
|
||||||
|
@ -994,12 +993,16 @@ function this.TimeFormat()
|
||||||
end
|
end
|
||||||
elseif v.ActId == 667 then
|
elseif v.ActId == 667 then
|
||||||
local limitSkinGift = OperatingManager.GetTimeLimitSkinInfoList()
|
local limitSkinGift = OperatingManager.GetTimeLimitSkinInfoList()
|
||||||
local time = limitSkinGift.endTime - GetTimeStamp()
|
if not limitSkinGift then
|
||||||
if limitSkinGift and time > 0 then
|
|
||||||
activityTabs[k].go.gameObject:SetActive(true)
|
|
||||||
activityTabs[k].timeText.text = TimeToHMS(time)
|
|
||||||
else
|
|
||||||
activityTabs[k].go.gameObject:SetActive(false)
|
activityTabs[k].go.gameObject:SetActive(false)
|
||||||
|
else
|
||||||
|
local time = limitSkinGift.endTime - GetTimeStamp()
|
||||||
|
if time > 0 then
|
||||||
|
activityTabs[k].go.gameObject:SetActive(true)
|
||||||
|
activityTabs[k].timeText.text = TimeToHMS(time)
|
||||||
|
else
|
||||||
|
activityTabs[k].go.gameObject:SetActive(false)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
elseif v.ShowTime == 1 and activityTabs[k].go.gameObject.activeSelf then
|
elseif v.ShowTime == 1 and activityTabs[k].go.gameObject.activeSelf then
|
||||||
if v.ActiveType > 0 then
|
if v.ActiveType > 0 then
|
||||||
|
|
Loading…
Reference in New Issue