|
|
<!DOCTYPE html>
|
|
|
<html>
|
|
|
|
|
|
<head>
|
|
|
<meta charset="UTF-8">
|
|
|
<title>找回密码</title>
|
|
|
<meta name="renderer" content="webkit">
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
|
<meta name="viewport"
|
|
|
content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
|
|
|
<link rel="stylesheet" href="../../static/css/weadmin.css">
|
|
|
<!-- 让IE8/9支持媒体查询,从而兼容栅格 -->
|
|
|
<!--[if lt IE 9]>
|
|
|
<script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
|
|
|
<script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
|
|
|
<![endif]-->
|
|
|
<style>
|
|
|
.layui-input-block {
|
|
|
margin-left: 40px;
|
|
|
}
|
|
|
.header {
|
|
|
width: 980px;
|
|
|
margin: 0 auto;
|
|
|
height: 75px;
|
|
|
line-height: 75px;
|
|
|
}
|
|
|
</style>
|
|
|
</head>
|
|
|
|
|
|
<body>
|
|
|
<div style="width: 800px;margin: 0 auto">
|
|
|
<div class="header">
|
|
|
<img src="/dsssoserver/images/edusoa.png" style="margin-top: 8px;" />
|
|
|
<span style="font-size:26px;display: inline-block;margin-top:15px;vertical-align: middle;color: #666;"> | 找回密码</span>
|
|
|
</div>
|
|
|
<div style="padding:30px 40px 30px 0;margin-left: -25px;">
|
|
|
<form class="layui-form">
|
|
|
<div class="layui-input-block" style="font-size: 16px">
|
|
|
请输入您要找回密码的账号:
|
|
|
</div>
|
|
|
<div class="layui-form-item">
|
|
|
<div class="layui-input-block">
|
|
|
<input type="text" id="account" name="account" lay-verify="required" autocomplete="off" class="layui-input" style="height: 45px;" placeholder="请输入用户名/邮箱/手机">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="layui-input-block">
|
|
|
<button class="layui-btn" lay-filter="add" lay-submit="" id="save" style="width: 100%;height: 45px;">下一步</button>
|
|
|
</div>
|
|
|
</form>
|
|
|
</div>
|
|
|
<div style="text-align:center;margin-top: 140px" id="copyright">
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
|
<!--<script src="../../js/layui/layui.js"></script>-->
|
|
|
<script src="../../lib/layui/layui.js"></script>
|
|
|
<script src="../../lib/base64.js"></script>
|
|
|
|
|
|
<script>
|
|
|
layui.use(['form', 'jquery','layer'], function () {
|
|
|
var form = layui.form,
|
|
|
$ = layui.jquery,
|
|
|
layer = layui.layer;
|
|
|
|
|
|
// 版权信息
|
|
|
$.ajax({
|
|
|
type : "POST",
|
|
|
dataType : "json",
|
|
|
url : "/dsssoserver/common/getGlobalValueByKey",
|
|
|
data : {
|
|
|
"key" : "sso_copyright"
|
|
|
},
|
|
|
async : false,
|
|
|
success : function(result) {
|
|
|
if (result.success) {
|
|
|
$("#copyright").html(result.sso_copyright);
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
|
|
|
|
|
|
//监听提交
|
|
|
form.on('submit(add)', function (data) {
|
|
|
var f=data.field;
|
|
|
window.location.href='./findPwdTel.html?user='+Base64.encode(f.account);
|
|
|
return false;
|
|
|
});
|
|
|
|
|
|
});
|
|
|
</script>
|
|
|
</body>
|
|
|
|
|
|
</html> |