feat(古尔邦节): 调整倒计时
This commit is contained in:
parent
06db57af0d
commit
684ef53738
@ -413,7 +413,7 @@ const router = createRouter({
|
|||||||
name: 'gulben-festival',
|
name: 'gulben-festival',
|
||||||
component: () => import('../views/Activities/GulbenFestival/index.vue'),
|
component: () => import('../views/Activities/GulbenFestival/index.vue'),
|
||||||
meta: { requiresAuth: true },
|
meta: { requiresAuth: true },
|
||||||
}, // 古尔邦节活动
|
}, // 古尔邦节活动,2026年6月7日上午5点结束
|
||||||
{
|
{
|
||||||
path: '/activities/lucky-dollars-season5',
|
path: '/activities/lucky-dollars-season5',
|
||||||
name: 'lucky-dollars-season5',
|
name: 'lucky-dollars-season5',
|
||||||
|
|||||||
@ -3383,9 +3383,9 @@ const activeContentTitle = computed(() => {
|
|||||||
|
|
||||||
const padTime = (value) => String(value).padStart(2, '0')
|
const padTime = (value) => String(value).padStart(2, '0')
|
||||||
|
|
||||||
// 获取目标时间(2026年6月1日上午5点,北京时间)
|
// 获取目标时间(2026年6月7日上午5点,北京时间)
|
||||||
const getTargetTime = () => {
|
const getTargetTime = () => {
|
||||||
const target = new Date(2026, 5, 1, 5, 0, 0) // 月份从0开始,5代表6月
|
const target = new Date(2026, 5, 7, 5, 0, 0) // 月份从0开始,5代表6月
|
||||||
return target.getTime()
|
return target.getTime()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user