代码拉取完成,页面将自动刷新
<<<<<<< HEAD
<!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>学习二十大,奋进新征程</title>
<link rel="stylesheet" href="./css/subject1.css">
<link rel="stylesheet" href="./css/subject2.css">
<link rel="stylesheet" href="./css/subject3.css">
<link rel="stylesheet" href="./css/subject5.css">
<script src="https://kit.fontawesome.com/883ceba99e.js" crossorigin="anonymous"></script>
<script src="./lib/jquery-1.10.2.js"></script>
<script src="./dist/dialog.js?skin=blue"></script>
<script src="./js/function.js"></script>
</head>
<body id="body">
<div class="logo">
<img src="./image/logo.png" alt="">
</div>
<div class="module">
<div class="theme_3">
<img src="./image/z.png" alt="">
</div>
<div class="modal">
<div class="main">
<form >
<span>
<i class="fa-solid fa-user"></i>
<input id="user" type="text" placeholder="管理员编号">
</span><br>
<span>
<i class="fa-solid fa-lock"></i>
<input id="pwd" type="text" placeholder="密码">
</span>
<br>
</form>
<button type="submit" id="into">进 入</button>
</div>
</div>
</div>
<div class="bottom">
<img src="./image/z5.png" alt="">
</div>
<script>
//维持持久会话
let tan_id=parseInt(getCookie("tan_id"));
if(isNaN(tan_id)){
tan_id=1
setCookie("tan_id","1",7)
}
let e=document.getElementById("body");
set_background(e,tan_id);
$("#into").on("click",function(){
let pwd=document.getElementById('pwd').value;
let user=document.getElementById('user').value;
if(pwd=="" || user==""){
var d = dialog({
title: '提示',
content: '请输入完整的用户名和密码',
okValue: '确 定',
fixed:true,
ok: function() {
}
});
d.show();
}else{
if(user=="admin" && pwd=="123456"){
window.location.href="./admin_data.html?tan_id="+tan_id
}else{
dlog("提示","用户名和密码错误")
}
}
});
//
</script>
</body>
=======
<!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>学习二十大,奋进新征程</title>
<link rel="stylesheet" href="./css/subject1.css">
<link rel="stylesheet" href="./css/subject2.css">
<link rel="stylesheet" href="./css/subject3.css">
<link rel="stylesheet" href="./css/subject5.css">
<script src="https://kit.fontawesome.com/883ceba99e.js" crossorigin="anonymous"></script>
<script src="./lib/jquery-1.10.2.js"></script>
<script src="./dist/dialog.js?skin=blue"></script>
<script src="./js/function.js"></script>
</head>
<body id="body">
<div class="logo">
<img src="./image/logo.png" alt="">
</div>
<div class="module">
<div class="theme_3">
<img src="./image/z.png" alt="">
</div>
<div class="modal">
<div class="main">
<form >
<span>
<i class="fa-solid fa-user"></i>
<input id="user" type="text" placeholder="管理员编号">
</span><br>
<span>
<i class="fa-solid fa-lock"></i>
<input id="pwd" type="text" placeholder="密码">
</span>
<br>
</form>
<button type="submit" id="into">进 入</button>
</div>
</div>
</div>
<div class="bottom">
<img src="./image/z5.png" alt="">
</div>
<script>
//维持持久会话
let tan_id=parseInt(getCookie("tan_id"));
if(isNaN(tan_id)){
tan_id=1
setCookie("tan_id","1",7)
}
let e=document.getElementById("body");
set_background(e,tan_id);
$("#into").on("click",function(){
let pwd=document.getElementById('pwd').value;
let user=document.getElementById('user').value;
if(pwd=="" || user==""){
var d = dialog({
title: '提示',
content: '请输入完整的用户名和密码',
okValue: '确 定',
fixed:true,
ok: function() {
}
});
d.show();
}else{
if(user=="admin" && pwd=="123456"){
window.location.href="./admin_data.html?tan_id="+tan_id
}else{
dlog("提示","用户名和密码错误")
}
}
});
//
</script>
</body>
>>>>>>> d2ef1be (初始化仓库)
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。