<!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 href="http://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
    <link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
    <style>
        body {
            background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        .review-card {
            animation: fadeIn 1.5s ease-out;
            box-shadow: 0 20px 50px rgba(0, 100, 0, 0.15);
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .logo-icon {
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.3);
        }
        .progress-bar {
            height: 6px;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 3px;
            overflow: hidden;
        }
        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #4caf50, #8bc34a);
            width: 0%;
            transition: width 1s ease-in-out;
            /* 1. 进度条呼吸光效 */
            animation: progressPulse 2s infinite ease-in-out;
        }
        @keyframes progressPulse {
            0% { opacity: 0.7; }
            50% { opacity: 1; }
            100% { opacity: 0.7; }
        }
    </style>
</head>


<body class="text-gray-800">
    <div class="review-card text-center p-8 bg-white bg-opacity-80 rounded-2xl max-w-lg w-full mx-4 backdrop-blur-sm">
        <!-- Logo区域 -->
        <div class="logo-icon w-24 h-24 rounded-full flex items-center justify-center mx-auto mb-6">
            <i class="fas fa-shield-alt text-4xl text-green-600"></i>
        </div>
        
        <!-- 标题 -->
        <h1 class="text-3xl md:text-4xl font-bold mb-4 text-green-700">内容审核中</h1>
        
        <!-- 描述文字 -->
        <p class="mb-6 text-lg text-gray-600">为了确保内容质量和用户体验，正在对内容进行审核。</p>
        
        <!-- 进度条 -->
        <div class="progress-bar mb-6">
            <div id="progressFill" class="progress-fill rounded-full"></div>
        </div>
        
        <!-- 状态信息 -->
        <div class="flex items-center justify-center space-x-2 mb-6 text-green-600">
            <i class="fas fa-sync-alt animate-spin"></i>
            <p>审核进度：<strong id="progressText">0%</strong></p>
        </div>
        
        <!-- 预计时间 -->
        <div class="bg-green-50 border border-green-200 rounded-lg p-4 mb-6">
            <p class="text-green-700">
                <i class="fas fa-info-circle mr-2"></i>
                预计完成时间：<strong id="estimatedTime">计算中...</strong>
            </p>
        </div>
        
        <!-- 状态说明 -->
        <div class="bg-white border border-green-300 rounded-lg p-4 text-left">
            <h3 class="font-semibold text-green-700 mb-2">审核状态说明</h3>
            <ul class="text-sm text-gray-600 space-y-1">
                <li class="flex items-start">
                    <i class="fas fa-check-circle text-green-500 mt-1 mr-2 text-xs"></i>
                    <span>内容安全检测已完成</span>
                </li>
                <li class="flex items-start">
                    <i class="fas fa-check-circle text-green-500 mt-1 mr-2 text-xs"></i>
                    <span>版权合规性检查中</span>
                </li>
                <li class="flex items-start">
                    <i id="lastIcon" class="fas fa-spinner text-yellow-500 mt-1 mr-2 text-xs"></i>
                    <span id="lastText">质量评分计算中</span>
                </li>
            </ul>
        </div>
        
        <!-- 页脚 -->
        <footer class="mt-8 text-gray-500 text-sm">
            © 2026  <br>备案号：<a href="http://beian.miit.gov.cn/" target="_blank" rel="nofollow">京ICP备10040984号-1</a>
        </footer>
    </div>

    <!-- 状态提示 -->
    <div id="statusToast" class="fixed bottom-4 right-4 hidden bg-green-500 text-white px-4 py-2 rounded-lg shadow-lg z-50">
        <i class="fas fa-check-circle mr-2"></i><span id="toastMessage">审核进度已更新</span>
    </div>

    <script>
        // 全局变量
        let progress = 0;
        let intervalId = null;
        let baseCompletionTime = new Date(Date.now() + 30 * 60000);
        
        // 初始化
        document.addEventListener('DOMContentLoaded', function() {
            updateEstimatedTime();
            startProgress();
        });
        
        // 开始进度更新
        function startProgress() {
            if (intervalId) clearInterval(intervalId);
            
            intervalId = setInterval(() => {
                if (progress < 100) {
                    updateProgress();
                } else {
                    clearInterval(intervalId);
                    // 2. 审核完成自动切换状态 ✅
                    finishAllStatus();
                    showToast("审核已完成！");
                }
            }, 1000);
        }
        
        // 更新进度
        function updateProgress() {
            const increment = Math.random() * 3;
            progress = Math.min(progress + increment, 100);
            document.getElementById('progressFill').style.width = progress + '%';
            document.getElementById('progressText').textContent = Math.round(progress) + '%';
            updateEstimatedTime();
        }
        
        // 更新预计完成时间
        function updateEstimatedTime() {
            let adjustedTime;
            if (progress > 90) {
                adjustedTime = new Date(Date.now() + 2 * 60000);
            } else if (progress > 70) {
                adjustedTime = new Date(Date.now() + 5 * 60000);
            } else if (progress > 50) {
                adjustedTime = new Date(Date.now() + 10 * 60000);
            } else if (progress > 30) {
                adjustedTime = new Date(Date.now() + 15 * 60000);
            } else {
                adjustedTime = new Date(Date.now() + 20 * 60000);
            }
            
            // 3. 预计时间只显示 时分
            document.getElementById('estimatedTime').textContent = 
                adjustedTime.toLocaleTimeString('zh-CN', {hour: '2-digit', minute:'2-digit'});
        }
        
        // 审核完成：最后一步自动打钩 ✅
        function finishAllStatus() {
            const icon = document.getElementById('lastIcon');
            const text = document.getElementById('lastText');
            icon.className = 'fas fa-check-circle text-green-500 mt-1 mr-2 text-xs';
            text.textContent = '质量评分计算已完成';
        }
        
        // 显示提示
        function showToast(message) {
            document.getElementById('toastMessage').textContent = message;
            const toast = document.getElementById('statusToast');
            toast.classList.remove('hidden');
            setTimeout(() => {
                toast.classList.add('hidden');
            }, 2000);
        }
    </script>

</body>
</html>
 