<!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;
}
body {
background: #1a1a1a;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
}
#particles-js {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
}
.container {
position: relative;
z-index: 2;
width: 100%;
max-width: 1200px;
padding: 0 20px;
display: flex;
flex-direction: column;
align-items: center;
}
.title {
color: #fff;
font-size: 2.5em;
margin-bottom: 40px;
text-align: center;
text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.verify-box {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
padding: 40px;
border-radius: 20px;
width: 100%;
max-width: 500px;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.input-group {
margin-bottom: 30px;
}
.input-group input {
width: 100%;
padding: 15px 20px;
background: rgba(255, 255, 255, 0.05);
border: 2px solid rgba(255, 255, 255, 0.1);
border-radius: 12px;
color: #fff;
font-size: 16px;
transition: all 0.3s ease;
}
.input-group input:focus {
outline: none;
border-color: #3498db;
box-shadow: 0 0 15px rgba(52, 152, 219, 0.3);
}
.input-group input::placeholder {
color: rgba(255, 255, 255, 0.5);
}
.btn {
width: 100%;
padding: 15px;
border: none;
border-radius: 12px;
font-size: 16px;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
margin-bottom: 15px;
}
.btn-verify {
background: #3498db;
color: #fff;
}
.btn-verify:hover {
background: #2980b9;
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}
.btn-query {
background: rgba(255, 255, 255, 0.1);
color: #fff;
border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-query:hover {
background: rgba(255, 255, 255, 0.15);
transform: translateY(-2px);
}
.notice-box {
margin-top: 30px;
padding: 20px;
background: rgba(255, 255, 255, 0.05);
border-radius: 12px;
color: #fff;
}
.notice-box h3 {
font-size: 18px;
margin-bottom: 10px;
color: rgba(255, 255, 255, 0.9);
}
.notice-box p {
color: rgba(255, 255, 255, 0.7);
line-height: 1.6;
}
@media (max-width: 768px) {
.title {
font-size: 2em;
}
.verify-box {
padding: 30px;
}
}
</style>
</head>
<body>
<div id="particles-js"></div>
<div class="container">
<h1 class="title">系统验证</h1>
<div class="verify-box">
<div class="input-group">
<input type="text" id="code" placeholder="请输入激活码" pattern="^[a-zA-Z0-9_-]{1,16}$">
</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>
<!-- 添加particles.js库 -->
<script src="https://cdn.jsdelivr.net/particles.js/2.0.0/particles.min.js"></script>
<script>
// 初始化particles.js
particlesJS("particles-js", {
particles: {
number: {
value: 80,
density: {
enable: true,
value_area: 800
}
},
color: {
value: "#ffffff"
},
shape: {
type: "circle"
},
opacity: {
value: 0.5,
random: false
},
size: {
value: 3,
random: true
},
line_linked: {
enable: true,
distance: 150,
color: "#ffffff",
opacity: 0.4,
width: 1
},
move: {
enable: true,
speed: 2,
direction: "none",
random: false,
straight: false,
out_mode: "out",
bounce: false
}
},
interactivity: {
detect_on: "canvas",
events: {
onhover: {
enable: true,
mode: "repulse"
},
onclick: {
enable: true,
mode: "push"
},
resize: true
}
},
retina_detect: true
});
function Call_Verify(text) {
RuoLv.onButtonClick(0, text);
}
function Call_Query_Trial(text) {
RuoLv.onButtonClick(1, text);
}
</script>
</body>
</html>
成为第一个评论此应用的用户吧!