|
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\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "DDB45E5BB3D7374A5DE401BFC06F6C71DC2B36F3"
//------------------------------------------------------------------------------
// <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_Index_cshtml : System.Web.Mvc.WebViewPage<dynamic> {
#line hidden
public _Page_Areas_Admin_Views_login_Index_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\Index.cshtml"
ViewBag.Title = "治理员登录";
#line default
#line hidden
WriteLiteral("\r\n<style");
WriteLiteral(" type=\"text/css\"");
WriteLiteral(">\r\n html, body, .login {\r\n height: 100%;\r\n }\r\n</style>\r\n<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 <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 20 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\Admin\Views\login\Index.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=\"", 672), Tuple.Create("\"", 697)
#line 23 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\Admin\Views\login\Index.cshtml"
, Tuple.Create(Tuple.Create("", 680), Tuple.Create<System.Object, System.Int32>(ViewBag.username
#line default
#line hidden
, 680), 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=\"", 1125), Tuple.Create("\"", 1166)
#line 29 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\Admin\Views\login\Index.cshtml"
, Tuple.Create(Tuple.Create("", 1131), Tuple.Create<System.Object, System.Int32>(Url.Action("ValidateCode","Login")
#line default
#line hidden
, 1131), false)
);
WriteAttribute("onclick", Tuple.Create(" onclick=\"", 1167), Tuple.Create("\"", 1243)
, Tuple.Create(Tuple.Create("", 1177), Tuple.Create("this.src=\'", 1177), true)
#line 29 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\Admin\Views\login\Index.cshtml"
, Tuple.Create(Tuple.Create("", 1187), Tuple.Create<System.Object, System.Int32>(Url.Action("ValidateCode","Login")
#line default
#line hidden
, 1187), false)
, Tuple.Create(Tuple.Create("", 1222), Tuple.Create("?d=\'", 1222), true)
, Tuple.Create(Tuple.Create(" ", 1226), Tuple.Create("+", 1227), true)
, Tuple.Create(Tuple.Create(" ", 1228), Tuple.Create("Math.random();", 1229), 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 62 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\Admin\Views\login\Index.cshtml"
Write(Url.Action("PostLogin"));
#line default
#line hidden
WriteLiteral(@"',
type: ""post"",
//async: false,
data: $(""#form_login"").serializeJSON(),
success: function (res) {
if (res.code == 0) {
window.location.href = res.data;
} else {
msgError(res.msg);
layer.close(_index);
}
},
error: function () {
msgError(""操作失败"");
layer.close(_index);
}
})
return false;
})
})
</script>
</body>
");
}
}
}