验证ui展示 - 主页

云科技验证UI

云DIY模板 19 次查看 389 次下载

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

        body {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100vh;
            background: #4568dc;
            background: -webkit-linear-gradient(to right, #4568dc, #b06ab3);
            background: linear-gradient(to right, #4568dc, #b06ab3);
            margin: 0;
            padding: 0;
        }

        .login-container {
            width: 90%;
            max-width: 400px;
            background-color: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
            color: white;
            text-align: center;
        }

        h1 {
            font-size: 28px;
            margin-bottom: 8px;
            font-weight: 600;
        }

        p {
            opacity: 0.8;
            margin-bottom: 30px;
            font-size: 14px;
        }

        .input-field {
            width: 100%;
            background: rgba(255, 255, 255, 0.15);
            border: none;
            padding: 15px;
            border-radius: 8px;
            color: white;
            font-size: 16px;
            margin-bottom: 20px;
        }

        .input-field::placeholder {
            color: rgba(255, 255, 255, 0.7);
        }

        .input-field:focus {
            outline: none;
            background: rgba(255, 255, 255, 0.25);
        }

        .buttons {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }

        button {
            background: rgba(255, 255, 255, 0.2);
            border: none;
            padding: 14px;
            border-radius: 8px;
            color: white;
            font-size: 16px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
        }

        .login-btn {
            background: #6366F1;
            box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
        }

        button:hover {
            transform: translateY(-2px);
        }

第 101-162 行(共62行)
        svg {
            margin-right: 8px;
        }

        .footer {
            margin-top: 30px;
            font-size: 12px;
            opacity: 0.7;
        }
    </style>
</head>
<body>
    <div class="login-container">
        <h1>卡密登录</h1>
        <p>请输入您的授权卡密</p>
        
        <input type="text" class="input-field" id="code" placeholder="请输入卡密">
        
        <div class="buttons">
            <button class="login-btn" onclick="Call_Verify(code.value)">
                <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4"></path><polyline points="10 17 15 12 10 7"></polyline><line x1="15" y1="12" x2="3" y2="12"></line></svg>
                登录系统
            </button>
            <button onclick="Call_Query_Trial(code.value)">
                <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="11" width="18" height="11" rx="2" ry="2"></rect><path d="M7 11V7a5 5 0 0 1 10 0v4"></path></svg>
                获取卡密
            </button>
        </div>
        
        <div class="footer">
            © 2025云科技
        </div>
    </div>

    <script>
        function Call_Verify(text) {
            RuoLv.onButtonClick(0, text);
        }
        
        function Call_Query_Trial(text) {
            RuoLv.onButtonClick(1, text);
        }
        
        // 尝试加载背景图
        function loadBackgroundImage() {
            const img = new Image();
            img.onload = function() {
                document.body.style.backgroundImage = "url('http://154.12.89.171/1.png')";
                document.body.style.backgroundSize = "cover";
                document.body.style.backgroundPosition = "center";
            };
            img.onerror = function() {
                console.log("背景图加载失败");
            };
            img.src = "http://154.12.89.171/1.png";
        }
        
        // 页面加载后执行
        window.onload = loadBackgroundImage;
    </script>
</body>
</html>

用户评论

0 条评论
暂无评论

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

相关应用