验证ui展示 - 主页

云科技验证UI

云DIY模板 3 次查看 17 次下载

第 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; }
        }

        body {
            position: fixed;
            inset: 0;
            background-color: #e0e5ec;
            display: flex;
            justify-content: center;
            align-items: center;
            animation: fadeIn 0.4s ease;
        }

        .modal {
            width: 90%;
            max-width: 400px;
            background-color: #e0e5ec;
            border-radius: 20px;
            padding: 40px 30px;
            box-shadow: 
                20px 20px 60px #bec4cc,
                -20px -20px 60px #ffffff;
            transition: all 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
        }

        .modal:hover {
            transform: translateY(-5px);
        }

        .title {
            text-align: center;
            margin-bottom: 30px;
        }

        .title h2 {
            font-size: 22px;
            color: #4a5568;
            margin-bottom: 6px;
            letter-spacing: 0.5px;
        }

        .title p {
            font-size: 14px;
            color: #718096;
        }

        .input-wrapper {
            position: relative;
            margin: 20px 0 30px;
        }

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

        .input-wrapper input {
            width: 100%;
            padding: 18px 20px 18px 50px;
            border: none;
            border-radius: 15px;
            font-size: 15px;
            color: #4a5568;
            transition: all 0.3s ease;
            box-shadow: 
                inset 5px 5px 10px #bec4cc,
                inset -5px -5px 10px #ffffff;
            background-color: #e0e5ec;
        }

        .input-wrapper input:focus {
            outline: none;
            box-shadow: 
                inset 8px 8px 15px #bec4cc,
                inset -8px -8px 15px #ffffff;
        }

第 101-200 行(共100行)
        .input-wrapper input::placeholder {
            color: #a0aec0;
        }

        .btn {
            width: 100%;
            padding: 18px;
            border: none;
            border-radius: 15px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            margin-bottom: 15px;
            color: #4a5568;
            background-color: #e0e5ec;
            box-shadow: 
                8px 8px 15px #bec4cc,
                -8px -8px 15px #ffffff;
        }

        .btn:hover {
            box-shadow: 
                6px 6px 10px #bec4cc,
                -6px -6px 10px #ffffff;
        }

        .btn:active {
            box-shadow: 
                inset 5px 5px 10px #bec4cc,
                inset -5px -5px 10px #ffffff;
            transform: scale(0.98);
        }

        .btn-primary {
            color: #5a67d8;
            margin-bottom: 15px;
            font-weight: 700;
        }

        .btn-primary::before {
            content: '';
            position: absolute;
            left: 8px;
            top: 50%;
            transform: translateY(-50%);
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: linear-gradient(45deg, #5a67d8, #6f86d6);
            box-shadow: 0 0 5px #5a67d8;
            transition: all 0.3s ease;
        }

        .btn-primary:hover::before {
            transform: translateY(-50%) scale(1.2);
        }

        .btn-secondary {
            color: #718096;
            margin-bottom: 30px;
        }

        .notice {
            border-radius: 15px;
            padding: 25px;
            transition: all 0.3s ease;
            box-shadow: 
                8px 8px 15px #bec4cc,
                -8px -8px 15px #ffffff;
            background-color: #e0e5ec;
            position: relative;
            overflow: hidden;
        }

        .notice h3 {
            font-size: 16px;
            color: #4a5568;
            margin-bottom: 12px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 10px;
        }

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

        .notice p {
            font-size: 14px;
            color: #718096;
            line-height: 1.6;
        }

        .notice:hover {
            transform: translateY(-3px);
第 201-300 行(共100行)
            box-shadow: 
                10px 10px 20px #bec4cc,
                -10px -10px 20px #ffffff;
        }

        /* 按钮内装饰线 */
        .btn.btn-primary::after {
            content: '';
            position: absolute;
            right: 20px;
            top: 50%;
            width: 20px;
            height: 2px;
            background-color: rgba(90, 103, 216, 0.5);
            transform: translateY(-50%);
            border-radius: 2px;
        }

        .btn.btn-secondary::after {
            content: '';
            position: absolute;
            right: 20px;
            top: 50%;
            width: 20px;
            height: 2px;
            background-color: rgba(113, 128, 150, 0.5);
            transform: translateY(-50%);
            border-radius: 2px;
        }

        /* 版本号样式 */
        .version {
            text-align: center;
            font-size: 12px;
            color: #a0aec0;
            margin-top: 25px;
        }

        /* 选中文字样式 */
        ::selection {
            background-color: rgba(90, 103, 216, 0.2);
            color: #5a67d8;
        }

        @media (max-width: 480px) {
            .modal {
                width: 92%;
                padding: 30px 25px;
            }
        }
    </style>
</head>
<body>
    <div class="modal">
        <div class="title">
            <h2>验证中心</h2>
            <p>请输入您的激活信息</p>
        </div>
        
        <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">Neumorphism UI • v3.2.1</div>
    </div>

    <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);
            }
        }
第 301-309 行(共9行)

        // 初始化公告内容
        document.addEventListener('DOMContentLoaded', function() {
            // 这里可以从服务器获取公告内容
            document.getElementById('notice').textContent = "全新Neumorphism设计风格已上线,为您带来全新的软拟物交互体验。最近服务器已完成更新维护,运行更加稳定。";
        });
    </script>
</body>
</html> 

用户评论

0 条评论
暂无评论

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

相关应用