<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>添加此作者QQ好友</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
padding: 0 20px;
overflow: hidden;
position: relative;
}
.bg-circle {
position: absolute;
border-radius: 50%;
background: linear-gradient(120deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
z-index: -1;
}
.bg-circle:nth-child(1) {
width: 300px;
height: 300px;
top: -100px;
left: -100px;
}
.bg-circle:nth-child(2) {
width: 200px;
height: 200px;
bottom: -50px;
right: -50px;
}
.top-loader {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 3px;
background: #e2e8f0;
z-index: 10;
}
.top-loader::after {
content: "";
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 0;
background: #3b82f6;
animation: topLoad 2s ease-in-out infinite;
}
.title {
font-size: 42px;
font-weight: 800;
color: #3b82f6;
margin-bottom: 30px;
animation: flash 1.5s ease-in-out infinite alternate;
text-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
letter-spacing: 1px;
}
.circle-loader-wrapper {
width: 60px;
height: 60px;
transition: transform 0.3s ease;
margin-bottom: 40px;
}
.circle-loader-wrapper:hover {
transform: scale(1.05);
}
.circle-loader {
width: 100%;
height: 100%;
border: 4px solid #e2e8f0;
border-top-color: #3b82f6;
border-radius: 50%;
will-change: transform;
animation: spin 1.8s linear infinite;
box-shadow: 0 4px 12px rgba(100, 116, 139, 0.15);
background: rgba(255, 255, 255, 0.7);
}
.file-upload-container {
width: 100%;
max-width: 400px;
background: white;
border-radius: 12px;
padding: 20px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
margin-bottom: 30px;
opacity: 0;
transform: translateY(20px);
transition: all 0.5s ease;
}
.file-upload-container.visible {
opacity: 1;
transform: translateY(0);
}
.file-info {
display: flex;
justify-content: space-between;
margin-bottom: 10px;
color: #4a5568;
font-size: 14px;
}
.file-name {
font-weight: 600;
color: #2d3748;
}
.progress-bar {
height: 8px;
background: #edf2f7;
border-radius: 4px;
overflow: hidden;
}
.progress {
height: 100%;
width: 0%;
background: linear-gradient(90deg, #3b82f6, #60a5fa);
border-radius: 4px;
transition: width 0.5s ease;
}
.jump-button {
padding: 14px 32px;
background: linear-gradient(90deg, #3b82f6, #2563eb);
color: white;
border: none;
border-radius: 8px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
opacity: 0;
transform: translateY(20px);
}
.jump-button.visible {
opacity: 1;
transform: translateY(0);
}
.jump-button:hover {
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}
.jump-button:active {
transform: translateY(0);
}
.countdown {
margin-top: 15px;
color: #718096;
font-size: 14px;
opacity: 0;
transition: opacity 0.5s ease;
}
.countdown.visible {
opacity: 1;
}
.page-transition {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: white;
z-index: 100;
transform: scaleY(0);
transform-origin: bottom;
transition: transform 0.6s ease-in-out;
}
@keyframes topLoad {
0% { width: 0; left: 0; }
50% { width: 100%; left: 0; }
100% { width: 0; left: 100%; }
}
@keyframes flash {
from { opacity: 0.6; }
to { opacity: 1; }
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
</style>
</head>
<body>
<div class="bg-circle"></div>
<div class="bg-circle"></div>
<div class="page-transition"></div>
<div class="top-loader"></div>
<h1 class="title">添加此作者QQ好友</h1>
<div class="circle-loader-wrapper">
<div class="circle-loader"></div>
</div>
<div class="file-upload-container">
<div class="file-info">
<span class="file-name">您好,正在加载好友请求链接,请稍等...</span>
<span class="file-size"><h3>Xr江枫</h3></span>
</div>
<div class="progress-bar">
<div class="progress" id="upload-progress"></div>
</div>
</div>
<button class="jump-button" id="jump-button">立即进入 (3)</button>
<div class="countdown" id="countdown">请稍等...</div>
<script>
document.addEventListener('DOMContentLoaded', function() {
const fileContainer = document.querySelector('.file-upload-container');
const progressBar = document.getElementById('upload-progress');
const jumpButton = document.getElementById('jump-button');
const countdown = document.getElementById('countdown');
const pageTransition = document.querySelector('.page-transition');
let countdownValue = 3;
let countdownInterval;
function performJump() {
clearInterval(countdownInterval);
pageTransition.style.transform = 'scaleY(1)';
setTimeout(() => {
window.location.href = 'https://qm.qq.com/q/EFo55kLIM8';
}, 600);
}
setTimeout(() => {
fileContainer.classList.add('visible');
let progress = 0;
const interval = setInterval(() => {
progress += Math.floor(Math.random() * 10) + 1;
if (progress >= 100) {
progress = 100;
clearInterval(interval);
setTimeout(() => {
jumpButton.classList.add('visible');
countdown.classList.add('visible');
countdownInterval = setInterval(() => { // 启动倒计时
countdownValue--;
jumpButton.textContent = `立即进入 (${countdownValue})`;
if (countdownValue <= 0) {
performJump();
}
}, 1000);
}, 500);
}
progressBar.style.width = `${progress}%`;
}, 200);
}, 2000);
jumpButton.addEventListener('click', performJump);
});
</script>
</body>
</html>
index.html