You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

120 lines
4.1 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<link rel="stylesheet" href="./pear/component/pear/css/pear.css" />
<link rel="stylesheet" href="./css/font/iconfont.css">
<style>
.parentSelectButton {
margin: 0 auto;
width: 800px;
display: flex;
justify-content: space-between;
margin-top: 80px;
}
.selectButton {
width: 220px;
height: 82px;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
}
.selectButton_zxbm {
background: linear-gradient(142.192deg, rgb(0, 178, 248) 34.4579%, rgb(26, 194, 249) 80%);
filter: drop-shadow(rgba(23, 192, 249, 0.38) 0px 3px 6px);
}
.selectButton_dyzkz {
background: linear-gradient(137.526deg, rgb(15, 124, 200) 38.3677%, rgb(49, 161, 208) 80%);
filter: drop-shadow(rgba(40, 156, 206, 0.57) 0px 3px 6px);
}
.selectButton_ccj {
background: linear-gradient(137.553deg, rgb(29, 216, 192) 50.079%, rgb(93, 231, 214) 80%);
filter: drop-shadow(rgba(142, 242, 229, 0.86) 0px 3px 6px);
}
</style>
</head>
<body>
<body>
<div style="margin: 0 auto;width: 1000px;">
<div style="text-align: center;font-size: 24px;margin-top: 40px;" id="title">
</div>
<div style="text-align: center;font-size: 14px;padding-top: 30px;font-weight: bolder;">报名截止日期:<span
style="color: #297CFD;" id="dl_date">123</span></div>
<div class="parentSelectButton">
<div class="selectButton selectButton_zxbm" id="zxbm">
<i class="iconfont icon-zaixianbaoming" style="color: #FFFFFF;font-size: 36px;"></i>
<span style="color: #FFFFFF;font-size: 18px;margin-left: 10px;">在线报名</span>
</div>
<div class="selectButton selectButton_dyzkz">
<i class="iconfont icon-zhunkaozhenghao" style="color: #FFFFFF;font-size: 36px;"></i>
<span style="color: #FFFFFF;font-size: 18px;margin-left: 10px;">打印准考证</span>
</div>
<div class="selectButton selectButton_ccj">
<i class="iconfont icon-wj-cj" style="color: #FFFFFF;font-size: 36px;"></i>
<span style="color: #FFFFFF;font-size: 18px;margin-left: 10px;">查成绩</span>
</div>
</div>
</div>
<script src="./pear/component/layui/layui.js"></script>
<script src="./pear/component/pear/pear.js"></script>
<script>
layui.use(['form', 'jquery'], function () {
let form = layui.form;
let $ = layui.jquery;
// 0未报名 1已报名
var statusFlag = 0;
$.ajax({
url: "/dsBase/hk/getCurrentHk",
async: false,
type: 'GET',
success: function (res) {
$("#title").html(res.hk_name);
$("#dl_date").html(res.end_time.substring(0, 10));
}
});
var lsData = localStorage.getItem('studentInfo');
if (lsData == null) {
window.parent.location.href = "./login.html";
}
var studentInfo = JSON.parse(lsData);
$("#zxbm").click(function () {
if (studentInfo.res_json.length == 0) {
window.location.href = "./step.html";
} else {
window.location.href = "./info.html";
}
});
});
</script>
<script>
</script>
</body>
</html>