<!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 SC', 'PingFang SC', sans-serif;
}
body {
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
padding: 20px;
background: #0a0a0a;
}
.cyber-container {
width: 90%;
max-width: 340px;
position: relative;
animation: glitch 2s infinite;
}
.cyber-frame {
background: #151515;
padding: 3px;
position: relative;
clip-path: polygon(
0 15px,
15px 0,
calc(100% - 15px) 0,
100% 15px,
100% calc(100% - 15px),
calc(100% - 15px) 100%,
15px 100%,
0 calc(100% - 15px)
);
}
.cyber-content {
background: #0a0a0a;
padding: 25px;
position: relative;
clip-path: polygon(
0 15px,
15px 0,
calc(100% - 15px) 0,
100% 15px,
100% calc(100% - 15px),
calc(100% - 15px) 100%,
15px 100%,
0 calc(100% - 15px)
);
}
.cyber-line {
position: absolute;
background: #ff003c;
}
.cyber-line-1 {
top: 0;
left: 15px;
width: calc(100% - 30px);
height: 1px;
}
.cyber-line-2 {
bottom: 0;
left: 15px;
width: calc(100% - 30px);
height: 1px;
}
.cyber-line-3 {
top: 15px;
left: 0;
width: 1px;
height: calc(100% - 30px);
}
.cyber-line-4 {
top: 15px;
right: 0;
width: 1px;
height: calc(100% - 30px);
}
.title {
color: #ff003c;
font-size: 20px;
text-align: center;
margin-bottom: 25px;
letter-spacing: 2px;
text-shadow: 0 0 10px rgba(255, 0, 60, 0.5);
font-weight: 500;
}
.input-box {
margin-bottom: 20px;
position: relative;
}
.input-box::before {
content: '>';
position: absolute;
left: 15px;
top: 50%;
transform: translateY(-50%);
color: #ff003c;
font-size: 16px;
}
.input-box input {
width: 100%;
padding: 12px 15px 12px 35px;
background: #151515;
border: 1px solid #ff003c;
color: #fff;
font-size: 15px;
}
.input-box input:focus {
outline: none;
box-shadow: 0 0 15px rgba(255, 0, 60, 0.3);
}
.btn {
width: 100%;
padding: 12px;
border: none;
font-size: 15px;
font-weight: 500;
cursor: pointer;
margin-bottom: 12px;
position: relative;
overflow: hidden;
clip-path: polygon(
0 10px,
10px 0,
calc(100% - 10px) 0,
100% 10px,
100% calc(100% - 10px),
calc(100% - 10px) 100%,
10px 100%,
0 calc(100% - 10px)
);
}
.btn-verify {
background: #ff003c;
color: #fff;
}
.btn-query {
background: transparent;
color: #ff003c;
border: 1px solid #ff003c;
}
.notice {
margin-top: 25px;
padding: 15px;
background: #151515;
border: 1px solid #ff003c;
position: relative;
}
.notice::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(45deg,
transparent 0%,
transparent 40%,
#ff003c 50%,
transparent 60%,
transparent 100%
);
background-size: 200% 200%;
animation: shine 3s linear infinite;
opacity: 0.1;
}
@keyframes shine {
0% { background-position: 200% 0; }
100% { background-position: -200% 0; }
}
.notice h3 {
color: #ff003c;
font-size: 16px;
margin-bottom: 10px;
font-weight: 500;
}
.notice p {
color: #999;
font-size: 14px;
line-height: 1.6;
}
@keyframes glitch {
0%, 100% { transform: translate(0); }
20% { transform: translate(-2px, 2px); }
40% { transform: translate(-2px, -2px); }
60% { transform: translate(2px, 2px); }
80% { transform: translate(2px, -2px); }
}
.btn:active {
transform: scale(0.98);
}
</style>
</head>
<body>
<div class="cyber-container">
<div class="cyber-frame">
<div class="cyber-content">
<div class="cyber-line cyber-line-1"></div>
<div class="cyber-line cyber-line-2"></div>
<div class="cyber-line cyber-line-3"></div>
<div class="cyber-line cyber-line-4"></div>
<div class="title">系统验证</div>
<div class="input-box">
<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">
<h3>系统公告</h3>
<p id="notice"></p>
</div>
</div>
</div>
</div>
<script>
function Call_Verify(text) {
RuoLv.onButtonClick(0, text);
}
function Call_Query_Trial(text) {
RuoLv.onButtonClick(1, text);
}
</script>
</body>
</html>
成为第一个评论此应用的用户吧!