<!-- 本DIY代码来自于 https://diy.zhongzhipian.top -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>粉色验证弹窗</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Microsoft Yahei', sans-serif;
}
body {
background: transparent;
height: 100vh;
}
.message {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 280px;
height: 220px;
background: #ffb6c1;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(255,182,193,0.3);
z-index: 1000;
padding: 15px;
}
.msgtop {
display: flex;
align-items: center;
margin-bottom: 15px;
}
.msgtop>img {
width: 60px;
height: 60px;
border-radius: 50%;
box-shadow: 0 2px 6px rgba(255,150,150,0.2);
}
.msgtop div {
margin-left: 12px;
}
.msgtop div h1 {
font-size: 18px;
color: #ffffff;
margin-bottom: 6px;
text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}
.msgtop div>span {
color: #fff;
font-size: 12px;
line-height: 1.4;
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.code-vertify {
position: relative;
margin-bottom: 15px;
}
.code-vertify input {
width: 100%;
height: 36px;
border-radius: 8px;
background: rgba(255,255,255,0.95);
padding-left: 40px;
color: #ff7a8a;
font-size: 14px;
border: 1px solid #ff9a9e;
}
.code-vertify img {
position: absolute;
left: 10px;
top: 50%;
transform: translateY(-50%);
width: 20px;
filter: hue-rotate(330deg);
}
.button-group {
display: flex;
justify-content: space-between;
gap: 10px;
}
.button-group button {
flex: 1;
height: 34px;
border-radius: 8px;
font-size: 13px;
transition: all 0.2s;
border: none;
cursor: pointer;
}
.button-group button:first-child {
background: #ff7a8a;
color: white;
}
.button-group button:last-child {
background: rgba(255,255,255,0.95);
color: #ff7a8a;
border: 1px solid rgba(255,122,138,0.3);
}
.button-group button:active {
transform: scale(0.96);
}
</style>
</head>
<body>
<div class="message">
<div class="msgtop">
<img src="http://q1.qlogo.cn/g?b=qq&nk=8768819&s=640" alt="avatar">
<div>
<h1 id="title"></h1>
<p id="notice">
</div>
</div>
<div class="code">
<div class="code-vertify">
<img src="https://s3.bmp.ovh/imgs/2021/08/37625479bd27ad6b.png" alt="">
<input type="text" name="code" id="code" placeholder="请输入你的激活码">
</div>
<div class="button-group">
<button onclick="Call_Verify(code.value);">激活卡密</button>
<button onclick="Call_Pay();">购买卡密</button>
</div>
</div>
</div>
<script>
// Original logic
document.getElementById("title").innerHTML = PanGolin.GetTitle();
document.getElementById("notice").innerHTML = PanGolin.GetNotice();
document.getElementById("Query_Trial").innerHTML = PanGolin.Is_Trial() ? "试用" : "查码";
document.getElementById("Pay").style.display = PanGolin.Is_Pay() ? "block" : "none";
function Call_Verify(data) {
PanGolin.Verify(data);
}
function Call_Query_Trial(data) {
if (PanGolin.Is_Trial()) PanGolin.Trial();
else PanGolin.Query(data);
}
function Call_Pay() {
PanGolin.Pay();
}
function mStart(obj) {
obj.style.opacity = "0.8";
}
function mUp(obj) {
obj.style.opacity = "1";
}
</script>
</body>
</html>
<!-- 本DIY代码来自于 https://diy.zhongzhipian.top -->