<!-- 本DIY代码来自于 https://diy.zhongzhipian.top -->
<!-- 本DIY代码来自于 https://diy.zhongzhipian.top -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>smilpe4</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-size: 16px;
}
a {
text-decoration: none;
}
button,
input {
outline: none;
background-color: transparent;
border: none;
}
html,
body {
width: 100%;
height: 100%;
}
.box {
width: 100%;
height: 100%;
padding: 40px 10px 0;
}
.box h1 {
width: 100%;
height: 50px;
line-height: 50px;
text-align: center;
font-size: 20px;
}
.box .code {
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-top: 30px;
border-radius: 5px;
box-shadow: 0px 2px 5px #ccc;
padding: 25px 10px;
}
.box .code img {
width: 80px;
height: 80px;
border-radius: 80px;
overflow: hidden;
background-color: skyblue;
}
.box .code input {
width: 100%;
height: 45px;
text-align: center;
background-color: #f3f3f3;
border-radius: 8px;
font-size: 18px;
margin-top: 15px;
}
.box .code button {
width: 55%;
height: 45px;
background-color: #000;
border-radius: 45px;
color: #fff;
margin-top: 25px;
}
.box .code button:active {
background-color: #fff;
color: #000;
}
div#notice {
width: 100%;
margin-top: 20px;
}
.footer {
width: 100%;
height: 100px;
margin-top: -100px;
}
.footer p {
width: 100%;
text-align: center;
line-height: 100px;
}
</style>
</head>
<body>
<div class="box">
<h1 id="title">『中纸片』</h1>
<div class="code">
<img src="https://zhongzhipian.top/assets/img/logo.png" alt="">
<input type="text" name="code" id="code" pattern="^[a-zA-Z0-9_-]{1,16}$" placeholder="请输入卡密">
<button type="submit" onclick="Call_Verify(code.value);" ontouchstart="mStart(this)" ontouchend="mUp(this)">登录</button>
</div>
<div id="notice"></div>
</div>
<div class="footer">
<p>『中纸片』DIY共享平台</p>
</div>
<script>
let docHeight = document.body.offsetHeight;
window.onresize = () => {
document.body.style.height = docHeight + 'px';
}
document.getElementById("title").innerHTML = PanGolin.GetTitle();
document.getElementById("notice").innerHTML = PanGolin.GetNotice();
document.getElementById("Query_Trial").innerHTML = PanGolin.Is_Trial() == true ? "试用" : "查码";
document.getElementById("Pay").style.display = PanGolin.Is_Pay() == true ? "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();
}
</script>
</body>
</html>
<!-- 本DIY代码来自于 https://diy.zhongzhipian.top -->
<!-- 本DIY代码来自于 https://diy.zhongzhipian.top -->