mirror of
https://github.com/lan-tianxiang/JS_TOOL.git
synced 2026-03-24 21:17:39 +08:00
更新于 07-05 01:26
This commit is contained in:
@@ -1,28 +1,43 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-Hans-CN"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<html lang="zh-Hans-CN">
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<meta name="renderer" content="webkit">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<title>JSTOOL添加账号</title>
|
||||
<meta name="keywords" content="JSTOOL添加账号">
|
||||
<meta name="description" content="JSTOOL添加账号">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0 ,user-scalable=no">
|
||||
<title>JSTOOL控制面板</title>
|
||||
<script type="text/javascript" src="./js/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="./js/sweetalert2.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="./css/main.css">
|
||||
<link href="./css/layui.css" rel="stylesheet" type="text/css">
|
||||
<link href="./css/font-awesome.min.css" rel="stylesheet" type="text/css">
|
||||
<link href="./css/index_style.css" rel="stylesheet" type="text/css">
|
||||
<link href="./css/animate.min.css" rel="stylesheet" type="text/css">
|
||||
<link rel="icon" type="image/x-icon" href="https://gitee.com/favicon.ico" />
|
||||
|
||||
<div class="section" id="section1">
|
||||
<div class="fp-tablecell">
|
||||
<div class="page1">
|
||||
<div class="nav wow zoomIn animated" data-wow-duration="2s" style="visibility: visible; animation-duration: 2s; animation-name: zoomIn;">
|
||||
<h1>JSTOOL</h1>
|
||||
<h2>外部账号添加</h2>
|
||||
<div class="nav wow zoomIn animated" data-wow-duration="2s"
|
||||
style="visibility: visible; animation-duration: 2s; animation-name: zoomIn;">
|
||||
<div class="login-form">
|
||||
<h1>JSTOOL控制面板</h1>
|
||||
<form action="auth" method="POST">
|
||||
<input type="text" name="username" class="username" placeholder="用户名" required>
|
||||
<input type="password" name="password" class="password" placeholder="密码" required>
|
||||
<input type="submit" id="login" value="登录">
|
||||
</form>
|
||||
</div>
|
||||
<!--<input id="msg" type="text" placeholder="请输入备注信息,方便管理员识别账号"/>-->
|
||||
<button class="layui-btn layui-btn-normal" style="margin-top: 20px" id="qrcode">扫码登录</button>
|
||||
<button class="layui-btn layui-btn-normal" style="margin-top: 20px" id="qrcode">扫码添加账号</button>
|
||||
<!--<button class="layui-btn layui-btn-normal" style="margin-top: 20px" id="jdcode">口令登录</button>-->
|
||||
<!--<button class="layui-btn layui-btn-normal" style="margin-top: 20px" id="jumpapp">京东登录</button>-->
|
||||
<a class="layui-btn layui-btn-normal" style="margin-top: 20px" href="https://jq.qq.com/?_wv=1027&k=">JSTOOL交流裙</a>
|
||||
<a class="layui-btn layui-btn-normal" style="margin-top: 20px"
|
||||
href="https://jq.qq.com/?_wv=1027&k=">JSTOOL交流裙</a>
|
||||
</div>
|
||||
<script src="./js/qrcode.min.js"></script>
|
||||
<style type="text/css">
|
||||
@@ -31,6 +46,7 @@
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.title {
|
||||
padding-top: 150px;
|
||||
text-align: center;
|
||||
@@ -39,6 +55,7 @@
|
||||
color: red;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
#msg {
|
||||
display: block;
|
||||
width: 90%;
|
||||
@@ -47,12 +64,14 @@
|
||||
border-radius: 5px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-around;
|
||||
height: calc(100vh - 430px);
|
||||
}
|
||||
|
||||
.btn {
|
||||
margin: 0 auto;
|
||||
border: 1px #3079ed solid;
|
||||
@@ -61,6 +80,7 @@
|
||||
background: #4c8ffb;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.qr {
|
||||
display: none;
|
||||
justify-content: center;
|
||||
@@ -72,6 +92,7 @@
|
||||
background-color: rgba(0, 0, 0, 0.45);
|
||||
z-index: 1001;
|
||||
}
|
||||
|
||||
.qrcontainer {
|
||||
position: relative;
|
||||
width: 256px;
|
||||
@@ -82,6 +103,7 @@
|
||||
box-shadow: rgb(0 0 0 / 20%) 0px 0px 7px 3px;
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
#tip {
|
||||
display: none;
|
||||
justify-content: center;
|
||||
@@ -94,18 +116,21 @@
|
||||
color: rgb(255, 255, 255);
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.des {
|
||||
word-break: break-word;
|
||||
padding-top: 16px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<body>
|
||||
<div id="qr" class="qr">
|
||||
<div class="qrcontainer">
|
||||
<div id="qrbox"></div>
|
||||
<div id="tip"><h3>二维码已失效</h3></div>
|
||||
<div id="tip">
|
||||
<h3>二维码已失效</h3>
|
||||
</div>
|
||||
<div id="des" class="des">
|
||||
请使用京东APP扫码<br />或截图用京东APP扫码<br />完成后请回到此页面复制cookie<br />请无视升级提示
|
||||
</div>
|
||||
@@ -116,8 +141,33 @@
|
||||
<div id="cookie" class="des"></div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
<script>
|
||||
</body>
|
||||
<script>
|
||||
$.ajaxSetup({
|
||||
cache: false
|
||||
});
|
||||
|
||||
$("#login").click(function () {
|
||||
$user = $(".username").val();
|
||||
$password = $(".password").val();
|
||||
if (!$user || !$password) return;
|
||||
|
||||
$.post('./auth', {
|
||||
username: $user,
|
||||
password: $password
|
||||
}, function (data) {
|
||||
if (data.err == 0) {
|
||||
window.location.href = "./usrconfig";
|
||||
} else {
|
||||
Swal.fire({
|
||||
text: data.msg,
|
||||
icon: 'error'
|
||||
})
|
||||
}
|
||||
});
|
||||
return false;
|
||||
});
|
||||
|
||||
get_code();
|
||||
var jdCode = '';
|
||||
var loginUrl = '';
|
||||
@@ -275,5 +325,6 @@
|
||||
}
|
||||
};
|
||||
}
|
||||
</script>
|
||||
</script>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user