<!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 Display', sans-serif;
-webkit-font-smoothing: antialiased;
}
body {
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
padding: 20px;
}
.popup {
width: 90%;
max-width: 340px;
background: linear-gradient(145deg, #ffffff, #f5f7ff);
border-radius: 28px;
overflow: hidden;
box-shadow:
0 20px 40px rgba(0, 0, 0, 0.08),
0 1px 2px rgba(0, 0, 0, 0.02);
position: relative;
isolation: isolate;
}
.popup::before {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(180deg,
rgba(255, 255, 255, 0.8),
rgba(255, 255, 255, 0.5));
backdrop-filter: blur(10px);
z-index: -1;
}
.popup-header {
padding: 24px 28px;
text-align: center;
position: relative;
}
.popup-header::after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: calc(100% - 56px);
height: 1px;
background: linear-gradient(90deg,
transparent,
rgba(0, 0, 0, 0.05),
transparent);
}
.popup-header h2 {
font-size: 20px;
color: #1a1a1a;
font-weight: 600;
letter-spacing: -0.2px;
}
.popup-content {
padding: 28px;
}
.input-group {
margin-bottom: 20px;
position: relative;
}
.input-group input {
width: 100%;
padding: 16px 20px;
border: 1px solid rgba(0, 0, 0, 0.08);
border-radius: 16px;
font-size: 15px;
background: rgba(255, 255, 255, 0.8);
backdrop-filter: blur(4px);
transition: all 0.3s ease;
}
.input-group input:focus {
outline: none;
border-color: rgba(0, 0, 0, 0.15);
background: #fff;
box-shadow:
0 4px 12px rgba(0, 0, 0, 0.05),
0 0 0 2px rgba(0, 0, 0, 0.02);
}
.btn {
width: 100%;
padding: 16px;
border: none;
border-radius: 16px;
font-size: 15px;
font-weight: 600;
margin-bottom: 12px;
cursor: pointer;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.btn::before {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(180deg,
rgba(255, 255, 255, 0.15),
transparent);
opacity: 0;
transition: opacity 0.3s;
}
.btn:hover::before {
opacity: 1;
}
.btn-verify {
background: #000;
color: #fff;
}
.btn-query {
background: rgba(0, 0, 0, 0.05);
color: #000;
}
.notice-box {
margin-top: 24px;
padding: 20px;
background: rgba(0, 0, 0, 0.02);
border-radius: 16px;
border: 1px solid rgba(0, 0, 0, 0.05);
}
.notice-box h3 {
font-size: 15px;
color: #000;
margin-bottom: 8px;
font-weight: 600;
display: flex;
align-items: center;
gap: 6px;
}
.notice-box h3::before {
content: '';
font-size: 16px;
}
.notice-box p {
font-size: 14px;
color: rgba(0, 0, 0, 0.6);
line-height: 1.5;
font-weight: 400;
}
/* 优化点击状态 */
.btn:active {
transform: scale(0.98);
}
/* 添加细腻的动画 */
.popup {
animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slideUp {
0% {
opacity: 0;
transform: translateY(10px) scale(0.98);
}
100% {
opacity: 1;
transform: translateY(0) scale(1);
}
}
</style>
</head>
<body>
<div class="popup">
<div class="popup-header">
<h2>验证中心</h2>
</div>
<div class="popup-content">
<div class="input-group">
<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 class="notice-box">
<h3>系统公告</h3>
<p id="notice"></p>
</div>
</div>
</div>
<script>
function Call_Verify(text) {
RuoLv.onButtonClick(0, text);
}
function Call_Query_Trial(text) {
RuoLv.onButtonClick(1, text);
}
</script>
</body>
</html>
成为第一个评论此应用的用户吧!