【拍脸】寻仙招募界面显示错误修改

gaoxin 2022-02-24 16:49:19 +08:00
parent 545e06c474
commit bfbc3b7195
2 changed files with 5 additions and 5 deletions

View File

@ -20573,10 +20573,10 @@ RectTransform:
m_Father: {fileID: 8332456046348154811}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: -487}
m_SizeDelta: {x: 980, y: 620}
m_SizeDelta: {x: 1080, y: 620}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &4705893914494726259
CanvasRenderer:

View File

@ -122,8 +122,8 @@ function this.PatFaceSpecialMonitorOpenRules(v,patFaceAllData,type,starUpGiftNum
this.PatFaceSpecialMonitor(v,patFaceAllData,type,starUpGiftNum)
elseif v.OpenRules[1] == 8 then -- 根据开服时间判断
local serverOpenTime = PlayerManager.GetServerOpenTime()
local openDay = math.max(0, GetTimeStamp() - serverOpenTime)/(60*60*24)--当前是开服第几天
LogError("当前是开服第几天了:"..openDay)
local openDay = math.ceil(math.max(0, GetTimeStamp() - serverOpenTime)/(60*60*24))--当前是开服第几天
-- LogError("当前是开服第几天了:"..openDay)
if openDay >= v.OpenRules[2] and openDay < v.CloseRules[2] then
this.PatFaceSpecialMonitor(v,patFaceAllData,type,starUpGiftNum)
end