<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>网站维护中 - 即将恢复服务</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<link href="https://fonts.googleapis.com/css2?family=Orbitron&display=swap" rel="stylesheet">
<style>
/* 基础样式 */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Orbitron', sans-serif; /* 使用未来感更强的字体 */
background: linear-gradient(135deg, #1a2980, #26d0ce);
color: white;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
overflow-x: hidden;
padding: 20px;
}
/* 半透明玻璃效果卡片 */
.countdown-container {
text-align: center;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(12px);
border-radius: 20px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
max-width: 800px;
width: 90%;
position: relative;
overflow: hidden;
animation: fadeInUp 0.8s ease-out;
padding: 40px 50px;
}
.logo {
margin-bottom: 20px;
font-size: 2.5rem;
text-shadow: 0 0 15px rgba(255, 107, 107, 0.9), 0 0 30px rgba(255, 107, 107, 0.5);
}
.logo i {
color: #ff6b6b;
font-size: 3rem;
margin-right: 15px;
}
/* 倒计时显示样式 */
.countdown {
margin: 30px 0;
display: flex;
justify-content: center;
flex-wrap: wrap;
}
.time-unit {
margin: 0 10px;
min-width: 110px;
}
.time-value {
font-size: 3.5rem;
font-weight: 700;
background: rgba(255, 255, 255, 0.2);
border-radius: 15px;
padding: 15px 20px;
margin-bottom: 10px;
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
transition: all 0.3s ease;
text-shadow: 0 0 20px #00ffcc, 0 0 30px #00ffcc; /* 文字光晕效果 */
}
.time-value:hover {
transform: scale(1.05);
background: rgba(255, 255, 255, 0.25);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}
.time-label {
font-size: 1.1rem;
letter-spacing: 2px;
opacity: 0.9;
font-weight: 500;
text-shadow: 0 0 10px #00ffcc; /* 标签文字光晕效果 */
}
/* 进度条样式 */
.progress-container {
width: 100%;
height: 6px;
background: rgba(255, 255, 255, 0.2);
border-radius: 10px;
margin: 30px auto;
overflow: hidden;
}
.progress-bar {
height: 100%;
background: linear-gradient(90deg, #ff9a9e, #fad0c4);
border-radius: 10px;
width: 0;
transition: width 0.5s ease;
}
/* 提示信息和社交链接 */
.maintenance-tip {
margin-top: 30px;
font-size: 1.2rem;
line-height: 1.6;
text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}
.maintenance-tip p {
margin: 15px 0;
}
.highlight {
color: #00ffcc;
font-weight: 600;
text-shadow: 0 0 10px rgba(0, 255, 255, 0.9);
}
.social-links {
display: flex;
justify-content: center;
gap: 20px;
margin-top: 25px;
}
.social-links a {
width: 50px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
background: rgba(255, 255, 255, 0.1);
border-radius: 50%;
font-size: 1.5rem;
color: white;
border: 1px solid rgba(255, 255, 255, 0.2);
transition: all 0.3s ease;
}
.social-links a:hover {
transform: scale(1.1);
background: rgba(255, 255, 255, 0.3);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}
/* 页脚信息 */
.footer {
margin-top: 40px;
font-size: 0.9rem;
opacity: 0.8;
}
/* 动画效果 */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* 响应式设计 */
@media (max-width: 768px) {
.countdown-container {
padding: 30px;
}
}
@media (max-width: 576px) {
.countdown-container {
padding: 25px 15px;
width: 95%;
}
.logo {
font-size: 2rem;
}
.time-unit {
min-width: 70px;
margin: 5px;
}
.time-value {
font-size: 2.2rem;
padding: 10px;
text-shadow: 0 0 15px #00ffcc; /* 适应小屏幕的光晕效果 */
}
.time-label {
font-size: 0.9rem;
}
.maintenance-tip {
font-size: 1rem;
}
}
</style>
</head>
<body>
<div class="countdown-container">
<div class="logo">
<i class="fas fa-tools"></i>
<h1>网站维护中</h1>
</div>
<div class="maintenance-tip">
<p>我们正在进行系统维护升级,以提供更优质的服务体验</p>
<p>请稍后访问!<span class="highlight">感谢您的理解与支持</span></p>
</div>
<div class="countdown">
<div class="time-unit">
<div class="time-value" id="days">00</div>
<div class="time-label">天</div>
</div>
<div class="time-unit">
<div class="time-value" id="hours">00</div>
<div class="time-label">时</div>
</div>
<div class="time-unit">
<div class="time-value" id="minutes">00</div>
<div class="time-label">分</div>
</div>
<div class="time-unit">
<div class="time-value" id="seconds">00</div>
<div class="time-label">秒</div>
</div>
</div>
<div class="progress-container">
<div class="progress-bar" id="progress-bar"></div>
</div>
<div class="maintenance-tip">
<p>在此期间,您可以通过以下方式获取最新信息:</p>
<div class="social-links">
<a href="#" title="微信公众号"><i class="fab fa-weixin"></i></a>
<a href="#" title="微博"><i class="fab fa-weibo"></i></a>
<a href="#" title="邮件订阅"><i class="fas fa-envelope"></i></a>
<a href="#" title="客服"><i class="fas fa-headset"></i></a>
</div>
</div>
<div class="footer">
<p>资源宝 · www.httple.net · © 2025</p>
</div>
</div>
<script>
var countDownDate = new Date("June 22, 2025 00:00:00").getTime();
var startDate = new Date("June 21, 2025 00:00:00").getTime();
var totalDuration = countDownDate - startDate;
var daysElement = document.getElementById("days");
var hoursElement = document.getElementById("hours");
var minutesElement = document.getElementById("minutes");
var secondsElement = document.getElementById("seconds");
var progressBar = document.getElementById("progress-bar");
var x = setInterval(function() {
var now = new Date().getTime();
var distance = countDownDate - now;
var elapsed = now - startDate;
var percent = (elapsed / totalDuration) * 100;
progressBar.style.width = Math.min(percent, 100) + "%";
if (distance < 0) {
clearInterval(x);
daysElement.textContent = "00";
hoursElement.textContent = "00";
minutesElement.textContent = "00";
secondsElement.textContent = "00";
document.querySelector('.maintenance-tip p:first-child').innerHTML =
"网站维护已完成!<span class='highlight'>正在恢复服务...</span>";
progressBar.style.width = "100%";
return;
}
var days = Math.floor(distance / (1000 * 60 * 60 * 24));
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
days = days < 10 ? "0" + days : days;
hours = hours < 10 ? "0" + hours : hours;
minutes = minutes < 10 ? "0" + minutes : minutes;
seconds = seconds < 10 ? "0" + seconds : seconds;
daysElement.textContent = days;
hoursElement.textContent = hours;
minutesElement.textContent = minutes;
secondsElement.textContent = seconds;
animateElement(secondsElement);
}, 1000);
function animateElement(element) {
element.style.animation = "pulse 0.5s ease";
setTimeout(() => {
element.style.animation = "";
}, 500);
}
</script>
</body>
</html>
收藏的用户(0)
X
正在加载信息~
下一篇
无更多文章
暂无评论