<!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 floatIn {
from {
opacity: 0;
transform: translateY(20px) scale(0.98);
}
to {
opacity: 1;
transform: translateY(0) scale(1);
}
}
body {
position: fixed;
inset: 0;
background: rgba(17, 23, 41, 0.65);
display: flex;
justify-content: center;
align-items: center;
animation: fadeIn 0.3s ease;
backdrop-filter: blur(8px);
}
.modal {
width: 90%;
max-width: 420px;
background: linear-gradient(145deg, #ffffff, #f8faff);
border-radius: 28px;
padding: 32px;
box-shadow:
0 25px 50px -12px rgba(0, 0, 0, 0.15),
0 0 0 1px rgba(255, 255, 255, 0.8);
animation: floatIn 0.4s cubic-bezier(0.2, 0.9, 0.3, 1);
}
.input-wrapper {
position: relative;
margin: 8px 0 24px;
}
.input-wrapper::before {
content: '';
position: absolute;
left: 20px;
top: 50%;
transform: translateY(-50%);
font-size: 16px;
pointer-events: none;
}
.input-wrapper input {
width: 100%;
padding: 16px 20px 16px 50px;
border: 2px solid #e2e8f0;
border-radius: 16px;
font-size: 16px;
background: rgba(255, 255, 255, 0.9);
transition: all 0.2s ease;
}
.input-wrapper input:focus {
border-color: #6366f1;
box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
outline: none;
}
.input-wrapper input::placeholder {
color: #94a3b8;
}
.btn {
width: 100%;
padding: 16px;
border: none;
border-radius: 16px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
position: relative;
overflow: hidden;
}
.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.2s;
}
.btn:hover::after {
opacity: 1;
}
.btn-primary {
background: linear-gradient(135deg, #6366f1, #4f46e5);
color: white;
margin-bottom: 12px;
}
.btn-secondary {
background: #f1f5f9;
color: #334155;
margin-bottom: 24px;
}
.btn:active {
transform: scale(0.98);
}
.notice {
background: rgba(255, 255, 255, 0.6);
border: 1px solid rgba(226, 232, 240, 0.8);
border-radius: 18px;
padding: 24px;
transition: all 0.3s ease;
}
.notice h3 {
font-size: 17px;
color: #1e293b;
margin-bottom: 12px;
font-weight: 600;
display: flex;
align-items: center;
gap: 8px;
}
.notice h3::before {
content: '';
font-size: 20px;
}
.notice p {
font-size: 15px;
color: #475569;
line-height: 1.6;
}
.notice:hover {
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}
@media (max-width: 480px) {
.modal {
width: 92%;
padding: 24px;
border-radius: 24px;
}
}
</style>
</head>
<body>
<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>
<script>
function Call_Verify(text) {
RuoLv.onButtonClick(0, text);
}
function Call_Query_Trial(text) {
RuoLv.onButtonClick(1, text);
}
</script>
</body>
</html>
成为第一个评论此应用的用户吧!