验证ui展示 - 主页

云科技验证UI

云DIY模板 6 次查看 23 次下载

第 1-100 行(共100行)
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <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: -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
            -webkit-tap-highlight-color: transparent;
        }

        body {
            min-height: 100vh;
            background: #f8f9fa;
            padding: 0;
            margin: 0;
        }

        .header {
            background: #fff;
            padding: 20px;
            text-align: center;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 100;
        }

        .header h1 {
            font-size: 20px;
            color: #333;
            font-weight: 600;
        }

        .container {
            padding: 20px;
            margin-top: 70px;
        }

        .card {
            background: #fff;
            border-radius: 16px;
            padding: 20px;
            margin-bottom: 15px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }

        .input-group {
            margin-bottom: 20px;
        }

        .input-label {
            font-size: 15px;
            color: #666;
            margin-bottom: 8px;
            display: block;
        }

        .input-group input {
            width: 100%;
            padding: 15px;
            border: 1px solid #eee;
            border-radius: 12px;
            font-size: 16px;
            background: #f8f9fa;
        }

        .input-group input:focus {
            outline: none;
            border-color: #007AFF;
            background: #fff;
        }

        .btn {
            width: 100%;
            padding: 16px;
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 500;
            margin-bottom: 12px;
            cursor: pointer;
            transition: background-color 0.2s;
        }

        .btn-verify {
            background: #007AFF;
            color: #fff;
        }

        .btn-verify:active {
            background: #0066CC;
        }

第 101-200 行(共100行)
        .btn-query {
            background: #f1f3f5;
            color: #333;
        }

        .btn-query:active {
            background: #e9ecef;
        }

        .notice-card {
            background: #fff;
            border-radius: 16px;
            padding: 20px;
            margin-top: 20px;
        }

        .notice-title {
            font-size: 16px;
            color: #333;
            margin-bottom: 10px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 6px;
        }

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

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

        /* 底部安全区域 */
        .safe-area {
            height: 20px;
        }

        /* 适配刘海屏 */
        @supports (padding-top: env(safe-area-inset-top)) {
            .header {
                padding-top: calc(20px + env(safe-area-inset-top));
            }
            
            .container {
                margin-top: calc(70px + env(safe-area-inset-top));
            }
        }

        /* 适配深色模式 */
        @media (prefers-color-scheme: dark) {
            body {
                background: #000;
            }

            .header {
                background: #1c1c1e;
            }

            .header h1 {
                color: #fff;
            }

            .card, .notice-card {
                background: #1c1c1e;
            }

            .input-label {
                color: #999;
            }

            .input-group input {
                background: #2c2c2e;
                border-color: #2c2c2e;
                color: #fff;
            }

            .input-group input:focus {
                border-color: #0A84FF;
            }

            .btn-query {
                background: #2c2c2e;
                color: #fff;
            }

            .notice-title {
                color: #fff;
            }

            .notice-content {
                color: #999;
            }
        }
    </style>
</head>
第 201-235 行(共35行)
<body>
    <header class="header">
        <h1>验证中心</h1>
    </header>

    <div class="container">
        <div class="card">
            <div class="input-group">
                <label class="input-label">激活码</label>
                <input type="text" id="code" placeholder="请输入激活码">
            </div>

            <button class="btn btn-verify" onclick="Call_Verify(code.value)">立即验证</button>
            <button class="btn btn-query" onclick="Call_Query_Trial(code.value)">查询卡密</button>
        </div>

        <div class="notice-card">
            <div class="notice-title">系统公告</div>
            <div class="notice-content" id="notice"></div>
        </div>

        <div class="safe-area"></div>
    </div>

    <script>
        function Call_Verify(text) {
            RuoLv.onButtonClick(0, text);
        }
        
        function Call_Query_Trial(text) {
            RuoLv.onButtonClick(1, text);
        }
    </script>
</body>
</html>

用户评论

0 条评论
暂无评论

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

相关应用