验证ui展示 - 主页

云科技验证UI

云DIY模板 8 次查看 223 次下载

第 1-100 行(共100行)
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
    <title>验证窗口 - 玻璃风格</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        body {
            position: fixed;
            inset: 0;
            background-image: linear-gradient(135deg, #667eea, #764ba2, #6B8DD6);
            background-size: 400% 400%;
            animation: gradientBG 15s ease infinite;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
        }

        @keyframes gradientBG {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        /* 背景图形 */
        .bg-shapes {
            position: absolute;
            inset: 0;
            z-index: 0;
            overflow: hidden;
        }

        .bg-shape {
            position: absolute;
            border-radius: 50%;
            filter: blur(40px);
            opacity: 0.7;
        }

        .bg-shape:nth-child(1) {
            top: 10%;
            left: 15%;
            width: 300px;
            height: 300px;
            background: #ff6b6b;
        }

        .bg-shape:nth-child(2) {
            top: 60%;
            left: 80%;
            width: 250px;
            height: 250px;
            background: #4facfe;
        }

        .bg-shape:nth-child(3) {
            top: 70%;
            left: 20%;
            width: 200px;
            height: 200px;
            background: #7a67ee;
        }

        .bg-shape:nth-child(4) {
            top: 20%;
            left: 70%;
            width: 180px;
            height: 180px;
            background: #43e97b;
        }

        .modal {
            width: 90%;
            max-width: 420px;
            background: rgba(255, 255, 255, 0.15);
第 101-200 行(共100行)
            border-radius: 24px;
            padding: 35px;
            box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.25);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.18);
            animation: slideIn 0.5s cubic-bezier(0.2, 0.9, 0.3, 1);
            position: relative;
            z-index: 1;
        }

        .input-wrapper {
            position: relative;
            margin: 8px 0 24px;
        }

        .input-wrapper::before {
            content: '';
            position: absolute;
            left: 17px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 16px;
            pointer-events: none;
            z-index: 2;
        }

        .input-wrapper input {
            width: 100%;
            padding: 16px 20px 16px 48px;
            border: none;
            border-radius: 16px;
            font-size: 15px;
            background: rgba(255, 255, 255, 0.25);
            color: rgba(0, 0, 0, 0.8);
            transition: all 0.3s ease;
            box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
        }

        .input-wrapper input:focus {
            box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4), inset 0 2px 5px rgba(0, 0, 0, 0.05);
            outline: none;
            background: rgba(255, 255, 255, 0.35);
        }

        .input-wrapper input::placeholder {
            color: rgba(0, 0, 0, 0.5);
        }

        .btn {
            width: 100%;
            padding: 16px;
            border: none;
            border-radius: 16px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
        }

        .btn::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,0.2));
            opacity: 0;
            transition: opacity 0.3s;
        }

        .btn:hover::after {
            opacity: 1;
        }

        .btn-primary {
            background: rgba(255, 255, 255, 0.25);
            color: rgba(0, 0, 0, 0.8);
            margin-bottom: 12px;
            border: 1px solid rgba(255, 255, 255, 0.5);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        .btn-secondary {
            background: rgba(0, 0, 0, 0.1);
            color: rgba(0, 0, 0, 0.7);
            margin-bottom: 24px;
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .btn:active {
            transform: scale(0.98);
        }

        .notice {
            background: rgba(255, 255, 255, 0.2);
第 201-300 行(共100行)
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 18px;
            padding: 22px;
            transition: all 0.3s ease;
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
        }

        .notice h3 {
            font-size: 16px;
            color: rgba(0, 0, 0, 0.75);
            margin-bottom: 10px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .notice h3::before {
            content: '';
            font-size: 18px;
        }

        .notice p {
            font-size: 14px;
            color: rgba(0, 0, 0, 0.65);
            line-height: 1.6;
        }

        .notice:hover {
            transform: translateY(-2px);
            background: rgba(255, 255, 255, 0.25);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
        }

        /* 炫光按钮效果 */
        .btn.btn-primary::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(
                to right, 
                rgba(255, 255, 255, 0) 0%, 
                rgba(255, 255, 255, 0.3) 50%, 
                rgba(255, 255, 255, 0) 100%
            );
            transform: rotate(30deg);
            transition: transform 0.7s;
            opacity: 0;
        }

        .btn.btn-primary:hover::before {
            transform: rotate(30deg) translate(100px, 0);
            opacity: 1;
        }

        /* 版本号样式 */
        .version {
            text-align: center;
            font-size: 12px;
            color: rgba(0, 0, 0, 0.5);
            margin-top: 20px;
        }

        @media (max-width: 480px) {
            .modal {
                width: 92%;
                padding: 28px;
                border-radius: 20px;
            }
        }
    </style>
</head>
<body>
    <div class="bg-shapes">
        <div class="bg-shape"></div>
        <div class="bg-shape"></div>
        <div class="bg-shape"></div>
        <div class="bg-shape"></div>
    </div>
    
    <div class="modal">
        <div class="input-wrapper">
            <input type="text" id="code" placeholder="请输入激活码" pattern="^[a-zA-Z0-9_-]{1,16}$">
        </div>
        
        <button class="btn btn-primary" onclick="Call_Verify(code.value)">立即验证</button>
        <button class="btn btn-secondary" onclick="Call_Query_Trial(code.value)">查询卡密</button>

        <div class="notice">
            <h3>系统公告</h3>
            <p id="notice">欢迎使用验证系统,请输入有效的激活码进行验证。如有问题请联系客服,我们将竭诚为您服务。</p>
        </div>
        
        <div class="version">Glassmorphism UI • Version 1.5</div>
    </div>

第 301-335 行(共35行)
    <script>
        function Call_Verify(text) {
            try {
                if (typeof RuoLv !== 'undefined' && RuoLv.onButtonClick) {
                    RuoLv.onButtonClick(0, text);
                } else {
                    console.log('验证函数调用: ', text);
                    alert('验证功能模拟: ' + text);
                }
            } catch (e) {
                console.error('验证接口调用失败', e);
            }
        }
        
        function Call_Query_Trial(text) {
            try {
                if (typeof RuoLv !== 'undefined' && RuoLv.onButtonClick) {
                    RuoLv.onButtonClick(1, text);
                } else {
                    console.log('查询函数调用: ', text);
                    alert('查询功能模拟: ' + text);
                }
            } catch (e) {
                console.error('查询接口调用失败', e);
            }
        }

        // 初始化公告内容
        document.addEventListener('DOMContentLoaded', function() {
            // 这里可以从服务器获取公告内容
            document.getElementById('notice').textContent = "新版本采用玻璃态设计,带来全新视觉体验。服务器已升级,响应速度提升30%。如需帮助请加入官方交流群。";
        });
    </script>
</body>
</html> 

用户评论

0 条评论
暂无评论

成为第一个评论此应用的用户吧!

相关应用