Browse Source

【增加】PC登录页:增加忘记密码和首次登录;

西昌分支
dyy 4 months ago
parent
commit
35d5557d24
4 changed files with 106 additions and 53 deletions
  1. +2
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj
  2. +68
    -53
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/Default.cshtml
  3. +18
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/FirstLoginByMobile.cshtml
  4. +18
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/ForgotPassword.cshtml

+ 2
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj View File

@@ -8126,6 +8126,8 @@
<Content Include="Views\Login\First.cshtml" />
<Content Include="Views\Login\FirstLoginForWeixin.cshtml" />
<Content Include="Views\Home\FirstChangePwd.cshtml" />
<Content Include="Views\Login\FirstLoginByMobile.cshtml" />
<Content Include="Views\Login\ForgotPassword.cshtml" />
</ItemGroup>
<ItemGroup>
<WCFMetadata Include="Connected Services\" />


+ 68
- 53
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/Default.cshtml View File

@@ -26,51 +26,59 @@
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;

.tips {
position: absolute;
left: 50%;
bottom: 35px;
color: #fff;
font-size: 13px;
margin-left: -91px;
}
.wxLogin{
color: #53b947 !important;

.tips > * {
display: inline-block;
vertical-align: middle;
}

.tips img {
margin-right: 8px
}

.titleImg {
border: none !important;
}
.titleImg{
color: #da9835!important;

.titleImg img {
width: 35px !important;
}

.wxLogin {
color: #53b947 !important;
}
.wxLogin img{
width: 35px !important;
top: -2px;
.titleImg {
color: #da9835 !important;
}
.downBox{
width: 100%;
height: 60px;
/*background: red;*/
position: absolute;
bottom: -40px;
right: 0
color:#fff!important;

.wxLogin img {
width: 35px !important;
top: -2px;
}
.downBox a{
color:#fff!important;
border: 1px solid #fff

.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>

@@ -89,11 +97,16 @@
<div class="lr-login-middle">
@if (ViewBag.WeixinLoginSwitch)
{
<a href="/Login/LoginForWeixin?login=one" class="wxLogin down" title="使用微信登录">
<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 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" />
@@ -122,9 +135,11 @@

<!-- <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>
<a style="float: left;font-family: PingFangSC-Regular;font-size: 12px;color: #3298DC;" href="/EducationalAdministration/EmpInfoEnternal/FormAdd">教师注册</a>
}
@if (ViewBag.Version)
{
@@ -145,7 +160,7 @@
</div>

<div class="downBox">
@if (ViewBag.FeixinSwitch)
{
<a href="/feixin.exe" class="down">
@@ -155,20 +170,20 @@
@if (ViewBag.SSOSystemSwitch)
{
<a href="/SSOSystem/DragModelOne" class="down downsso">
<img src="~/Content/images/LoginPage/wq.jpg" alt="" />
网上办事大厅
<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 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>


+ 18
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/FirstLoginByMobile.cshtml View File

@@ -0,0 +1,18 @@

@{
Layout = null;
}

<!DOCTYPE html>
<html>
<head>
<title>FirstLoginByMobile</title>
</head>
<body>
FirstLoginByMobile
</body>
</html>
<script src="~/Content/jquery/jquery-1.10.2.min.js"></script>
<script type="text/javascript">

</script>

+ 18
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/ForgotPassword.cshtml View File

@@ -0,0 +1,18 @@

@{
Layout = null;
}

<!DOCTYPE html>
<html>
<head>
<title>ForgotPassword</title>
</head>
<body>
ForgotPassword
</body>
</html>
<script src="~/Content/jquery/jquery-1.10.2.min.js"></script>
<script type="text/javascript">
</script>

Loading…
Cancel
Save