This commit is contained in:
make
2025-05-07 11:25:47 +08:00
parent e404014c66
commit 5563b1da1f
6 changed files with 50 additions and 12 deletions

View File

@@ -62,17 +62,16 @@
countdownElement.textContent = countdown;
if (countdown <= 0) {
clearInterval(interval);
// Check if there is a previous page in history
if (document.referrer) {
window.history.back();
} else {
window.location.href = '/'; // Redirect to home if no previous page
window.location.href = '/';
}
}
}, 1000);
}
// Start the countdown when the script loads
window.onload = startCountdown;
</script>
</head>

View File

@@ -275,10 +275,10 @@ $arrNovelSubjectFomartGroupData = [
'/user',
]
],
'PC_URL_PATH' => [
'description' => 'pc端URL目录 模板',
'PC_PATH_URL' => [
'description' => 'pc端目录URL 模板1',
'sfg_id' => 107,
'arrSubjectFomart' => ['/pc', '/web', '/desktop', '/index', '/shouye', '/zhuomian']
'arrSubjectFomart' => ['/pc']
],
'CATEGORY_INDEX_URL' => [
'description' => '书库首页URL 模板1',
@@ -323,7 +323,7 @@ $arrNovelSubjectFomartGroupData = [
]
],
// 最新替换模板分组id 125
// 最新替换模板分组id 130
];

View File

@@ -606,6 +606,45 @@ return [
]
],
// 最新替换模板分组id 125
// pc端目录URL
'PC_PATH_URL_T2' => [
'description' => 'pc端目录URL 模板2',
'sfg_id' => 126,
'arrSubjectFomart' => [
'/web',
]
],
'PC_PATH_URL_T3' => [
'description' => 'pc端目录URL 模板3',
'sfg_id' => 127,
'arrSubjectFomart' => [
'/desktop',
]
],
'PC_PATH_URL_T4' => [
'description' => 'pc端目录URL 模板4',
'sfg_id' => 128,
'arrSubjectFomart' => [
'/index',
]
],
'PC_PATH_URL_T5' => [
'description' => 'pc端目录URL 模板5',
'sfg_id' => 129,
'arrSubjectFomart' => [
'/shouye',
]
],
'PC_PATH_URL_T6' => [
'description' => 'pc端目录URL 模板6',
'sfg_id' => 130,
'arrSubjectFomart' => [
'/zhuomian',
]
],
// 最新替换模板分组id 130
];

View File

@@ -355,7 +355,7 @@ $arrVideoSubjectFomartGroupData = [
]
],
'VIDEO_PC_URL_PATH' => [
'VIDEO_PC_PATH_URL' => [
'description' => '视频pc端URL目录 模板',
'sfg_id' => 1030,
'arrSubjectFomart' => ['/pc', '/web', '/desktop', '/index', '/shouye', '/zhuomian']