|
Server : Microsoft-IIS/10.0 System : Windows NT EBS-6136 10.0 build 17763 (Windows Server 2016) i586 User : jxgj ( 0) PHP Version : 7.0.33 Disable Function : passthru,exec,system,shell_exec,proc_open,popen,pcntl_exec,socket_bind,stream_socket_server Directory : D:/tmp_aspnet/root/ada36728/6e3bc2/ |
?#pragma checksum "D:\wwwroot\jinxiangshun123\wwwroot\Areas\Admin\Views\login\login.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "0AD2BD37AA19EF20C1C8B1E8E54E155B696E5CA5"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具天生。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且若是
// 沉新天生代码,这些更改将会迷失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace ASP {
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Helpers;
using System.Web.Security;
using System.Web.UI;
using System.Web.WebPages;
using System.Web.Mvc;
using System.Web.Mvc.Ajax;
using System.Web.Mvc.Html;
using System.Web.Routing;
using System.Web.Optimization;
using Web;
public class _Page_Areas_Admin_Views_login_login_cshtml : System.Web.Mvc.WebViewPage<dynamic> {
#line hidden
public _Page_Areas_Admin_Views_login_login_cshtml() {
}
protected ASP.global_asax ApplicationInstance {
get {
return ((ASP.global_asax)(Context.ApplicationInstance));
}
}
public override void Execute() {
WriteLiteral("\r\n");
#line 2 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\Admin\Views\login\login.cshtml"
ViewBag.Title = "治理员登录";
#line default
#line hidden
WriteLiteral("\r\n<style");
WriteLiteral(" type=\"text/css\"");
WriteLiteral(@">
html, body, .login {
height: 100%;
}
body {
background: linear-gradient( 135deg, #667eea, #764ba2, #6B8DD6, #8E37D7);
background-size: 400% 400%;
animation: gradientBG 15s ease infinite;
display: flex;
justify-content: center;
align-items: center;
}
/*box*/
.login_form {
border: 1px solid rgba(255, 255, 255, 0.18);
box-shadow: 0 8px 32px rgb(31 38 135 / 37%);
border-radius: 15px;
background-color: #f5f5f5;
z-index: 10;
margin: 0;
}
.form_box {
padding: 30px 15px;
}
.btn {
/*background: linear-gradient( 90deg, rgb(102, 126, 234), rgb(142, 55, 215));*/
background: linear-gradient( 135deg, #667eea, #764ba2, #6B8DD6, #8E37D7);
background-size: 300% 300%;
animation: gradientBG 10s ease infinite;
}
.btn:hover {
/*transform: translateY(-5px) scale(1.03);*/
box-shadow: 2px 4px 8px rgba(102, 126, 234, 0.7);
background-size: 400% 400%;
animation: gradientBG 3s ease infinite;
}
/* 动态布景动画 */
");
WriteLiteral("@keyframes gradientBG {\r\n 0% {\r\n background-position: 0% 50%;\r\n" +
" }\r\n\r\n 50% {\r\n background-position: 100% 50%;\r\n " +
"}\r\n\r\n 100% {\r\n background-position: 0% 50%;\r\n }\r\n }\r" +
"\n /*浮动气泡*/\r\n\r\n .bubbles {\r\n position: absolute;\r\n width: 100" +
"%;\r\n height: 100%;\r\n overflow: hidden;\r\n top: 0;\r\n l" +
"eft: 0;\r\n z-index: 1;\r\n }\r\n\r\n .bubble {\r\n position: absolute" +
";\r\n bottom: -100px;\r\n width: 40px;\r\n height: 40px;\r\n " +
" background: rgba(255, 255, 255, 0.1);\r\n border-radius: 50%;\r\n opa" +
"city: 0.5;\r\n animation: rise 10s infinite ease-in;\r\n }\r\n\r\n .bub" +
"ble:nth-child(1) {\r\n width: 40px;\r\n height: 40px;\r\n " +
" left: 10%;\r\n animation-duration: 8s;\r\n }\r\n\r\n .bubb" +
"le:nth-child(2) {\r\n width: 20px;\r\n height: 20px;\r\n " +
" left: 20%;\r\n animation-duration: 5s;\r\n animation-delay" +
": 1s;\r\n }\r\n\r\n .bubble:nth-child(3) {\r\n width: 50px;\r\n " +
" height: 50px;\r\n left: 35%;\r\n animation-duration:" +
" 7s;\r\n animation-delay: 2s;\r\n }\r\n\r\n .bubble:nth-child(4" +
") {\r\n width: 80px;\r\n height: 80px;\r\n left: 50%;" +
"\r\n animation-duration: 11s;\r\n animation-delay: 0s;\r\n " +
" }\r\n\r\n .bubble:nth-child(5) {\r\n width: 35px;\r\n hei" +
"ght: 35px;\r\n left: 55%;\r\n animation-duration: 6s;\r\n " +
" animation-delay: 1s;\r\n }\r\n\r\n .bubble:nth-child(6) {\r\n " +
" width: 45px;\r\n height: 45px;\r\n left: 65%;\r\n " +
" animation-duration: 8s;\r\n animation-delay: 3s;\r\n }\r\n\r\n " +
" .bubble:nth-child(7) {\r\n width: 90px;\r\n height: 90px;\r\n " +
" left: 70%;\r\n animation-duration: 12s;\r\n animatio" +
"n-delay: 2s;\r\n }\r\n\r\n .bubble:nth-child(8) {\r\n width: 25" +
"px;\r\n height: 25px;\r\n left: 80%;\r\n animation-du" +
"ration: 6s;\r\n animation-delay: 2s;\r\n }\r\n\r\n .bubble:nth-" +
"child(9) {\r\n width: 15px;\r\n height: 15px;\r\n lef" +
"t: 70%;\r\n animation-duration: 5s;\r\n animation-delay: 1s;\r\n" +
" }\r\n\r\n .bubble:nth-child(10) {\r\n width: 90px;\r\n " +
" height: 90px;\r\n left: 25%;\r\n animation-duration: 10s;\r" +
"\n animation-delay: 4s;\r\n }\r\n\r\n ");
WriteLiteral(@"@keyframes rise {
0% {
bottom: -100px;
transform: translateX(0);
}
50% {
transform: translateX(100px);
}
100% {
bottom: 1080px;
transform: translateX(-200px);
}
}
</style>
<script");
WriteLiteral(" type=\"text/javascript\"");
WriteLiteral(">\r\n if (self != top) { top.location.href = self.location.href; }\r\n</script>\r\n<" +
"body>\r\n <!-- 气泡布景 -->\r\n <div");
WriteLiteral(" class=\"bubbles\"");
WriteLiteral(">\r\n <div");
WriteLiteral(" class=\"bubble\"");
WriteLiteral("></div>\r\n <div");
WriteLiteral(" class=\"bubble\"");
WriteLiteral("></div>\r\n <div");
WriteLiteral(" class=\"bubble\"");
WriteLiteral("></div>\r\n <div");
WriteLiteral(" class=\"bubble\"");
WriteLiteral("></div>\r\n <div");
WriteLiteral(" class=\"bubble\"");
WriteLiteral("></div>\r\n <div");
WriteLiteral(" class=\"bubble\"");
WriteLiteral("></div>\r\n <div");
WriteLiteral(" class=\"bubble\"");
WriteLiteral("></div>\r\n <div");
WriteLiteral(" class=\"bubble\"");
WriteLiteral("></div>\r\n <div");
WriteLiteral(" class=\"bubble\"");
WriteLiteral("></div>\r\n <div");
WriteLiteral(" class=\"bubble\"");
WriteLiteral("></div>\r\n </div>\r\n <div");
WriteLiteral(" class=\"login_form\"");
WriteLiteral(">\r\n <div");
WriteLiteral(" class=\"form_box\"");
WriteLiteral(">\r\n <h2>\r\n 治理员登录\r\n </h2>\r\n <form");
WriteLiteral(" id=\"form_login\"");
WriteLiteral(" method=\"post\"");
WriteLiteral(">\r\n");
WriteLiteral(" ");
#line 203 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\Admin\Views\login\login.cshtml"
Write(Html.AntiForgeryToken());
#line default
#line hidden
WriteLiteral(" ");
WriteLiteral("\r\n\r\n <div");
WriteLiteral(" class=\"form-item\"");
WriteLiteral(">\r\n <i");
WriteLiteral(" class=\"icon icon_user\"");
WriteLiteral("></i><input");
WriteLiteral(" class=\"ipt\"");
WriteLiteral(" type=\"text\"");
WriteLiteral(" id=\"username\"");
WriteLiteral(" name=\"username\"");
WriteLiteral(" placeholder=\"用户名\"");
WriteAttribute("value", Tuple.Create(" value=\"", 5132), Tuple.Create("\"", 5157)
#line 206 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\Admin\Views\login\login.cshtml"
, Tuple.Create(Tuple.Create("", 5140), Tuple.Create<System.Object, System.Int32>(ViewBag.username
#line default
#line hidden
, 5140), false)
);
WriteLiteral(" />\r\n </div>\r\n <div");
WriteLiteral(" class=\"form-item\"");
WriteLiteral(">\r\n <i");
WriteLiteral(" class=\"icon\"");
WriteLiteral("></i><input");
WriteLiteral(" class=\"ipt\"");
WriteLiteral(" type=\"password\"");
WriteLiteral(" id=\"password\"");
WriteLiteral(" name=\"password\"");
WriteLiteral(" placeholder=\"密码\"");
WriteLiteral(" />\r\n </div>\r\n <div");
WriteLiteral(" class=\"form-item\"");
WriteLiteral(">\r\n <i");
WriteLiteral(" class=\"icon\"");
WriteLiteral("></i><input");
WriteLiteral(" class=\"ipt yzm\"");
WriteLiteral(" type=\"text\"");
WriteLiteral(" id=\"vcode\"");
WriteLiteral(" name=\"vcode\"");
WriteLiteral(" placeholder=\"验证码\"");
WriteLiteral(" maxlength=\"4\"");
WriteLiteral(" /><img");
WriteLiteral(" id=\"imgCode\"");
WriteAttribute("src", Tuple.Create(" src=\"", 5585), Tuple.Create("\"", 5626)
#line 212 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\Admin\Views\login\login.cshtml"
, Tuple.Create(Tuple.Create("", 5591), Tuple.Create<System.Object, System.Int32>(Url.Action("ValidateCode","Login")
#line default
#line hidden
, 5591), false)
);
WriteAttribute("onclick", Tuple.Create(" onclick=\"", 5627), Tuple.Create("\"", 5703)
, Tuple.Create(Tuple.Create("", 5637), Tuple.Create("this.src=\'", 5637), true)
#line 212 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\Admin\Views\login\login.cshtml"
, Tuple.Create(Tuple.Create("", 5647), Tuple.Create<System.Object, System.Int32>(Url.Action("ValidateCode","Login")
#line default
#line hidden
, 5647), false)
, Tuple.Create(Tuple.Create("", 5682), Tuple.Create("?d=\'", 5682), true)
, Tuple.Create(Tuple.Create(" ", 5686), Tuple.Create("+", 5687), true)
, Tuple.Create(Tuple.Create(" ", 5688), Tuple.Create("Math.random();", 5689), true)
);
WriteLiteral(" />\r\n </div>\r\n ");
WriteLiteral("\r\n <div");
WriteLiteral(" class=\"form-item\"");
WriteLiteral(">\r\n <input");
WriteLiteral(" class=\"btn\"");
WriteLiteral(" type=\"submit\"");
WriteLiteral(" value=\"登 录\"");
WriteLiteral(" />\r\n </div>\r\n </form>\r\n </div>\r\n </div>\r\n " +
" <script");
WriteLiteral(" type=\"text/javascript\"");
WriteLiteral(" src=\"/js/layer/layer.js\"");
WriteLiteral("></script>\r\n <script");
WriteLiteral(" type=\"text/javascript\"");
WriteLiteral(" src=\"/js/layer/layer_diy.js\"");
WriteLiteral("></script>\r\n <script");
WriteLiteral(" type=\"text/javascript\"");
WriteLiteral(@">
$(function () {
$(""form"").submit(function () {
if ($(""#username"").val() == """") {
msgBox(""请输入用户名!"");
$(""#username"").focus();
return false;
}
if ($(""#password"").val() == """") {
msgBox(""请输入登录密码!"");
$(""#password"").focus();
return false;
}
if ($(""#vcode"").val().length < 4) {
msgBox(""验证码不能为空或输入有误!"");
$(""#vcode"").focus();
return false;
}
var _index = layer.load(1, { shade: [0.2, '#fff'] });
$.ajax({
url: '");
#line 245 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\Admin\Views\login\login.cshtml"
Write(Url.Action("PostLogin"));
#line default
#line hidden
WriteLiteral("\',\r\n type: \"post\",\r\n //async: false,\r\n " +
" data: $(\"#form_login\").serializeJSON(),\r\n succ" +
"ess: function (res) {\r\n if (res.code == 0) {\r\n " +
" window.location.href = res.data;\r\n } els" +
"e {\r\n msgError(res.msg);\r\n " +
" layer.close(_index);\r\n }\r\n },\r\n " +
" error: function () {\r\n msgError(\"操作失败\");\r\n " +
" layer.close(_index);\r\n }\r\n " +
" })\r\n return false;\r\n })\r\n\r\n })\r\n // " +
"创建更多气泡\r\n function createBubbles() {\r\n const bubblesContainer =" +
" document.querySelector(\'.bubbles\');\r\n\r\n for (let i = 0; i < 10; i++)" +
" {\r\n const bubble = document.createElement(\'div\');\r\n " +
" bubble.classList.add(\'bubble\');\r\n\r\n // 随机大幼\r\n c" +
"onst size = Math.random() * 60 + 20;\r\n bubble.style.width = `${si" +
"ze}px`;\r\n bubble.style.height = `${size}px`;\r\n\r\n /" +
"/ 随机地位\r\n bubble.style.left = `${Math.random() * 100}%`;\r\n\r\n " +
" // 随机动画延长和时长\r\n bubble.style.animationDelay = `${Math.ra" +
"ndom() * 5}s`;\r\n bubble.style.animationDuration = `${Math.random(" +
") * 7 + 5}s`;\r\n\r\n bubblesContainer.appendChild(bubble);\r\n " +
" }\r\n }\r\n\r\n // 初始化\r\n //document.addEventListener(\'DOMCont" +
"entLoaded\', function () {\r\n createBubbles();\r\n //});\r\n </sc" +
"ript>\r\n</body>\r\n");
}
}
}