feat(水果游戏活动返场): 修改倒计时
This commit is contained in:
parent
3388c62569
commit
7487208718
@ -503,10 +503,10 @@ const showRanking = computed(() => {
|
|||||||
// return []
|
// return []
|
||||||
})
|
})
|
||||||
|
|
||||||
// 获取沙特时间的1月3号早上0点的时间戳(直接使用北京时间)
|
// 获取沙特时间的2026年2月16号早上0点的时间戳(直接使用北京时间)
|
||||||
const getTargetTime = () => {
|
const getTargetTime = () => {
|
||||||
// 沙特时间1月3日0点 = 北京时间1月3日5点(沙特比北京晚5小时)
|
// 沙特时间2026年2月16号早上0点 = 北京时间2026年2月16号早上5点(沙特比北京晚5小时)
|
||||||
const targetDate = new Date(2026, 0, 3, 5, 0, 0)
|
const targetDate = new Date(2026, 1, 16, 5, 0, 0)
|
||||||
return targetDate.getTime()
|
return targetDate.getTime()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user