d:\wwwroot\wuchunhua\jishiben\index.html
001:
<!DOCTYPE html>
002:
<html lang="zh-CN">
003:
<head>
004:
<meta charset="UTF-8">
005:
<meta name="viewport" content="width=device-width, initial-scale=1.0">
006:
<title>页面跳转?/title>
007:
<script src="https://cdn.tailwindcss.com"></script>
008:
<link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
009:
<script>
010:
// 设置3秒后自动跳转
011:
setTimeout(function() {
012:
window.location.href = "https://1z88.com/biji";
013:
}, 3000);
014:
</script>
015:
</head>
016:
<body class="bg-gray-100 min-h-screen flex items-center justify-center">
017:
<div class="text-center p-8 bg-white rounded-lg shadow-lg max-w-md w-full">
018:
<div class="mb-6 text-blue-500 text-5xl">
019:
<i class="fa fa-arrow-circle-right animate-pulse"></i>
020:
</div>
021:
<h1 class="text-2xl font-bold text-gray-800 mb-4">页面跳转?/h1>
022:
<p class="text-gray-600 mb-6">
023:
您将?<span id="countdown" class="font-bold text-red-500">3</span> 秒后自动跳转到目标页? </p>
024:
<p class="text-gray-500 text-sm">
025:
如果没有自动跳转,请点击下方链接
026:
</p>
027:
<a href="https://1z88.com/biji" class="inline-block mt-4 px-6 py-2 bg-blue-500 text-white rounded-md hover:bg-blue-600 transition-colors duration-300">
028:
手动跳转 <i class="fa fa-external-link ml-1"></i>
029:
</a>
030:
</div>
031:
032:
<script>
033:
// 显示倒计? let countdown = 3;
034:
const countdownElement = document.getElementById('countdown');
035:
036:
const countdownInterval = setInterval(function() {
037:
countdown--;
038:
countdownElement.textContent = countdown;
039:
040:
if (countdown <= 0) {
041:
clearInterval(countdownInterval);
042:
}
043:
}, 1000);
044:
</script>
045:
</body>
046:
</html>