SOURCE

console 命令行工具 X clear

                    
>
console
<!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">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
            padding: 20px;
        }
        
        .container {
            width: 100%;
            max-width: 800px;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
            overflow: hidden;
            position: relative;
        }
        
        .header {
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 20px;
            text-align: center;
            position: relative;
        }
        
        .header h1 {
            font-size: 2.5rem;
            margin-bottom: 10px;
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
        }
        
        .header p {
            font-size: 1.2rem;
            opacity: 0.8;
        }
        
        .camera-container {
            position: relative;
            width: 100%;
            height: 500px;
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .camera-frame {
            width: 90%;
            height: 80%;
            background: #111;
            border-radius: 10px;
            position: relative;
            overflow: hidden;
            box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .lens {
            width: 200px;
            height: 200px;
            background: radial-gradient(circle, #2c3e50, #1a1a1a);
            border-radius: 50%;
            position: relative;
            box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .lens::before {
            content: '';
            position: absolute;
            width: 160px;
            height: 160px;
            border: 8px solid rgba(255, 255, 255, 0.1);
            border-radius: 50%;
        }
        
        .lens::after {
            content: '';
            position: absolute;
            width: 120px;
            height: 120px;
            background: radial-gradient(circle, #3498db, #1a1a1a);
            border-radius: 50%;
            box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8);
        }
        
        .countdown {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 8rem;
            color: white;
            font-weight: bold;
            text-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
            opacity: 0;
            z-index: 10;
        }
        
        .flash {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.9);
            z-index: 5;
            opacity: 0;
            pointer-events: none;
        }
        
        .result {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: none;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            background: #000;
            z-index: 20;
            padding: 20px;
        }
        
        .result-img {
            width: 80%;
            max-height: 70%;
            object-fit: cover;
            border-radius: 10px;
            box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
        }
        
        .result-text {
            color: white;
            font-size: 2rem;
            margin-top: 30px;
            text-align: center;
            text-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
            animation: pulse 1.5s infinite;
        }
        
        .controls {
            padding: 25px;
            display: flex;
            justify-content: center;
            gap: 20px;
            background: rgba(0, 0, 0, 0.7);
        }
        
        .btn {
            padding: 15px 30px;
            border: none;
            border-radius: 50px;
            font-size: 1.2rem;
            font-weight: bold;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 10px;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }
        
        .btn-primary {
            background: linear-gradient(45deg, #ff416c, #ff4b2b);
            color: white;
        }
        
        .btn-secondary {
            background: linear-gradient(45deg, #2193b0, #6dd5ed);
            color: white;
        }
        
        .btn:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
        }
        
        .btn:active {
            transform: translateY(0);
        }
        
        .message {
            text-align: center;
            color: white;
            padding: 20px;
            font-size: 1.1rem;
            background: rgba(0, 0, 0, 0.5);
        }
        
        .fake-webcam {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, #2c3e50, #4a6491);
            display: flex;
            justify-content: center;
            align-items: center;
            color: rgba(255, 255, 255, 0.2);
            font-size: 1.5rem;
            z-index: 1;
        }
        
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }
        
        @keyframes countdownPop {
            0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
            50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
            100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
        }
        
        @media (max-width: 600px) {
            .header h1 { font-size: 2rem; }
            .header p { font-size: 1rem; }
            .camera-container { height: 400px; }
            .countdown { font-size: 6rem; }
            .result-text { font-size: 1.5rem; }
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">
            <h1><i class="fas fa-camera"></i> 自动拍照整蛊</h1>
            <p>系统将在3秒后自动拍摄照片 - 请做好准备!</p >
        </div>
        
        <div class="camera-container">
            <div class="fake-webcam">
                <div>正在访问摄像头...</div>
            </div>
            
            <div class="camera-frame">
                <div class="lens"></div>
            </div>
            
            <div class="countdown" id="countdown">3</div>
            <div class="flash" id="flash"></div>
            
            <div class="result" id="result">
                < img src="https://images.unsplash.com/photo-1533738363-b7f9aef128ce?auto=format&fit=crop&w=600&q=80" 
                     alt="搞笑猫照" class="result-img">
                <div class="result-text">哈哈!拍到你啦!这张照片太经典了!</div>
            </div>
        </div>
        
        <div class="controls">
            <button class="btn btn-primary" id="retakeBtn">
                <i class="fas fa-redo"></i> 再拍一次
            </button>
            <button class="btn btn-secondary" id="shareBtn">
                <i class="fas fa-share-alt"></i> 分享照片
            </button>
        </div>
        
        <div class="message">
            <p>注意:本网站仅供娱乐,不会保存或传输任何照片数据。照片仅显示在您的设备上。</p >
        </div>
    </div>

    <script>
        document.addEventListener('DOMContentLoaded', function() {
            const countdownEl = document.getElementById('countdown');
            const flashEl = document.getElementById('flash');
            const resultEl = document.getElementById('result');
            const retakeBtn = document.getElementById('retakeBtn');
            const shareBtn = document.getElementById('shareBtn');
            
            // 模拟访问摄像头
            setTimeout(() => {
                startCountdown();
            }, 2000);
            
            function startCountdown() {
                let count = 3;
                
                const countdownInterval = setInterval(() => {
                    countdownEl.textContent = count;
                    countdownEl.style.opacity = 1;
                    countdownEl.style.animation = 'countdownPop 0.5s';
                    
                    setTimeout(() => {
                        countdownEl.style.animation = 'none';
                    }, 500);
                    
                    if (count === 0) {
                        clearInterval(countdownInterval);
                        takePhoto();
                    }
                    
                    count--;
                }, 1000);
            }
            
            function takePhoto() {
                // 显示闪光效果
                flashEl.style.opacity = 1;
                
                setTimeout(() => {
                    flashEl.style.opacity = 0;
                    
                    // 显示结果
                    setTimeout(() => {
                        resultEl.style.display = 'flex';
                    }, 300);
                }, 200);
            }
            
            // 重拍按钮事件
            retakeBtn.addEventListener('click', function() {
                resultEl.style.display = 'none';
                setTimeout(() => {
                    startCountdown();
                }, 500);
            });
            
            // 分享按钮事件
            shareBtn.addEventListener('click', function() {
                alert('哈哈!骗你的啦!其实照片没有保存,这只是个整蛊!\n\n不过你的表情一定很精彩!��');
            });
        });
    </script>
</body>
</html>