代码拉取完成,页面将自动刷新
<<<<<<< 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, maximum-scale=1.0,user-scalable=no"/>
<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="caidan">
<img src="./image/z6.png" alt="">
</div>
<div class="main">
<span>
<i class="fa-brands fa-waze"></i>
<input type="text" id="name" placeholder="姓名">
</span>
<span>
<i class="fa-solid fa-users"></i>
<input type="number" id="phone" placeholder="手机号">
</span>
<button id="into"><a>进 入</a></button>
</div>
</div>
</div>
<div class="bottom">
<img src="./image/z5.png" alt="">
</div>
<script>
//维持持久会话
let tu_id=1;
let dan_id=GetQueryString("dan_id");
let tmp=getCookie("dan_id");
if(tmp!="" && tmp!=null){
dan_id=tmp;
}
if(!isNaN(parseInt(dan_id))){
tu_id=parseInt(dan_id)
}
let e=document.getElementById("body");
set_background(e,tu_id);
if(dan_id==null || dan_id==""){
$(".main").css("display","none")
$(".modal").append("<span style='color:red;font-size:1.3rem'>无效的彩蛋编号</span>")
dlog("提示","你的彩蛋编号无效");
}
$("#into").on("click",function(){
let phone=$("#phone").val();
let name=$("#name").val();
//如果用户名密码没有输入
if(name=="" || phone==""){
dlog("提示","请输入完整手机号或姓名");
}else{
//显示加载动画
var d = dialog({
title: '正在进入...'
});
d.show();
let data={
shouji:phone,
minzi:name,
danhao:dan_id
}
ajax_caidan_start(data,function(res){
//写入cookies
setCookie("xinmin",name,7);
setCookie("tan_id","17",7);
setCookie("phone",phone,7);
window.location.href="./subjects.html"+"?tan_id=17"+"&type=caidan"
});
}
});
</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, maximum-scale=1.0,user-scalable=no"/>
<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="caidan">
<img src="./image/z6.png" alt="">
</div>
<div class="main">
<span>
<i class="fa-brands fa-waze"></i>
<input type="text" id="name" placeholder="姓名">
</span>
<span>
<i class="fa-solid fa-users"></i>
<input type="number" id="phone" placeholder="手机号">
</span>
<button id="into"><a>进 入</a></button>
</div>
</div>
</div>
<div class="bottom">
<img src="./image/z5.png" alt="">
</div>
<script>
//维持持久会话
let tu_id=1;
let dan_id=GetQueryString("dan_id");
let tmp=getCookie("dan_id");
if(tmp!="" && tmp!=null){
dan_id=tmp;
}
if(!isNaN(parseInt(dan_id))){
tu_id=parseInt(dan_id)
}
let e=document.getElementById("body");
set_background(e,tu_id);
if(dan_id==null || dan_id==""){
$(".main").css("display","none")
$(".modal").append("<span style='color:red;font-size:1.3rem'>无效的彩蛋编号</span>")
dlog("提示","你的彩蛋编号无效");
}
$("#into").on("click",function(){
let phone=$("#phone").val();
let name=$("#name").val();
//如果用户名密码没有输入
if(name=="" || phone==""){
dlog("提示","请输入完整手机号或姓名");
}else{
//显示加载动画
var d = dialog({
title: '正在进入...'
});
d.show();
let data={
shouji:phone,
minzi:name,
danhao:dan_id
}
ajax_caidan_start(data,function(res){
//写入cookies
setCookie("xinmin",name,7);
setCookie("tan_id","17",7);
setCookie("phone",phone,7);
window.location.href="./subjects.html"+"?tan_id=17"+"&type=caidan"
});
}
});
</script>
</body>
>>>>>>> d2ef1be (初始化仓库)
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。