|
|
@@ -1,18 +1,250 @@ |
|
|
|
|
|
|
|
@{ |
|
|
|
Layout = null; |
|
|
|
} |
|
|
|
|
|
|
|
<!DOCTYPE html> |
|
|
|
<html> |
|
|
|
<!DOCTYPE html> |
|
|
|
<html lang="zh-cn"> |
|
|
|
<head> |
|
|
|
<title>FirstLoginByMobile</title> |
|
|
|
<meta name=”renderer” content=”webkit|ie-comp|ie-stand” /> |
|
|
|
<meta name="viewport" content="width=device-width" /> |
|
|
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> |
|
|
|
<meta http-equiv="X-UA-Compatible" content="chrome=1,IE=edge"> |
|
|
|
|
|
|
|
<link rel="icon" href="~/favicon.ico"> |
|
|
|
<title>数字化校园 - 登录页面</title> |
|
|
|
<style> |
|
|
|
/* for Chrome */ |
|
|
|
body::-webkit-scrollbar { |
|
|
|
display: none; |
|
|
|
} |
|
|
|
|
|
|
|
.lr-login-logo .lr-login-title:before { |
|
|
|
background-color: transparent !important |
|
|
|
} |
|
|
|
|
|
|
|
.lr-login-footer .OnlineUserNumBox { |
|
|
|
float: right; |
|
|
|
} |
|
|
|
|
|
|
|
.lr-login-footer > p { |
|
|
|
width: 880px; |
|
|
|
margin: auto; |
|
|
|
} |
|
|
|
|
|
|
|
.tips { |
|
|
|
position: absolute; |
|
|
|
left: 50%; |
|
|
|
bottom: 35px; |
|
|
|
color: #fff; |
|
|
|
font-size: 13px; |
|
|
|
margin-left: -91px; |
|
|
|
} |
|
|
|
|
|
|
|
.tips > * { |
|
|
|
display: inline-block; |
|
|
|
vertical-align: middle; |
|
|
|
} |
|
|
|
|
|
|
|
.tips img { |
|
|
|
margin-right: 8px |
|
|
|
} |
|
|
|
|
|
|
|
.titleImg { |
|
|
|
border: none !important; |
|
|
|
} |
|
|
|
|
|
|
|
.titleImg img { |
|
|
|
width: 35px !important; |
|
|
|
} |
|
|
|
|
|
|
|
.wxLogin { |
|
|
|
color: #53b947 !important; |
|
|
|
} |
|
|
|
|
|
|
|
.titleImg { |
|
|
|
color: #da9835 !important; |
|
|
|
} |
|
|
|
|
|
|
|
.wxLogin img { |
|
|
|
width: 35px !important; |
|
|
|
top: -2px; |
|
|
|
} |
|
|
|
|
|
|
|
.downBox { |
|
|
|
width: 100%; |
|
|
|
height: 60px; |
|
|
|
/*background: red;*/ |
|
|
|
position: absolute; |
|
|
|
bottom: -40px; |
|
|
|
right: 0 color:#fff !important; |
|
|
|
} |
|
|
|
|
|
|
|
.downBox a { |
|
|
|
color: #fff !important; |
|
|
|
border: 1px solid #fff |
|
|
|
} |
|
|
|
</style> |
|
|
|
</head> |
|
|
|
|
|
|
|
<body> |
|
|
|
FirstLoginByMobile |
|
|
|
</body> |
|
|
|
</html> |
|
|
|
<script src="~/Content/jquery/jquery-1.10.2.min.js"></script> |
|
|
|
<script type="text/javascript"> |
|
|
|
@Html.AppendCssFile("/Views/Login/Default/Index.css") |
|
|
|
<link href="~/Content/css/process.css" rel="stylesheet" /> |
|
|
|
<!-- <img src="~/Content/images/Logins/loginBg.jpg" /> --> |
|
|
|
<input id="errornum" type="hidden" value="@ViewBag.errornum" /> |
|
|
|
<div class="lr-login-body"> |
|
|
|
|
|
|
|
<div class="lr-login-logo"> |
|
|
|
<div class="lr-login-title" style="left: 0%;margin-left: 0;width: 100%;text-align: center;"> |
|
|
|
<img src="@ViewBag.LoGo" alt=""> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="lr-login-middle"> |
|
|
|
@if (ViewBag.WeixinLoginSwitch) |
|
|
|
{ |
|
|
|
<a href="/Login/LoginForWeixin?login=one" class="wxLogin down" title="使用微信登录"> |
|
|
|
<img src="~/Content/images/LoginPage/icon.png" alt="" /> 使用微信登录 |
|
|
|
</a> |
|
|
|
//首次登录-微信 |
|
|
|
@*<a href="/Login/FirstLoginForWeixin?login=one" class="down titleImg" title="新生首次登录"> |
|
|
|
<img src="~/Content/images/LoginPage/title.jpg" alt="" /> 新生首次登录 |
|
|
|
</a>*@ |
|
|
|
//首次登录-手机号 |
|
|
|
<a href="/Login/FirstLoginByMobile" class="down titleImg" title="首次登录"> |
|
|
|
<img src="~/Content/images/LoginPage/title.jpg" alt="" /> 首次登录 |
|
|
|
</a> |
|
|
|
} |
|
|
|
<img src="~/Content/images/logins/login2.png" /> |
|
|
|
<!--登录框 正常登录--> |
|
|
|
<div class="lr-login-main lr-login-normal"> |
|
|
|
<div class="loginImg" style="display:none;"> |
|
|
|
<img class="loginImg1" src="~/Content/images/logins/login3.png" alt=""> |
|
|
|
<img class="loginImg2" src="~/Content/images/logins/login5.png" alt=""> |
|
|
|
</div> |
|
|
|
<!--密码登录--> |
|
|
|
<div class="lr-login-bypsw noreg"> |
|
|
|
<div class="error_info">* <span>密码不正确</span></div> |
|
|
|
<div class="lr-login-input"> |
|
|
|
<img class="inp_icon" src="~/Content/images/Login/default_account0.png" alt=""> <input id="lr_username" type="text" placeholder="学号/工号"> |
|
|
|
</div> |
|
|
|
<div class="lr-login-input"> |
|
|
|
<img class="inp_icon" src="~/Content/images/Login/default_psw0.png" alt=""><input id="lr_password" type="password" placeholder="密码"> |
|
|
|
<span id="psw_change"></span> |
|
|
|
</div> |
|
|
|
<div class="lr-login-input lr-login-reg"> |
|
|
|
<img class="inp_icon" src="~/Content/images/Login/default_reg0.png" alt=""><input id="lr_verifycode_input" type="text" placeholder="验证码"> |
|
|
|
<img class="code" id="lr_verifycode_img" src="~/Login/VerifyCode" alt="点击切换验证码" title="点击切换验证码" /> |
|
|
|
</div> |
|
|
|
<div class="lr-login-btn" id="lr_login_btn"><span>登录</span></div> |
|
|
|
<br /> |
|
|
|
|
|
|
|
<!-- <div class="lr-login-weixin" style="font-size: 12px;margin-top: 15px;text-align: right;padding-right: 71px;"><a href="https://open.weixin.qq.com/connect/qrconnect?appid=wxd75b6651c86f816b&redirect_uri=http%3a%2f%2fwww.learun.cn&response_type=code&scope=snsapi_login&state=STATE#wechat_redirect">微信登录</a></div> --> |
|
|
|
<div class="lr-login-version"> |
|
|
|
<a style="float: left;font-family: PingFangSC-Regular;font-size: 12px;color: #3298DC;margin-right:20px;" href="/Login/ForgotPassword">忘记密码?</a> |
|
|
|
|
|
|
|
@if (ViewBag.TeachSwitch) |
|
|
|
{ |
|
|
|
<a style="float: left;font-family: PingFangSC-Regular;font-size: 12px;color: #3298DC;" href="/EducationalAdministration/EmpInfoEnternal/FormAdd">教师注册</a> |
|
|
|
} |
|
|
|
@if (ViewBag.Version) |
|
|
|
{ |
|
|
|
<span class="versionBtn" style="cursor:pointer;">版本号:<span>@ViewBag.VersionNum</span></span> |
|
|
|
} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="loginCode"> |
|
|
|
<div class="lCodeImg" id="qrcode"> |
|
|
|
<!-- <img src="~/Content/images/logins/loginCode.jpg" alt=""> --> |
|
|
|
</div> |
|
|
|
<div class="lCodeTxt"></div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
</script> |
|
|
|
<div class="downBox"> |
|
|
|
|
|
|
|
@if (ViewBag.FeixinSwitch) |
|
|
|
{ |
|
|
|
<a href="/feixin.exe" class="down"> |
|
|
|
<img src="~/Content/images/LoginPage/download2.jpg" alt="" /> 飞星下载 |
|
|
|
</a> |
|
|
|
} |
|
|
|
@if (ViewBag.SSOSystemSwitch) |
|
|
|
{ |
|
|
|
<a href="/SSOSystem/DragModelOne" class="down downsso"> |
|
|
|
<img src="~/Content/images/LoginPage/wq.jpg" alt="" /> |
|
|
|
网上办事大厅 |
|
|
|
</a> |
|
|
|
} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="lr-login-footer" style="font-size: 12px;color: #fff;width: 880px;right:0;margin: auto;"> |
|
|
|
<div class="tips"> |
|
|
|
<img src="~/Content/images/LoginPage/tips3.png" alt=""> <span>建议使用360或谷歌浏览器</span> |
|
|
|
</div> |
|
|
|
<div style="position: relative;"> |
|
|
|
Copyright © 2019 数字化智慧校园 版权所有 <span class="OnlineUserNumBox" style="position: absolute;right: 0;top: 0;">在线用户数:<span class="OnlineUserNum">@ViewBag.OnlineUserNum</span>人</span> |
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
<img id="loginFoot" src="~/Content/images/logins/login1.png" alt=""> |
|
|
|
<script src="~/Content/jquery/jquery-1.10.2.min.js"></script> |
|
|
|
<script src="~/Content/jquery/jquery.md5.min.js"></script> |
|
|
|
<script src="~/Content/jquery/qrcode.min.js"></script> |
|
|
|
<script src="~/Content/jquery/plugin/layer/layer.js"></script> |
|
|
|
<script> |
|
|
|
function request(d) { for (var c = location.search.slice(1).split("&"), a = 0; a < c.length; a++) { var b = c[a].split("="); if (b[0] == d) if ("undefined" == unescape(b[1])) break; else return unescape(b[1]) } return "" }; |
|
|
|
$.rootUrl = '@Url.Content("~")'.substr(0, '@Url.Content("~")'.length - 1); |
|
|
|
$.lrToken = $('@Html.AntiForgeryToken()').val(); |
|
|
|
var DigitalschoolMisLoginurl = "@ViewBag.DigitalschoolMisLoginurl"; |
|
|
|
var Returnurl = "@ViewBag.Returnurl"; |
|
|
|
var Ip = "@ViewBag.Ip"; |
|
|
|
var ACIp = "@ViewBag.ACIp"; |
|
|
|
var ACIp2 = "@ViewBag.ACIp2"; |
|
|
|
//判断是否有登录二维码:有,显示扫码登录;否,不显示; |
|
|
|
if ("@ViewBag.HasQRCode" == "True") { |
|
|
|
$('.loginImg').show(); |
|
|
|
$('.lCodeTxt').html("@ViewBag.Title"); |
|
|
|
} else { |
|
|
|
$('.loginImg').hide(); |
|
|
|
} |
|
|
|
|
|
|
|
//密码登录与扫码登录切换 |
|
|
|
$('.loginImg').click(function(){ |
|
|
|
var that = $(this); if(that.hasClass('active')){ |
|
|
|
|
|
|
|
that.removeClass('active'); |
|
|
|
$('.loginCode').css({display:'none'}).siblings('.noreg').stop().fadeIn(); |
|
|
|
}else{ |
|
|
|
that.addClass('active'); |
|
|
|
$('.noreg').css({display:'none'}).siblings('.loginCode').stop().fadeIn(); |
|
|
|
} |
|
|
|
}) |
|
|
|
var qrcode = new QRCode(document.getElementById("qrcode"), { |
|
|
|
width : 200, |
|
|
|
height : 200 |
|
|
|
}); |
|
|
|
qrcode.makeCode("@ViewBag.QRCodeUrl"); |
|
|
|
</script> |
|
|
|
@Html.AppendJsFile("/Views/Login/Default/Index.js") |
|
|
|
@Html.AppendJsFile("/Views/Login/ACLogon.js") |
|
|
|
|
|
|
|
<script> |
|
|
|
//点击版本号,显示版本号历史进程 |
|
|
|
$('.versionBtn').click(function () { |
|
|
|
var html = '<div class="process"><div class="proTitle">历史进程</div><div class="pro_sec1">'; |
|
|
|
$.each(@(new HtmlString(ViewBag.VersionList)), function (i, item) { |
|
|
|
var index = i % 2 == 0 ? 1 : 2; |
|
|
|
html += '<div class="proBox proBox'+index+'">' + item.Content + '<div class="edition">' + item.VersionNum + '</div><div class="time">' + item.UpdateTime.slice(0,item.UpdateTime.indexOf("T"))+'</div></div>' ; |
|
|
|
}); |
|
|
|
html += '</div></div>'; |
|
|
|
|
|
|
|
layer.open({ |
|
|
|
type: 1, |
|
|
|
closeBtn: 2, |
|
|
|
title: "版本号", |
|
|
|
area: ['888px', '60%'], |
|
|
|
content: html |
|
|
|
}) |
|
|
|
}); |
|
|
|
</script> |
|
|
|
</body> |
|
|
|
</html> |