#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 3 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateForest.cshtml" if (User.Identity.IsAuthenticated && User.FindFirstValue("status") == "管理员") { Layout = "_BackLayout"; } #line default #line hidden #line 6 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateForest.cshtml" ViewData["Title"] = "添加森林生物灾害时刻数据"; #line default #line hidden BeginContext(209, 62, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2a1da0aff4ee4485abaa5f8223d09beb", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(271, 512, true); WriteLiteral(@" <style> .content_nav { font-size: 16px; font-weight: 500; margin-top: 15px; margin-bottom: 0px; display: flex; justify-content: space-between; } label { width: 100px; text-align: center; } .form-control { display: inline-block; width: auto; } </style> <div class=""content_nav""> <div> <a href=""javascript:void(0)"" style=""text-decoration:none;"" onclick=""getLongDimen1();"">"); EndContext(); BeginContext(784, 17, false); #line 32 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateForest.cshtml" Write(ViewData["Title"]); #line default #line hidden EndContext(); BeginContext(801, 278, true); WriteLiteral(@"</a>  <input type=""submit"" value=""提交"" class=""btn btn-default"" form=""form1"" /> </div> <div> <a href=""javascript:void(0)"" style=""text-decoration:none;display: inline-block;padding-top: 6px;"" onclick=""getLongDimen2();"">获取经纬度</a>  </div> "); EndContext(); #line 38 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateForest.cshtml" if (User.Identity.IsAuthenticated && User.FindFirstValue("status") == "管理员") { #line default #line hidden BeginContext(1169, 8, true); WriteLiteral(" "); EndContext(); BeginContext(1177, 92, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "34fc36489c1742b5929df1bdc9d3b58b", async() => { BeginContext(1255, 10, true); WriteLiteral("返回灾害数据管理列表"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1269, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1279, 88, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "aac614cec52040c5ac62ef8cd4529e1e", async() => { BeginContext(1357, 6, true); WriteLiteral("返回个人中心"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1367, 2, true); WriteLiteral("\r\n"); EndContext(); #line 42 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateForest.cshtml" } else { #line default #line hidden BeginContext(1393, 8, true); WriteLiteral(" "); EndContext(); BeginContext(1401, 88, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "369bb37dc94c4042928e4f770066ee7e", async() => { BeginContext(1479, 6, true); WriteLiteral("返回个人中心"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1489, 2, true); WriteLiteral("\r\n"); EndContext(); #line 46 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateForest.cshtml" } #line default #line hidden BeginContext(1498, 115, true); WriteLiteral("</div>\r\n\r\n<hr style=\"margin-top:15px;\" />\r\n<div style=\"margin:0 auto; text-align:center;\" class=\"forestform\">\r\n "); EndContext(); BeginContext(1613, 2954, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0a6301ef1acf401cb65cf4fb02b1dc81", async() => { BeginContext(1699, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1709, 66, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9d0d789c7aa14f79a214b8f22ce9569b", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationSummaryTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper); #line 52 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateForest.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper.ValidationSummary = global::Microsoft.AspNetCore.Mvc.Rendering.ValidationSummary.ModelOnly; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-validation-summary", __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper.ValidationSummary, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1775, 44, true); WriteLiteral("\r\n <input name=\"userID\" type=\"hidden\""); EndContext(); BeginWriteAttribute("value", " value=\"", 1819, "\"", 1853, 1); #line 53 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateForest.cshtml" WriteAttributeValue("", 1827, User.FindFirstValue("ID"), 1827, 26, false); #line default #line hidden EndWriteAttribute(); BeginContext(1854, 2706, true); WriteLiteral(@" class=""form-control"" /> <table id=""addTable""> <tbody style=""""> <tr> <td> <div class=""form-group""> <label>时  间</label> <input name=""foresttime"" class=""form-control"" /> </div> </td> <td> <div class=""form-group""> <label>经  度(°)</label> <input name=""forestlogitude"" class=""form-control"" /> </div> </td> <td> <div class=""form-group""> <label>纬  度(°)</label> <input name=""forestdimension"" class=""form-control"" /> </div> </td> <td> <div class=""form-group""> "); WriteLiteral(@" <label>参考位置</label> <input name=""forestplace"" class=""form-control"" /> </div> </td> <td> <div class=""form-group""> <label>灾害类型</label> <input name=""foreststyle"" class=""form-control"" /> </div> </td> </tr> <tr> <td> <div class=""form-group""> <label>经济损失(万元)</label> <input name=""forestloss"" class=""form-control"" /> </div> </td> <td> <div class=""form-group""> <label>灾害范围(公顷)</label> <input name=""forestarea"" class=""form-control"" /> </div> </td> "); WriteLiteral(@" <td colspan=""2""> <span style=""font-weight:600;"">详情</span> <input name=""forestdetails"" class=""form-control"" id=""content"" type=""hidden"" /> <div style=""width:500px;""> <textarea class=""A4page"" id=""myEditor"" name=""NewsContent""></textarea> </div> </td> <td></td> </tr> <tr> <td colspan=""5""><hr /></td> </tr> </tbody> <tbody class=""footTbody""></tbody> </table> "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Controller = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Action = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(4567, 903, true); WriteLiteral(@" </div> <div style=""display:none;"" class=""longdimen""> <p style=""color:red;"">获取坐标并复制,皆是经度在前,维度在后</p> <iframe id=""pickupZuobiao"" name=""pickupZuobiao"" scrolling=""no"" style=""width:100%; min-height:500px;"" allowfullscreen=""true"" frameborder=""0"" src=""https://api.map.baidu.com/lbsapi/getpoint/index.html"" onload=""frameauto()""></iframe> <script> function frameauto() { window.onerror = function () { return true; } $(function () { headerH = 0; var h = $(window).height(); $(""#pickupZuobiao"").height((h - headerH) + ""px""); }); } </script> </div> <script> function getLongDimen1() { $("".forestform"").show(); $("".longdimen"").hide(); } function getLongDimen2() { $("".forestform"").hide(); $("".longdimen"").show(); } </script> "); EndContext(); BeginContext(5478, 760, true); WriteLiteral(@"<script type=""text/javascript""> $(function () { UE.delEditor('myEditor'); var ue = UE.getEditor('myEditor', { toolbars: [ ], allowDivTransToP: false,//阻止div标签自动转换为p标签 autoHeightEnabled: true, autoFloatEnabled: true, maximumWords: 10000, wordCount: false }); //对编辑器的操作最好在编辑器ready之后再做 ue.ready(function () { $("".edui-editor-messageholder.edui-default"").css({ ""visibility"": ""hidden"" }); }) }); function cc() { document.getElementById('content').value = UE.getEditor('myEditor').getContent(); } setInterval(function () { cc(); }, 100); </script> "); EndContext(); DefineSection("Scripts", async() => { BeginContext(6256, 2, true); WriteLiteral("\r\n"); EndContext(); #line 176 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateForest.cshtml" await Html.RenderPartialAsync("_ValidationScriptsPartial"); #line default #line hidden } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(167, 4, true); WriteLiteral("\r\n\r\n"); EndContext(); #line 5 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\Home\KnowledgeDetail.cshtml" //Layout = "_BackLayout"; ViewData["Title"] = Model.title; var k = ViewBag.forumMsg.Count; #line default #line hidden BeginContext(284, 26, true); WriteLiteral("<meta charset=\"utf-8\" />\r\n"); EndContext(); BeginContext(310, 62, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4e3b01f81ad54e348639c71cf4a1a107", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(372, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(374, 57, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "188b686559994c4a8c7f85a35478026b", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(431, 3020, true); WriteLiteral(@" <style> p { /*padding-top: 20px;*/ font-size: 16px; } p span { font-weight: 300; /*letter-spacing:8px;*/ } dt, dd { margin-bottom: 8px; } dt::after { content: "":"" } .content_title { text-align: center; font-weight: 700; padding-top: 0px; } .content_source { text-align: center; color: #7E8489; margin-bottom: 12px; } .content_source .span, .content_nav .span { display: inline-block; margin-right: 2em; } .content_txt { /*padding: 15px 0 50px 0;*/ line-height: 30px; } .content_nav { display: inline-block; } .content_nav i { font-style: normal; font-weight: 500; } #imgCent { margin: 0 auto; text-align: center; width: 300px; h"); WriteLiteral(@"eight: auto; } #imgCent img { width: 300px; height: auto; } .edui-default .edui-editor-bottomContainer td { border-top: none; } .row { margin-right: 0px; margin-left: 0px; } .col-md-1, .col-md-11 { padding-left: 0px; padding-right: 0px; } .btn-red { color: #fff !important; border: 1px solid #ca0c16 !important; background-color: #ca0c16 !important; -webkit-transition: background-color .1s ease-in-out,border-color .1s ease-in-out; transition: background-color .1s ease-in-out,border-color .1s ease-in-out; } .btn-red:hover { background-color: #f21f2b !important; border-color: #f21f2b !important; } .liuyan .lyul { width: 100%; list-style: none; padding-left: 0px; } ul#lyul li:last-child > div { border-bottom: none !important; "); WriteLiteral(@"} .liuyan .lirow { border-bottom: 1px dashed #e0e0e0; margin-top: 10px; } .liuyan .rowone { width: 35px; margin-right: 5px; } .liuyan .rowone > a { cursor: pointer; } .liuyan .rowone img { width: 30px; height: 30px; border-radius: 50%; } .liuyan .rowoo .rowonep { height: 30px; line-height: 30px; margin: 0px; } .liuyan .rowonep > a { cursor: pointer; } .liuyan .rowonep .spanone { font-size: 15px; font-weight: bold; color: #2e2e2e; display: inline-block; margin-right: 8px; } .liuyan .rowonep .spantwo { font-size: 15px; color: #999; } .liuyan .rowoodiv p { font-size: 15px; } .liuyan .rowoodiv img { width: 20px; } </style> "); EndContext(); BeginContext(3462, 7, true); WriteLiteral("<div>\r\n"); EndContext(); BeginContext(3511, 55, true); WriteLiteral(" <p class=\"content_title\" style=\"padding-top:20px;\">"); EndContext(); BeginContext(3567, 37, false); #line 167 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\Home\KnowledgeDetail.cshtml" Write(Html.DisplayFor(model => model.title)); #line default #line hidden EndContext(); BeginContext(3604, 70, true); WriteLiteral("</p>\r\n <div class=\"content_source\">\r\n <span class=\"span\">来源:"); EndContext(); BeginContext(3675, 38, false); #line 169 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\Home\KnowledgeDetail.cshtml" Write(Html.DisplayFor(model => model.source)); #line default #line hidden EndContext(); BeginContext(3713, 41, true); WriteLiteral("</span>\r\n <span class=\"span\">发布时间:"); EndContext(); BeginContext(3755, 39, false); #line 170 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\Home\KnowledgeDetail.cshtml" Write(Html.DisplayFor(model => model.fb_time)); #line default #line hidden EndContext(); BeginContext(3794, 71, true); WriteLiteral("</span>\r\n <span class=\"span\">\r\n <a>\r\n "); EndContext(); BeginContext(3865, 246, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "5fcddb14a19f4225a90f45a74256001f", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "alt", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 173 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\Home\KnowledgeDetail.cshtml" AddHtmlAttributeValue("", 3875, Html.DisplayFor(model => model.user.username), 3875, 46, false); #line default #line hidden EndAddHtmlAttributeValues(__tagHelperExecutionContext); BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "title", 2, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); AddHtmlAttributeValue("", 3930, "账号:", 3930, 3, true); #line 173 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\Home\KnowledgeDetail.cshtml" AddHtmlAttributeValue("", 3933, Html.DisplayFor(model => model.user.username), 3933, 46, false); #line default #line hidden EndAddHtmlAttributeValues(__tagHelperExecutionContext); BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "src", 2, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); AddHtmlAttributeValue("", 3986, "~/upfiles/", 3986, 10, true); #line 173 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\Home\KnowledgeDetail.cshtml" AddHtmlAttributeValue("", 3996, Html.DisplayFor(model => model.user.img), 3996, 41, false); #line default #line hidden EndAddHtmlAttributeValues(__tagHelperExecutionContext); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(4111, 35, true); WriteLiteral("\r\n </a>\r\n 作者:"); EndContext(); BeginContext(4147, 38, false); #line 175 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\Home\KnowledgeDetail.cshtml" Write(Html.DisplayFor(model => model.author)); #line default #line hidden EndContext(); BeginContext(4185, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(4449, 48, true); WriteLiteral(" </span>\r\n <span>\r\n 类型:"); EndContext(); BeginContext(4498, 40, false); #line 181 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\Home\KnowledgeDetail.cshtml" Write(Html.DisplayFor(model => model.wz_style)); #line default #line hidden EndContext(); BeginContext(4538, 89, true); WriteLiteral("\r\n </span>\r\n </div>\r\n <div class=\"content_txt\">\r\n <div>\r\n "); EndContext(); BeginContext(4628, 60, false); #line 186 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\Home\KnowledgeDetail.cshtml" Write(Html.Raw(System.Net.WebUtility.UrlDecode(@Model.wz_content))); #line default #line hidden EndContext(); BeginContext(4688, 38, true); WriteLiteral("\r\n </div>\r\n </div>\r\n</div>\r\n"); EndContext(); BeginContext(4750, 11, true); WriteLiteral("<div>\r\n "); EndContext(); BeginContext(4761, 597, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "236d67cd83374a728e5ff292486d0766", async() => { BeginContext(4885, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(4895, 66, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "dccc6967aa18423f9360cc72b39ae7ed", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationSummaryTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper); #line 194 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\Home\KnowledgeDetail.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper.ValidationSummary = global::Microsoft.AspNetCore.Mvc.Rendering.ValidationSummary.ModelOnly; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-validation-summary", __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper.ValidationSummary, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(4961, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(4971, 96, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "cfe041757fe64516abbf15df8258c4da", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper); #line 195 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\Home\KnowledgeDetail.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.userID); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.InputTypeName = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5); BeginWriteTagHelperAttribute(); #line 195 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\Home\KnowledgeDetail.cshtml" WriteLiteral(User.FindFirstValue("ID")); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.Value = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("value", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.Value, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(5067, 66, true); WriteLiteral("\r\n <input name=\"essayID\" type=\"hidden\" class=\"form-control\""); EndContext(); BeginWriteAttribute("value", " value=\"", 5133, "\"", 5176, 1); #line 196 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\Home\KnowledgeDetail.cshtml" WriteAttributeValue("", 5141, Html.DisplayFor(model => model.ID), 5141, 35, false); #line default #line hidden EndWriteAttribute(); BeginContext(5177, 174, true); WriteLiteral(" />\r\n <input class=\"form-control\" name=\"comment\" id=\"content\" type=\"hidden\" />\r\n <input class=\"form-control\" name=\"comment_time\" id=\"Now\" type=\"hidden\" />\r\n "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Controller = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Action = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_9); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_11); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(5358, 177, true); WriteLiteral("\r\n</div>\r\n<hr style=\"border: 1px solid #D8FAFA\" />\r\n<div class=\"row\" style=\"height:120px;\">\r\n <div class=\"col-md-1\" style=\" margin:0 auto; text-align:center;height:106px;\">\r\n"); EndContext(); #line 204 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\Home\KnowledgeDetail.cshtml" if (User.Identity.IsAuthenticated) { #line default #line hidden BeginContext(5591, 159, true); WriteLiteral(" <a style=\"display:inline-block; margin:8px auto 3px auto; text-align:center; text-decoration:none; cursor:pointer; height:60px;\">\r\n "); EndContext(); BeginContext(5750, 145, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "db1032d3a4e042438114067064076fce", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_12); BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "title", 2, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); AddHtmlAttributeValue("", 5773, "账号:", 5773, 3, true); #line 207 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\Home\KnowledgeDetail.cshtml" AddHtmlAttributeValue("", 5776, User.Identity.Name, 5776, 19, false); #line default #line hidden EndAddHtmlAttributeValues(__tagHelperExecutionContext); BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "src", 2, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); AddHtmlAttributeValue("", 5802, "~/upfiles/", 5802, 10, true); #line 207 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\Home\KnowledgeDetail.cshtml" AddHtmlAttributeValue("", 5812, User.FindFirstValue("img"), 5812, 27, false); #line default #line hidden EndAddHtmlAttributeValues(__tagHelperExecutionContext); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_13); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(5895, 64, true); WriteLiteral("\r\n <p style=\"font-size:10px; margin:0;padding:0\">"); EndContext(); BeginContext(5960, 18, false); #line 208 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\Home\KnowledgeDetail.cshtml" Write(User.Identity.Name); #line default #line hidden EndContext(); BeginContext(5978, 24, true); WriteLiteral("</p>\r\n </a>\r\n"); EndContext(); #line 210 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\Home\KnowledgeDetail.cshtml" } else { #line default #line hidden BeginContext(6038, 12, true); WriteLiteral(" "); EndContext(); BeginContext(6050, 198, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d848470e08ee4682ae929ce04e4d9499", async() => { BeginContext(6240, 4, true); WriteLiteral("请先登录"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_14.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_15.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_16); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_17); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(6248, 2, true); WriteLiteral("\r\n"); EndContext(); #line 214 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\Home\KnowledgeDetail.cshtml" } #line default #line hidden BeginContext(6261, 478, true); WriteLiteral(@" <div class=""form-group"" style=""display:inline-block; margin-bottom:0px;""> <input type=""submit"" value=""发表评论"" class=""btn btn-default btn-red"" form=""form1"" /> </div> </div> <div class=""col-md-11"" style=""height:80px;""> <textarea class=""A4page A4pageColor"" id=""myEditor"" name=""NewsContent"" placeholder=""想对作者说什么~"" maxlength=""100"" style=""display:inline-block;""></textarea> </div> </div> <hr style=""border: 1px solid #D8FAFA"" /> "); EndContext(); BeginContext(6765, 55, true); WriteLiteral("<div class=\"liuyan\">\r\n <ul class=\"lyul\" id=\"lyul\">\r\n"); EndContext(); #line 228 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\Home\KnowledgeDetail.cshtml" foreach (var forumMsg in ViewBag.forumMsg) { #line default #line hidden BeginContext(6884, 111, true); WriteLiteral(" <li>\r\n <div class=\"row lirow\">\r\n <div class=\"col-md-1 rowone\"><a>"); EndContext(); BeginContext(6995, 85, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "92054f3a2cd34ba096817ab38837bb53", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_18); BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "title", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 232 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\Home\KnowledgeDetail.cshtml" AddHtmlAttributeValue("", 7018, forumMsg.user.username, 7018, 23, false); #line default #line hidden EndAddHtmlAttributeValues(__tagHelperExecutionContext); BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "src", 2, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); AddHtmlAttributeValue("", 7048, "~/upfiles/", 7048, 10, true); #line 232 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\Home\KnowledgeDetail.cshtml" AddHtmlAttributeValue("", 7058, forumMsg.user.img, 7058, 18, false); #line default #line hidden EndAddHtmlAttributeValues(__tagHelperExecutionContext); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(7080, 161, true); WriteLiteral("</a></div>\r\n <div class=\"col-md-11 rowoo\">\r\n <p class=\"rowonep\">\r\n <a><span class=\"spanone\">"); EndContext(); BeginContext(7242, 22, false); #line 235 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\Home\KnowledgeDetail.cshtml" Write(forumMsg.user.username); #line default #line hidden EndContext(); BeginContext(7264, 97, true); WriteLiteral("</span></a>\r\n <span class=\"spantwo\">\r\n "); EndContext(); BeginContext(7362, 184, false); #line 237 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\Home\KnowledgeDetail.cshtml" Write(Html.TextBox("txtTime", @forumMsg.comment_time, "{0:yyyy-MM-dd HH:mm:ss}", new { @class = "dateInput", @id = "", @readonly = "true", style = "outline:none; border:none;width:140px;" })); #line default #line hidden EndContext(); BeginContext(7546, 115, true); WriteLiteral("\r\n </span>\r\n <span style=\"margin-left:12px; color:#999;\">#<i>"); EndContext(); BeginContext(7662, 1, false); #line 239 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\Home\KnowledgeDetail.cshtml" Write(k); #line default #line hidden EndContext(); BeginContext(7663, 90, true); WriteLiteral("</i>楼</span>\r\n </p>\r\n <div class=\"rowoodiv\">"); EndContext(); BeginContext(7754, 59, false); #line 241 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\Home\KnowledgeDetail.cshtml" Write(Html.Raw(System.Net.WebUtility.UrlDecode(forumMsg.comment))); #line default #line hidden EndContext(); BeginContext(7813, 81, true); WriteLiteral("</div>\r\n </div>\r\n </div>\r\n\r\n </li>\r\n"); EndContext(); #line 246 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\Home\KnowledgeDetail.cshtml" k--; } #line default #line hidden BeginContext(7923, 61, true); WriteLiteral(" </ul>\r\n</div>\r\n<hr style=\"border: 1px solid #D8FAFA\" />\r\n"); EndContext(); BeginContext(7997, 2971, true); WriteLiteral(@"<script> function IsUserLogin() { let ologin = $(""#pleaselogin"").text(); console.log(ologin) if (ologin == ""请先登录"") { let oConfirmLogin = confirm(""请先登录""); if (oConfirmLogin == false) { return false; } else { return true; } } } </script> <script> $(() => { setInterval(function () { var time = new Date(); // 程序计时的月从0开始取值后+1 var m = time.getMonth() + 1; var d = time.getDate(); var h = time.getHours(); var mi = time.getMinutes(); var s = time.getSeconds(); if (m < 10) { m = '0' + m; } if (d < 10) { d = '0' + d; } if (h < 10) { h = '0' + h; } if (mi < 10) { mi = '0' + mi; } if (s < 10) { s = '0' + s; } var t = time.getFullYear() + ""-"" + m + ""-"" + d + "" "" + h + "":"" + mi + "":"" + s; "); WriteLiteral(@" document.getElementById('Now').value = t; }, 1000); }); </script> <script type=""text/javascript""> $(function () { UE.delEditor('myEditor'); var ue = UE.getEditor('myEditor', { toolbars: [ ['link', 'emotion'] ], allowDivTransToP: false,//阻止div标签自动转换为p标签 autoHeightEnabled: true, autoFloatEnabled: true, maximumWords: 100, initialFrameHeight: 40, }); //对编辑器的操作最好在编辑器ready之后再做 ue.ready(function () { $("".edui-editor-messageholder.edui-default"").css({ ""visibility"": ""hidden"" }); //UE.Editor.prototype.placeholder = function (justPlainText) { // var _editor = this; // _editor.addListener(""focus"", function () { // var localHtml = _editor.getPlainTxt(); // if ($.trim(localHtml) === $.trim(justPlainText)) { // _editor.se"); WriteLiteral(@"tContent(""""); // } // }); // _editor.addListener(""blur"", function () { // var localHtml = _editor.getContent(); // if (!localHtml) { // _editor.setContent(justPlainText); // } // }); // _editor.ready(function () { // _editor.fireEvent(""blur""); // }); //}; //ue.placeholder(""想对作者说什么~""); }); }) </script> <script type=""text/javascript""> var myUrl = document.location.href; document.getElementById('url').value = muUrl; //alert(myUrl);//在需要的地方调用myUrl </script> <script> function cc() { document.getElementById('content').value = UE.getEditor('myEditor').getContent(); } setInterval(function () { cc(); }, 100); </script> "); EndContext(); DefineSection("Scripts", async() => { BeginContext(10986, 2, true); WriteLiteral("\r\n"); EndContext(); #line 340 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\Home\KnowledgeDetail.cshtml" await Html.RenderPartialAsync("_ValidationScriptsPartial"); #line default #line hidden } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 1 "C:\Users\Xhers\source\repos\Blog-Klea\Blog-Klea\Views\Home\filter.cshtml" ViewData["Title"] = "Home Page"; var uid = User.FindFirstValue(ClaimTypes.NameIdentifier); var usern = await UserManager.FindByIdAsync(uid); #line default #line hidden BeginContext(294, 4, true); WriteLiteral("\r\n\r\n"); EndContext(); BeginContext(443, 2, true); WriteLiteral("\r\n"); EndContext(); #line 17 "C:\Users\Xhers\source\repos\Blog-Klea\Blog-Klea\Views\Home\filter.cshtml" if (SignInManager.IsSignedIn(User)) { #line default #line hidden BeginContext(490, 69, true); WriteLiteral(" <div class=\"text-center\">\r\n <h1 class=\"display-4\">Welcome "); EndContext(); BeginContext(560, 5, false); #line 22 "C:\Users\Xhers\source\repos\Blog-Klea\Blog-Klea\Views\Home\filter.cshtml" Write(usern); #line default #line hidden EndContext(); BeginContext(565, 50, true); WriteLiteral("</h1>\r\n </div>\r\n <div class=\"text-center\">\r\n"); EndContext(); #line 25 "C:\Users\Xhers\source\repos\Blog-Klea\Blog-Klea\Views\Home\filter.cshtml" foreach (BlogPost item in ViewData["posts"] as IEnumerable <BlogPost> ) { #line default #line hidden BeginContext(708, 85, true); WriteLiteral(" <tr>\r\n <td>\r\n <h3 style=\"color:indigo\">"); EndContext(); BeginContext(794, 10, false); #line 30 "C:\Users\Xhers\source\repos\Blog-Klea\Blog-Klea\Views\Home\filter.cshtml" Write(item.Title); #line default #line hidden EndContext(); BeginContext(804, 27, true); WriteLiteral("</h3>\r\n "); EndContext(); BeginContext(831, 61, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "9d9e71dc0482f36b58683df39f2a849a1cfac9825925", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "src", 2, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); AddHtmlAttributeValue("", 841, "~/content/blog/", 841, 15, true); #line 31 "C:\Users\Xhers\source\repos\Blog-Klea\Blog-Klea\Views\Home\filter.cshtml" AddHtmlAttributeValue("", 856, item.Image, 856, 11, false); #line default #line hidden EndAddHtmlAttributeValues(__tagHelperExecutionContext); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(892, 28, true); WriteLiteral("\r\n <h6>\r\n"); EndContext(); #line 33 "C:\Users\Xhers\source\repos\Blog-Klea\Blog-Klea\Views\Home\filter.cshtml" if (item.Content.ToString().Length > 200) { item.Content = item.Content.Substring(0, 199) + "..."; } #line default #line hidden BeginContext(1126, 24, true); WriteLiteral(" "); EndContext(); BeginContext(1151, 12, false); #line 37 "C:\Users\Xhers\source\repos\Blog-Klea\Blog-Klea\Views\Home\filter.cshtml" Write(item.Content); #line default #line hidden EndContext(); BeginContext(1163, 117, true); WriteLiteral(";\r\n </h6>\r\n <p style=\"font-size:12px; color:dimgray\">\r\n "); EndContext(); BeginContext(1281, 12, false); #line 40 "C:\Users\Xhers\source\repos\Blog-Klea\Blog-Klea\Views\Home\filter.cshtml" Write(item.PubDate); #line default #line hidden EndContext(); BeginContext(1293, 80, true); WriteLiteral(";\r\n </p>\r\n <p>\r\n <a"); EndContext(); BeginWriteAttribute("href", " href=\"", 1373, "\"", 1430, 2); WriteAttributeValue("", 1380, "https://localhost:44302/BlogPost/Details/", 1380, 41, true); #line 43 "C:\Users\Xhers\source\repos\Blog-Klea\Blog-Klea\Views\Home\filter.cshtml" WriteAttributeValue(" ", 1421, item.ID, 1422, 8, false); #line default #line hidden EndWriteAttribute(); BeginContext(1431, 71, true); WriteLiteral("> View more </a>\r\n </p>\r\n\r\n </td>\r\n\r\n"); EndContext(); BeginContext(1790, 19, true); WriteLiteral(" </tr>\r\n"); EndContext(); #line 54 "C:\Users\Xhers\source\repos\Blog-Klea\Blog-Klea\Views\Home\filter.cshtml" } #line default #line hidden BeginContext(1820, 14, true); WriteLiteral("\r\n </div>\r\n"); EndContext(); #line 57 "C:\Users\Xhers\source\repos\Blog-Klea\Blog-Klea\Views\Home\filter.cshtml" } else { #line default #line hidden BeginContext(1850, 118, true); WriteLiteral(" <div class=\"text-center\">\r\n <h1 class=\"display-4\">Welcome</h1>\r\n </div>\r\n <div class=\"text-center\">\r\n"); EndContext(); #line 66 "C:\Users\Xhers\source\repos\Blog-Klea\Blog-Klea\Views\Home\filter.cshtml" foreach (BlogPost item in ViewData["posts"] as IEnumerable <BlogPost> ) { #line default #line hidden BeginContext(2061, 85, true); WriteLiteral(" <tr>\r\n <td>\r\n <h3 style=\"color:indigo\">"); EndContext(); BeginContext(2147, 10, false); #line 71 "C:\Users\Xhers\source\repos\Blog-Klea\Blog-Klea\Views\Home\filter.cshtml" Write(item.Title); #line default #line hidden EndContext(); BeginContext(2157, 27, true); WriteLiteral("</h3>\r\n "); EndContext(); BeginContext(2184, 61, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "9d9e71dc0482f36b58683df39f2a849a1cfac98211012", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "src", 2, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); AddHtmlAttributeValue("", 2194, "~/content/blog/", 2194, 15, true); #line 72 "C:\Users\Xhers\source\repos\Blog-Klea\Blog-Klea\Views\Home\filter.cshtml" AddHtmlAttributeValue("", 2209, item.Image, 2209, 11, false); #line default #line hidden EndAddHtmlAttributeValues(__tagHelperExecutionContext); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2245, 28, true); WriteLiteral("\r\n <h6>\r\n"); EndContext(); #line 74 "C:\Users\Xhers\source\repos\Blog-Klea\Blog-Klea\Views\Home\filter.cshtml" if (item.Content.ToString().Length > 200) { item.Content = item.Content.Substring(0, 199) + "..."; } #line default #line hidden BeginContext(2479, 24, true); WriteLiteral(" "); EndContext(); BeginContext(2504, 12, false); #line 78 "C:\Users\Xhers\source\repos\Blog-Klea\Blog-Klea\Views\Home\filter.cshtml" Write(item.Content); #line default #line hidden EndContext(); BeginContext(2516, 117, true); WriteLiteral(";\r\n </h6>\r\n <p style=\"font-size:12px; color:dimgray\">\r\n "); EndContext(); BeginContext(2634, 12, false); #line 81 "C:\Users\Xhers\source\repos\Blog-Klea\Blog-Klea\Views\Home\filter.cshtml" Write(item.PubDate); #line default #line hidden EndContext(); BeginContext(2646, 80, true); WriteLiteral(";\r\n </p>\r\n <p>\r\n <a"); EndContext(); BeginWriteAttribute("href", " href=\"", 2726, "\"", 2783, 2); WriteAttributeValue("", 2733, "https://localhost:44302/BlogPost/Details/", 2733, 41, true); #line 84 "C:\Users\Xhers\source\repos\Blog-Klea\Blog-Klea\Views\Home\filter.cshtml" WriteAttributeValue(" ", 2774, item.ID, 2775, 8, false); #line default #line hidden EndWriteAttribute(); BeginContext(2784, 71, true); WriteLiteral("> View more </a>\r\n </p>\r\n\r\n </td>\r\n\r\n"); EndContext(); BeginContext(3143, 19, true); WriteLiteral(" </tr>\r\n"); EndContext(); #line 95 "C:\Users\Xhers\source\repos\Blog-Klea\Blog-Klea\Views\Home\filter.cshtml" } #line default #line hidden BeginContext(3173, 16, true); WriteLiteral("\r\n\r\n </div>\r\n"); EndContext(); #line 99 "C:\Users\Xhers\source\repos\Blog-Klea\Blog-Klea\Views\Home\filter.cshtml" } #line default #line hidden }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(34, 2, true); WriteLiteral("\r\n"); EndContext(); #line 3 "C:\Users\Xhers\source\repos\Blog-Klea\Blog-Klea\Views\BlogPost\Details.cshtml" ViewData["Title"] = "Details"; var uid = User.FindFirstValue(ClaimTypes.NameIdentifier); var usern = await UserManager.FindByIdAsync(uid); #line default #line hidden BeginContext(205, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(334, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(434, 40, true); WriteLiteral("\r\n\r\n<div class=\"text-center\">\r\n <h1> "); EndContext(); BeginContext(475, 37, false); #line 22 "C:\Users\Xhers\source\repos\Blog-Klea\Blog-Klea\Views\BlogPost\Details.cshtml" Write(Html.DisplayFor(model => model.Title)); #line default #line hidden EndContext(); BeginContext(512, 11, true); WriteLiteral("</h1>\r\n "); EndContext(); BeginContext(523, 88, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "e1b342f5179ad0ff970b915173c057ff082c67756984", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "src", 2, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); AddHtmlAttributeValue("", 533, "~/content/blog/", 533, 15, true); #line 23 "C:\Users\Xhers\source\repos\Blog-Klea\Blog-Klea\Views\BlogPost\Details.cshtml" AddHtmlAttributeValue("", 548, Html.DisplayFor(model => model.Image), 548, 38, false); #line default #line hidden EndAddHtmlAttributeValues(__tagHelperExecutionContext); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(611, 32, true); WriteLiteral("\r\n \r\n\r\n <div>\r\n <h6>"); EndContext(); BeginContext(644, 39, false); #line 27 "C:\Users\Xhers\source\repos\Blog-Klea\Blog-Klea\Views\BlogPost\Details.cshtml" Write(Html.DisplayFor(model => model.Content)); #line default #line hidden EndContext(); BeginContext(683, 19, true); WriteLiteral("</h6>\r\n <p> "); EndContext(); BeginContext(703, 39, false); #line 28 "C:\Users\Xhers\source\repos\Blog-Klea\Blog-Klea\Views\BlogPost\Details.cshtml" Write(Html.DisplayFor(model => model.PubDate)); #line default #line hidden EndContext(); BeginContext(742, 8, true); WriteLiteral("</p>\r\n\r\n"); EndContext(); #line 30 "C:\Users\Xhers\source\repos\Blog-Klea\Blog-Klea\Views\BlogPost\Details.cshtml" foreach (var item in Model.Comments) { #line default #line hidden BeginContext(808, 16, true); WriteLiteral(" <p> "); EndContext(); BeginContext(825, 20, false); #line 32 "C:\Users\Xhers\source\repos\Blog-Klea\Blog-Klea\Views\BlogPost\Details.cshtml" Write(item.RenderContent()); #line default #line hidden EndContext(); BeginContext(845, 7, true); WriteLiteral(" </p>\r\n"); EndContext(); #line 33 "C:\Users\Xhers\source\repos\Blog-Klea\Blog-Klea\Views\BlogPost\Details.cshtml" } #line default #line hidden BeginContext(863, 2, true); WriteLiteral("\r\n"); EndContext(); #line 35 "C:\Users\Xhers\source\repos\Blog-Klea\Blog-Klea\Views\BlogPost\Details.cshtml" if (SignInManager.IsSignedIn(User)) { #line default #line hidden BeginContext(926, 12, true); WriteLiteral(" "); EndContext(); BeginContext(938, 412, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e1b342f5179ad0ff970b915173c057ff082c677510602", async() => { BeginContext(983, 360, true); WriteLiteral(@" <h5>Post a comment</h5> <br /> <textarea id=""content"" name=""content"" rows=""5"" cols=""100"" onfocus="""" required placeholder=""Enter your comment here...""></textarea> <div class=""details""> <input type=""submit"" value=""Post comment"" /> </div> "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Action = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1350, 2, true); WriteLiteral("\r\n"); EndContext(); #line 49 "C:\Users\Xhers\source\repos\Blog-Klea\Blog-Klea\Views\BlogPost\Details.cshtml" } #line default #line hidden BeginContext(1363, 35, true); WriteLiteral(" <div>\r\n "); EndContext(); BeginContext(1398, 54, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e1b342f5179ad0ff970b915173c057ff082c677513097", async() => { BeginContext(1444, 4, true); WriteLiteral("Edit"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 51 "C:\Users\Xhers\source\repos\Blog-Klea\Blog-Klea\Views\BlogPost\Details.cshtml" WriteLiteral(Model.ID); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["id"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-id", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["id"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1452, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1470, 58, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e1b342f5179ad0ff970b915173c057ff082c677515440", async() => { BeginContext(1518, 6, true); WriteLiteral("Delete"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 52 "C:\Users\Xhers\source\repos\Blog-Klea\Blog-Klea\Views\BlogPost\Details.cshtml" WriteLiteral(Model.ID); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["id"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-id", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["id"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1528, 20, true); WriteLiteral("\r\n\r\n "); EndContext(); BeginContext(1548, 38, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e1b342f5179ad0ff970b915173c057ff082c677517791", async() => { BeginContext(1570, 12, true); WriteLiteral("Back to List"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1586, 34, true); WriteLiteral("\r\n </div>\r\n </div>\r\n"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 3 "D:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateMeteorology.cshtml" if (User.Identity.IsAuthenticated && User.FindFirstValue("status") == "管理员") { Layout = "_BackLayout"; } #line default #line hidden #line 6 "D:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateMeteorology.cshtml" ViewData["Title"] = "添加气象灾害时刻数据"; #line default #line hidden BeginContext(207, 62, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "bdf5740be174402c91197f099e017fe8", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(269, 512, true); WriteLiteral(@" <style> .content_nav { font-size: 16px; font-weight: 500; margin-top: 15px; margin-bottom: 0px; display: flex; justify-content: space-between; } label { width: 100px; text-align: center; } .form-control { display: inline-block; width: auto; } </style> <div class=""content_nav""> <div> <a href=""javascript:void(0)"" style=""text-decoration:none;"" onclick=""getLongDimen1();"">"); EndContext(); BeginContext(782, 17, false); #line 32 "D:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateMeteorology.cshtml" Write(ViewData["Title"]); #line default #line hidden EndContext(); BeginContext(799, 278, true); WriteLiteral(@"</a>  <input type=""submit"" value=""提交"" class=""btn btn-default"" form=""form1"" /> </div> <div> <a href=""javascript:void(0)"" style=""text-decoration:none;display: inline-block;padding-top: 6px;"" onclick=""getLongDimen2();"">获取经纬度</a>  </div> "); EndContext(); #line 38 "D:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateMeteorology.cshtml" if (User.Identity.IsAuthenticated && User.FindFirstValue("status") == "管理员") { #line default #line hidden BeginContext(1167, 8, true); WriteLiteral(" "); EndContext(); BeginContext(1175, 92, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c8e87b547fcc435ca42f159e89896560", async() => { BeginContext(1253, 10, true); WriteLiteral("返回灾害数据管理列表"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1267, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1277, 88, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ce0a4bb6e9664287b30f9aa8ccaf950a", async() => { BeginContext(1355, 6, true); WriteLiteral("返回个人中心"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1365, 2, true); WriteLiteral("\r\n"); EndContext(); #line 42 "D:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateMeteorology.cshtml" } else { #line default #line hidden BeginContext(1391, 8, true); WriteLiteral(" "); EndContext(); BeginContext(1399, 88, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0d786bc1f05c4c97bc8244a452dc4316", async() => { BeginContext(1477, 6, true); WriteLiteral("返回个人中心"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1487, 2, true); WriteLiteral("\r\n"); EndContext(); #line 46 "D:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateMeteorology.cshtml" } #line default #line hidden BeginContext(1496, 120, true); WriteLiteral("</div>\r\n\r\n<hr style=\"margin-top:15px;\" />\r\n<div style=\"margin:0 auto; text-align:center;\" class=\"meteorologyform\">\r\n "); EndContext(); BeginContext(1616, 3342, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2e64669cf02f4ae8b7b0a1f56d485d85", async() => { BeginContext(1707, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1717, 66, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2cc165a1d30243c4b13c046806fbdbb2", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationSummaryTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper); #line 52 "D:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateMeteorology.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper.ValidationSummary = global::Microsoft.AspNetCore.Mvc.Rendering.ValidationSummary.ModelOnly; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-validation-summary", __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper.ValidationSummary, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1783, 44, true); WriteLiteral("\r\n <input name=\"userID\" type=\"hidden\""); EndContext(); BeginWriteAttribute("value", " value=\"", 1827, "\"", 1861, 1); #line 53 "D:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateMeteorology.cshtml" WriteAttributeValue("", 1835, User.FindFirstValue("ID"), 1835, 26, false); #line default #line hidden EndWriteAttribute(); BeginContext(1862, 3089, true); WriteLiteral(@" class=""form-control"" /> <table id=""addTable""> <tbody style=""""> <tr> <td> <div class=""form-group""> <label>时  间</label> <input name=""qixiangtime"" class=""form-control"" /> </div> </td> <td> <div class=""form-group""> <label>经  度(°)</label> <input name=""qixianglogitude"" class=""form-control"" /> </div> </td> <td> <div class=""form-group""> <label>纬  度(°)</label> <input name=""qixiangdimension"" class=""form-control"" /> </div> </td> <td> <div class=""form-group""> "); WriteLiteral(@" <label>参考位置</label> <input name=""qixiangplace"" class=""form-control"" /> </div> </td> </tr> <tr> <td> <div class=""form-group""> <label>灾害类型</label> <input name=""qixiangstyle"" class=""form-control"" /> </div> </td> <td> <div class=""form-group""> <label>伤亡人数(人)</label> <input name=""qixiangcasualty"" class=""form-control"" /> </div> </td> <td> <div class=""form-group""> <label>经济损失(万元)</label> <input name=""qixiangloss"" class=""form-control"" /> </div> </"); WriteLiteral(@"td> <td> <div class=""form-group""> <label>灾害范围(公顷)</label> <input name=""qixiangarea"" class=""form-control"" /> </div> </td> </tr> <tr> <td colspan=""2""> <span style=""font-weight:600;"">详情</span> <input name=""qixiangdetails"" class=""form-control"" id=""content"" type=""hidden"" /> <div style=""width:500px;margin:0 auto; text-align:center;""> <textarea class=""A4page"" id=""myEditor"" name=""NewsContent""></textarea> </div> </td> <td></td> <td></td> </tr> <tr> <td colspan=""4""><hr /></td> </tr> </tbody> <tbody class=""footTbody""></tbody> "); WriteLiteral(" </table>\r\n "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Controller = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Action = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(4958, 913, true); WriteLiteral(@" </div> <div style=""display:none;"" class=""longdimen""> <p style=""color:red;"">获取坐标并复制,皆是经度在前,维度在后</p> <iframe id=""pickupZuobiao"" name=""pickupZuobiao"" scrolling=""no"" style=""width:100%; min-height:500px;"" allowfullscreen=""true"" frameborder=""0"" src=""https://api.map.baidu.com/lbsapi/getpoint/index.html"" onload=""frameauto()""></iframe> <script> function frameauto() { window.onerror = function () { return true; } $(function () { headerH = 0; var h = $(window).height(); $(""#pickupZuobiao"").height((h - headerH) + ""px""); }); } </script> </div> <script> function getLongDimen1() { $("".meteorologyform"").show(); $("".longdimen"").hide(); } function getLongDimen2() { $("".meteorologyform"").hide(); $("".longdimen"").show(); } </script> "); EndContext(); BeginContext(5879, 760, true); WriteLiteral(@"<script type=""text/javascript""> $(function () { UE.delEditor('myEditor'); var ue = UE.getEditor('myEditor', { toolbars: [ ], allowDivTransToP: false,//阻止div标签自动转换为p标签 autoHeightEnabled: true, autoFloatEnabled: true, maximumWords: 10000, wordCount: false }); //对编辑器的操作最好在编辑器ready之后再做 ue.ready(function () { $("".edui-editor-messageholder.edui-default"").css({ ""visibility"": ""hidden"" }); }) }); function cc() { document.getElementById('content').value = UE.getEditor('myEditor').getContent(); } setInterval(function () { cc(); }, 100); </script> "); EndContext(); DefineSection("Scripts", async() => { BeginContext(6657, 2, true); WriteLiteral("\r\n"); EndContext(); #line 183 "D:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateMeteorology.cshtml" await Html.RenderPartialAsync("_ValidationScriptsPartial"); #line default #line hidden } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(56, 2, true); WriteLiteral("\r\n"); EndContext(); #line 3 "D:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\PersonCenter\IndexOne.cshtml" ViewData["Title"] = "个人中心"; #line default #line hidden BeginContext(98, 15676, true); WriteLiteral(@"<style> .rownavparent { margin-right: 0px; margin-left: 0px; } .rownavchild1 { border-bottom: 1px solid #ddd; padding: 0px; } .rownavchild2 { padding-top: 15px; padding-left: 24px; font-size: 16px; box-shadow: 1px -1px 1px rgba(123,0,0,0.1) inset; } #ul1 { height: auto; list-style: none; float: none; padding-left: 0px; margin: 0 auto; } #ul1 li { height: 35px; line-height: 35px; text-align: center; cursor: pointer; font-size: 15px; } #ul1 li:hover { background: #fde3e4; color: #ca0c16; } #content { min-height: 492px; } .tab { display: none; } .hover { background: #b20b13 !important; color: #fff !important; } h3.title { "); WriteLiteral(@" font-size: 20px; color: #3d3d3d; height: 50px; line-height: 36px; border-bottom: 1px solid #e0e0e0; margin-top: 0px; font-weight: 600; } .modify { font-size: 14px; color: #3399ea; margin-top: 8px; cursor: pointer; text-align: center; } .hide { display: none; } .c1 { position: fixed; top: 0; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,.5); z-index: 2; } .c2 { background-color: white; position: fixed; width: 500px; height: 300px; top: 50%; left: 50%; z-index: 3; margin-top: -150px; margin-left: -280px; border-radius: 2px; } .maninfo { list-style: none; padding-left: 15px; } .maninfo li { height: 52px; line-height: 52px; "); WriteLiteral(@" font-size: 16px; color: #4d4d4d; } .maninfo li span { display: inline-block; width: 11%; text-align: right; margin-right: 5px; } .head-img { border: 1px dashed rgba(0,0,0,.08); background-color: rgba(0,0,0,.03); margin-left: 24px; display: inline-block; } #imgupload { display: none; } .mandatarow { margin-left: 0px; margin-right: 0px; } .mandatarow .mandatarow1 { padding-left: 0px; padding-right: 0px; width: 11%; } .mandatarow .mandatarow11 { width: 89%; padding-right: 0px; } .mandatarow .mandatarow1 > img { width: 100px; height: 100px; border-radius: 50%; margin: 5px auto 0; } #modal .modalspan1 { di"); WriteLiteral(@"splay: inline-block; margin: 15px 0px 15px 15px; font-size: 16px; color: #3d3d3d; font-weight: 600; float: left; } #modal .modalspan2 { display: inline-block; color: #999; margin: 10px 15px 15px 0px; float: right; cursor: pointer; } #modal #form1 #my-img { cursor: pointer; text-align: center; width: 212px; height: 200px; line-height: 160px; } #modal #form1 #my-img > p { font-size: 14px; color: #666; line-height: 30px; margin: 0; } #modal table .preview { width: 212px; margin-right: 4px; height: 200px; text-align: center; line-height: 200px; color: #999; display: inline-block; position: relative; } #modal table .preview img { width: 212px; height: 200px; "); WriteLiteral(@" position: absolute; left: -1px; top: -1px; } #modal .groupbtn { margin-top: 4px; width: 500px; } #modal .groupbtn .btndiv { margin: 0px auto; text-align: center; margin-top: 2px; width: 470px; } #modal .groupbtn .btnsave, #submitxgzl .obtn .btnsave { width: 100px; font-size: 14px; color: #fff; background: #ca0c16; border-radius: 4px; outline: none; margin-right: 80px; padding-left: 0px; padding-right: 0px; } #modal .groupbtn .btncancel, .obtn .btncancel { width: 100px; color: #3d3d3d; background: #e0e0e0; border-radius: 4px; } .xiugaiziliao { float: right; font-size: 14px; color: #3399ea; cursor: pointer; } "); WriteLiteral(@" .xiugaiziliao:hover, .modify:hover { color: #157dcf; } #submitxgzl .control-label { display: inline-block; font-weight: normal; } #submitxgzl .form-control { width: 86%; display: inline-block; } #submitxgzl .form-group { margin-bottom: 17px; } #submitxgzl .obtn .btnsave, #submitxgzl .obtn .btncancel { width: 80px; } .mdpwd ul { list-style: none; width: 397px; margin: 0 auto; } .mdpwd ul li { margin-bottom: 18px; height: 36px; position: relative; } .mdpwd label { font-size: 15px; font-weight: normal; } .mdpwd li input { width: 252px; height: 32px; line-height: 30px; margin-left: 8px; border: 1px solid #ccc; border-radius: 4px; padding: 0 8px; font-size: 14px; color: #4d4d4"); WriteLiteral(@"d; } .mdpwd .see-passwordold, .mdpwd .see-passwordnew, .mdpwd .see-passwordqr { position: absolute; right: 10px; top: 8px; font-size: 16px; color: #999; cursor: pointer; } .mdpwd .confirm_btn { width: 80px; height: 36px; line-height: 34px; border-radius: 4px; font-size: 14px; text-align: center; } .mdpwd .confirm_disable { background: #f5f5f5; border: 1px solid #f5f5f5; cursor: default; color: #999; } .mdpwd .confirm_primary { color: #fff; background: #ca0c16; border: 1px solid #ca0c16; cursor: pointer; } .navItem { display: flex; flex-wrap: wrap; padding-left: 0; margin-bottom: 0; list-style: none; font-weight: 600; } .main-nav-tabs { margin-top: 5px; border-bottom: 1px solid #e9e9e9; "); WriteLiteral(@" display: flex; -webkit-box-align: center; align-items: center; height: 30px; /*padding-bottom: 8px;*/ color: #2c3e50; } .navItem .nav-link { margin-right: 56px; font-size: 15px; color: #999; padding: 0; display: block; height: 30px; cursor: pointer; } .main-nav-tabs .navactive { color: #4d4d4d; border-bottom: 2px solid #ca0c16; background-color: transparent; border-radius: 0; } .main-nav-tabs .nav-link:hover { color: #ca0c16; } .article-list-item-mp, .article-list-item-mp .list-item-title { display: flex; -webkit-box-direction: normal; } .article-list-item-mp { -webkit-box-orient: vertical; flex-direction: column; border-bottom: 1px dotted #ddd; padding: 1.2rem 0 1rem 0; color: #999; font-size: 14px; } .list-item-"); WriteLiteral(@"title { -webkit-box-orient: horizontal; flex-direction: row; -webkit-box-pack: start; justify-content: flex-start; } .list-item-title .article-list-item-tag { font-size: 12px; padding: 0 8px; height: 24px; line-height: 24px; margin-right: 12px; white-space: nowrap; border: 1px solid #e9e9e9; flex-shrink: 0; } .list-item-title .article-list-item-txt { font-size: 18px; color: #4d4d4d; margin-bottom: 0; -webkit-box-flex: 1; flex-grow: 1; display: flex; } .list-item-title .article-list-item-txt a { text-decoration: none; color: #4d4d4d; } .article-list-item-info { margin-top: 10px; display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: n"); WriteLiteral(@"ormal; flex-direction: row; -webkit-box-align: center; align-items: center; -webkit-box-pack: justify; justify-content: space-between; } .article-list-item-info .item-info-left > span { margin-right: 1.5rem; } .article-list-item-info .article-list-item-readComment img { width: 14px; height: 12px; vertical-align: -2px; margin-right: 3px; } .article-list-item-info .item-info-oper a { text-decoration: none; color: #349edf; } .article-list-item-info .item-info-oper .del { color: #ca0c16; cursor: pointer; } .form_search { float: right; } .el-input__inner { padding-left: 6px; width: 180px; -webkit-appearance: none; background-color: #fff; background-image: none; border-radius: 4px; b"); WriteLiteral(@"order: 1px solid #dcdfe6; box-sizing: border-box; color: #606266; display: inline-block; height: 30px; line-height: 30px; outline: none; padding: 0 10px; transition: border-color .2s cubic-bezier(.645,.045,.355,1); } .el-input__inner:focus { border-color: #ca0c16; } .el-button { padding: 1px 10px; background-color: #ca0c16; border-color: #ca0c16; font-size: 15px; color: #fff; transition: background-color .3s ease-in,border-color .3s ease-in; line-height: 26px; outline: none; border: none; display: inline-block; white-space: nowrap; cursor: pointer; border: 1px solid #dcdfe6; text-align: center; box-sizing: border-box; outline: none; font-weight: 500; border-radius: 4px; } .el-button:hover { background-color"); WriteLiteral(@": #b50a13; border-color: #b50a13; } .ismanager:focus { color: #fff; } .comment-nav-tabs { display: -webkit-box; display: -ms-flexbox; display: flex; border-bottom: 1px solid #e9e9e9; -webkit-box-align: center; -ms-flex-align: center; align-items: center; height: 38px; line-height: 38px; } .comment-nav-item { margin-right: 36px; cursor: pointer; font-size: 15px; color: #999; padding: 0; border-bottom: 2px solid transparent; } .comment-nav-item:hover, .comment-nav-tabs .activecomment:hover { color: #ca0c16; } .comment-nav-tabs .activecomment { color: #4d4d4d; border-bottom-color: #ca0c16; background-color: transparent; border-radius: 0; } .comment-list-box { display: flex; height: 83px; color: #4f4f4"); WriteLiteral(@"f; padding: 7px 0 12px; font-size: 15px; line-height: 22px; border-bottom: 1px dashed #ddd; margin-top: 2px; } .comment-list-box .img-avatar-box { width: 32px; height: 32px; } .comment-list-box .img-avatar-box img { width: 32px; height: 32px; border-radius: 50%; } .comment-list-box .comment-item-content { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; margin-left: 10px; } .comment-list-box .comment-item-content .comment-item-title { display: -webkit-box; display: -ms-flexbox; display: flex; font-weight: 400; margin-top: 5px; margin-bottom: 12px; min-height: 22px; color: #999; } .comment-list-box"); WriteLiteral(@" .comment-item-content .comment-item-box .icon { height: 16px; fill: #d4d4d4; } .comment-list-box .comment-item-content .comment-item-title .item-title-left { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; display: -webkit-box; display: -ms-flexbox; display: flex; } .comment-list-box .comment-item-content .comment-item-title span { margin-right: 12px; } .comment-list-box .comment-item-content .comment-item-title .article-title { max-width: 530px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #349edf; text-decoration: none; cursor: pointer; } .comment-list-box .comment-item-content .comment-item-box { "); WriteLiteral(@" position: relative; } .comment-list-box .comment-item-content .comment-item-box .zuo-icon { position: absolute; left: 0; top: 3px; } .comment-list-box .comment-item-content .comment-item-box span { max-width: 930px; display: block; word-wrap: break-word; padding: 0 32px; } .comment-list-box .comment-item-content .comment-item-box .you-icon { position: absolute; right: 0; top: 3px; } .comment-list-box .comment-item-content .comment-item-box .comment-ue p { margin: 0px; padding-top: 1px; } .comment-list-box .comment-item-content .comment-item-box .nop p { padding-t"); WriteLiteral(@"op: 0px; } .comment-list-box .comment-item-content .comment-item-box .comment-ue p img { width: 25px; height: 20px; } </style> <hr style=""border: 7px solid #f1f1f1; margin:0px 0px"" /> <input id=""IDNumber"" type=""hidden"""); EndContext(); BeginWriteAttribute("value", " value=\"", 15774, "\"", 15808, 1); #line 642 "D:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\PersonCenter\IndexOne.cshtml" WriteAttributeValue("", 15782, User.FindFirstValue("ID"), 15782, 26, false); #line default #line hidden EndWriteAttribute(); BeginContext(15809, 210, true); WriteLiteral(" />\r\n\r\n<div class=\"row rownavparent\">\r\n <div id=\"colmd2\" class=\"col-md-2 rownavchild1\">\r\n <ul id=\"ul1\">\r\n <li class=\"hover\">个人资料</li>\r\n <li>我的文章</li>\r\n <li>我的评论</li>\r\n"); EndContext(); BeginContext(16050, 27, true); WriteLiteral(" <li>修改密码</li>\r\n"); EndContext(); #line 652 "D:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\PersonCenter\IndexOne.cshtml" if (User.Identity.IsAuthenticated && User.FindFirstValue("status") == "管理员") { #line default #line hidden BeginContext(16183, 60, true); WriteLiteral(" <li style=\"position:relative;\">拾取坐标系统</li>\r\n"); EndContext(); #line 655 "D:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\PersonCenter\IndexOne.cshtml" } #line default #line hidden BeginContext(16258, 12, true); WriteLiteral(" "); EndContext(); #line 656 "D:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\PersonCenter\IndexOne.cshtml" if (User.Identity.IsAuthenticated && User.FindFirstValue("status") == "普通用户") { #line default #line hidden BeginContext(16365, 34, true); WriteLiteral(" <li>申请成为管理员</li>\r\n"); EndContext(); #line 659 "D:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\PersonCenter\IndexOne.cshtml" } #line default #line hidden BeginContext(16414, 173, true); WriteLiteral(" </ul>\r\n </div>\r\n <div id=\"content\" class=\"col-md-10 rownavchild2\">\r\n <div class=\"tab\" style=\"display:block;\">\r\n <h3 class=\"title\">个人资料</h3>\r\n"); EndContext(); #line 665 "D:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\PersonCenter\IndexOne.cshtml" await Html.RenderPartialAsync("MyData"); #line default #line hidden BeginContext(16676, 43, true); WriteLiteral(" </div>\r\n <div class=\"tab\">\r\n"); EndContext(); #line 670 "D:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\PersonCenter\IndexOne.cshtml" await Html.RenderPartialAsync("MyEssays"); #line default #line hidden BeginContext(16810, 43, true); WriteLiteral(" </div>\r\n <div class=\"tab\">\r\n"); EndContext(); #line 676 "D:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\PersonCenter\IndexOne.cshtml" await Html.RenderPartialAsync("MyComment"); #line default #line hidden BeginContext(17004, 84, true); WriteLiteral(" </div>\r\n <div class=\"tab\">\r\n <h3 class=\"title\">修改密码</h3>\r\n"); EndContext(); #line 682 "D:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\PersonCenter\IndexOne.cshtml" await Html.RenderPartialAsync("MyModifyPassword"); #line default #line hidden BeginContext(17187, 12, true); WriteLiteral(" "); EndContext(); BeginContext(17277, 18, true); WriteLiteral("\r\n </div>\r\n"); EndContext(); #line 688 "D:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\PersonCenter\IndexOne.cshtml" if (User.Identity.IsAuthenticated && User.FindFirstValue("status") == "管理员") { #line default #line hidden BeginContext(17393, 31, true); WriteLiteral(" <div class=\"tab\">\r\n"); EndContext(); BeginContext(17475, 706, true); WriteLiteral(@" <iframe id=""pickupZuobiao"" name=""pickupZuobiao"" scrolling=""no"" style=""width:100%; min-height:500px;"" allowfullscreen=""true"" frameborder=""0"" src=""https://api.map.baidu.com/lbsapi/getpoint/index.html"" onload=""frameauto()""></iframe> <script> function frameauto() { window.onerror = function () { return true; } $(function () { headerH = 0; var h = $(window).height(); $(""#pickupZuobiao"").height((h - headerH) + ""px""); }); } </script> </div> "); EndContext(); #line 704 "D:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\PersonCenter\IndexOne.cshtml" } #line default #line hidden BeginContext(18192, 8, true); WriteLiteral(" "); EndContext(); #line 705 "D:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\PersonCenter\IndexOne.cshtml" if (User.Identity.IsAuthenticated && User.FindFirstValue("status") == "普通用户") { #line default #line hidden BeginContext(18291, 865, true); WriteLiteral(@" <div class=""tab""> <h3 class=""title"">申请成为管理员</h3> 请在下方发送邮件给BOSS并表述自身可以成为网站管理员的优势或条件…… <iframe id=""pickupZuobiao"" name=""pickupZuobiao"" scrolling=""no"" style=""width:100%; min-height:500px;"" allowfullscreen=""true"" frameborder=""0"" src=""https://mail.qq.com/cgi-bin/qm_share?t=qm_mailme&email=alhbWlJbWFldWl4qGxtECQUH"" onload=""frameauto()""></iframe> <script> function frameauto() { window.onerror = function () { return true; } $(function () { headerH = 0; var h = $(window).height(); $(""#pickupZuobiao"").height((h - headerH) + ""px""); }); } </script> </div> "); EndContext(); #line 722 "D:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\PersonCenter\IndexOne.cshtml" } #line default #line hidden BeginContext(19167, 1294, true); WriteLiteral(@" </div> </div> <i id=""hidemenu"" class=""glyphicon glyphicon-menu-left"" style=""position:absolute; color:#b20b13; background:#fff; border:1px solid #999; border-top:none; font-size:13px; top:7.5%; left:7.8%;""><i class=""glyphicon glyphicon-menu-left"" style=""position:absolute; color:#b20b13; background:#fff; border:1px solid #999; border-top:none; font-size:13px; top:1%; border-left: none; left:73.8%;""></i></i> <script> $(""#hidemenu"").click(function () { if ($('#hidemenu').hasClass('glyphicon-menu-left') && $('#hidemenu i').hasClass('glyphicon-menu-left')) { $(""#hidemenu"").attr(""class"", ""glyphicon glyphicon-menu-right""); $(""#hidemenu i"").attr(""class"", ""glyphicon glyphicon-menu-right""); $(""#colmd2"").hide(); $(""#content"").attr(""class"", ""col-md-12 rownavchild2""); $("".rownavchild2"").css('box-shadow', 'none'); } else { $(""#hidemenu"").attr(""class"", ""glyphicon glyphicon-menu-left""); $(""#hidemenu i"").att"); WriteLiteral(@"r(""class"", ""glyphicon glyphicon-menu-left""); $(""#colmd2"").show(); $(""#content"").attr(""class"", ""col-md-10 rownavchild2""); $("".rownavchild2"").css('box-shadow', '1px -1px 1px rgba(123,0,0,0.1) inset'); } }); </script> "); EndContext(); BeginContext(20461, 44, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "36dcc6bfa5a1439aa0d5b5e2b7307f56", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(20505, 108, true); WriteLiteral("\r\n\r\n<iframe name=\"iframe_a\"></iframe>\r\n<p><a href=\"/PersonCenter/\" target=\"iframe_a\">W3School.com.cn</a></p>"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 3 "D:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateMarine.cshtml" if (User.Identity.IsAuthenticated && User.FindFirstValue("status") == "管理员") { Layout = "_BackLayout"; } #line default #line hidden #line 6 "D:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateMarine.cshtml" ViewData["Title"] = "添加海洋灾害时刻数据"; #line default #line hidden BeginContext(207, 62, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c648e209c5ae42bdb1c9026baf659659", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(269, 512, true); WriteLiteral(@" <style> .content_nav { font-size: 16px; font-weight: 500; margin-top: 15px; margin-bottom: 0px; display: flex; justify-content: space-between; } label { width: 100px; text-align: center; } .form-control { display: inline-block; width: auto; } </style> <div class=""content_nav""> <div> <a href=""javascript:void(0)"" style=""text-decoration:none;"" onclick=""getLongDimen1();"">"); EndContext(); BeginContext(782, 17, false); #line 32 "D:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateMarine.cshtml" Write(ViewData["Title"]); #line default #line hidden EndContext(); BeginContext(799, 278, true); WriteLiteral(@"</a>  <input type=""submit"" value=""提交"" class=""btn btn-default"" form=""form1"" /> </div> <div> <a href=""javascript:void(0)"" style=""text-decoration:none;display: inline-block;padding-top: 6px;"" onclick=""getLongDimen2();"">获取经纬度</a>  </div> "); EndContext(); #line 38 "D:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateMarine.cshtml" if (User.Identity.IsAuthenticated && User.FindFirstValue("status") == "管理员") { #line default #line hidden BeginContext(1167, 8, true); WriteLiteral(" "); EndContext(); BeginContext(1175, 92, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "47e6870371934549a9485260fa04f341", async() => { BeginContext(1253, 10, true); WriteLiteral("返回灾害数据管理列表"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1267, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1277, 88, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3d0ed1e9573b49f5a12df06cb4d0d640", async() => { BeginContext(1355, 6, true); WriteLiteral("返回个人中心"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1365, 2, true); WriteLiteral("\r\n"); EndContext(); #line 42 "D:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateMarine.cshtml" } else { #line default #line hidden BeginContext(1391, 8, true); WriteLiteral(" "); EndContext(); BeginContext(1399, 88, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "091142b1e17b4fc5bd504083ffa11762", async() => { BeginContext(1477, 6, true); WriteLiteral("返回个人中心"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1487, 2, true); WriteLiteral("\r\n"); EndContext(); #line 46 "D:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateMarine.cshtml" } #line default #line hidden BeginContext(1496, 115, true); WriteLiteral("</div>\r\n\r\n<hr style=\"margin-top:15px;\" />\r\n<div style=\"margin:0 auto; text-align:center;\" class=\"marineform\">\r\n "); EndContext(); BeginContext(1611, 3094, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9ffcc4eea0e442d69c6fc9891e748bb1", async() => { BeginContext(1697, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1707, 66, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "154cb6d12f45456aa6ac6379a36bbc69", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationSummaryTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper); #line 52 "D:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateMarine.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper.ValidationSummary = global::Microsoft.AspNetCore.Mvc.Rendering.ValidationSummary.ModelOnly; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-validation-summary", __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper.ValidationSummary, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1773, 44, true); WriteLiteral("\r\n <input name=\"userID\" type=\"hidden\""); EndContext(); BeginWriteAttribute("value", " value=\"", 1817, "\"", 1851, 1); #line 53 "D:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateMarine.cshtml" WriteAttributeValue("", 1825, User.FindFirstValue("ID"), 1825, 26, false); #line default #line hidden EndWriteAttribute(); BeginContext(1852, 2846, true); WriteLiteral(@" class=""form-control"" /> <table id=""addTable""> <tbody style=""""> <tr> <td> <div class=""form-group""> <label>时  间</label> <input name=""marinetime"" class=""form-control"" /> </div> </td> <td> <div class=""form-group""> <label>经  度(°)</label> <input name=""marinelogitude"" class=""form-control"" /> </div> </td> <td> <div class=""form-group""> <label>纬  度(°)</label> <input name=""marinedimension"" class=""form-control"" /> </div> </td> <td> <div class=""form-group""> "); WriteLiteral(@" <label>灾害类型</label> <input name=""marinestyle"" class=""form-control"" /> </div> </td> </tr> <tr> <td> <div class=""form-group""> <label>伤亡人数(人)</label> <input name=""marinecasualty"" class=""form-control"" /> </div> </td> <td> <div class=""form-group""> <label>经济损失(万元)</label> <input name=""marineloss"" class=""form-control"" /> </div> </td> <td> <div class=""form-group""> <label>参考位置</label> <input name=""marineplace"" class=""form-control"" /> </div> </td> "); WriteLiteral(@" <td></td> </tr> <tr> <td colspan=""2""> <span style=""font-weight:600;"">详情</span> <input name=""marinedetails"" class=""form-control"" id=""content"" type=""hidden"" /> <div style=""width:500px; margin:0 auto; text-align:center;""> <textarea class=""A4page"" id=""myEditor"" name=""NewsContent""></textarea> </div> </td> <td></td> <td></td> </tr> <tr> <td colspan=""4""><hr /></td> </tr> </tbody> <tbody class=""footTbody""></tbody> </table> "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Controller = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Action = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(4705, 903, true); WriteLiteral(@" </div> <div style=""display:none;"" class=""longdimen""> <p style=""color:red;"">获取坐标并复制,皆是经度在前,维度在后</p> <iframe id=""pickupZuobiao"" name=""pickupZuobiao"" scrolling=""no"" style=""width:100%; min-height:500px;"" allowfullscreen=""true"" frameborder=""0"" src=""https://api.map.baidu.com/lbsapi/getpoint/index.html"" onload=""frameauto()""></iframe> <script> function frameauto() { window.onerror = function () { return true; } $(function () { headerH = 0; var h = $(window).height(); $(""#pickupZuobiao"").height((h - headerH) + ""px""); }); } </script> </div> <script> function getLongDimen1() { $("".marineform"").show(); $("".longdimen"").hide(); } function getLongDimen2() { $("".marineform"").hide(); $("".longdimen"").show(); } </script> "); EndContext(); BeginContext(5616, 760, true); WriteLiteral(@"<script type=""text/javascript""> $(function () { UE.delEditor('myEditor'); var ue = UE.getEditor('myEditor', { toolbars: [ ], allowDivTransToP: false,//阻止div标签自动转换为p标签 autoHeightEnabled: true, autoFloatEnabled: true, maximumWords: 10000, wordCount: false }); //对编辑器的操作最好在编辑器ready之后再做 ue.ready(function () { $("".edui-editor-messageholder.edui-default"").css({ ""visibility"": ""hidden"" }); }) }); function cc() { document.getElementById('content').value = UE.getEditor('myEditor').getContent(); } setInterval(function () { cc(); }, 100); </script> "); EndContext(); DefineSection("Scripts", async() => { BeginContext(6394, 2, true); WriteLiteral("\r\n"); EndContext(); #line 178 "D:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateMarine.cshtml" await Html.RenderPartialAsync("_ValidationScriptsPartial"); #line default #line hidden } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 3 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateCrop.cshtml" if (User.Identity.IsAuthenticated && User.FindFirstValue("status") == "管理员") { Layout = "_BackLayout"; } #line default #line hidden #line 6 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateCrop.cshtml" ViewData["Title"] = "添加农作物生物灾害时刻数据"; #line default #line hidden BeginContext(210, 62, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "eb8921a9eecf47b4b1158c7e53e0bbb3", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(272, 512, true); WriteLiteral(@" <style> .content_nav { font-size: 16px; font-weight: 500; margin-top: 15px; margin-bottom: 0px; display: flex; justify-content: space-between; } label { width: 100px; text-align: center; } .form-control { display: inline-block; width: auto; } </style> <div class=""content_nav""> <div> <a href=""javascript:void(0)"" style=""text-decoration:none;"" onclick=""getLongDimen1();"">"); EndContext(); BeginContext(785, 17, false); #line 32 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateCrop.cshtml" Write(ViewData["Title"]); #line default #line hidden EndContext(); BeginContext(802, 278, true); WriteLiteral(@"</a>  <input type=""submit"" value=""提交"" class=""btn btn-default"" form=""form1"" /> </div> <div> <a href=""javascript:void(0)"" style=""text-decoration:none;display: inline-block;padding-top: 6px;"" onclick=""getLongDimen2();"">获取经纬度</a>  </div> "); EndContext(); #line 38 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateCrop.cshtml" if (User.Identity.IsAuthenticated && User.FindFirstValue("status") == "管理员") { #line default #line hidden BeginContext(1170, 8, true); WriteLiteral(" "); EndContext(); BeginContext(1178, 92, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "30f9ac47c61e4b3cbf066cd153f9ec56", async() => { BeginContext(1256, 10, true); WriteLiteral("返回灾害数据管理列表"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1270, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1280, 88, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ee4bffca5d784973936fb4b3148a8b92", async() => { BeginContext(1358, 6, true); WriteLiteral("返回个人中心"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1368, 2, true); WriteLiteral("\r\n"); EndContext(); #line 42 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateCrop.cshtml" } else { #line default #line hidden BeginContext(1394, 8, true); WriteLiteral(" "); EndContext(); BeginContext(1402, 88, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "bfd876e0df51476f9eb421a849317cfb", async() => { BeginContext(1480, 6, true); WriteLiteral("返回个人中心"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1490, 2, true); WriteLiteral("\r\n"); EndContext(); #line 46 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateCrop.cshtml" } #line default #line hidden BeginContext(1499, 113, true); WriteLiteral("</div>\r\n\r\n<hr style=\"margin-top:15px;\" />\r\n<div style=\"margin:0 auto; text-align:center;\" class=\"cropform\">\r\n "); EndContext(); BeginContext(1612, 3140, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "661bf7b3593c45e581acf6b463901a10", async() => { BeginContext(1696, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1706, 66, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0c960bd38f054064a240145c194b96b7", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationSummaryTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper); #line 52 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateCrop.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper.ValidationSummary = global::Microsoft.AspNetCore.Mvc.Rendering.ValidationSummary.ModelOnly; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-validation-summary", __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper.ValidationSummary, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1772, 44, true); WriteLiteral("\r\n <input name=\"userID\" type=\"hidden\""); EndContext(); BeginWriteAttribute("value", " value=\"", 1816, "\"", 1850, 1); #line 53 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateCrop.cshtml" WriteAttributeValue("", 1824, User.FindFirstValue("ID"), 1824, 26, false); #line default #line hidden EndWriteAttribute(); BeginContext(1851, 2894, true); WriteLiteral(@" class=""form-control userID"" /> <table id=""addTable""> <tbody style=""""> <tr> <td> <div class=""form-group""> <label>时  间</label> <input name=""croptime"" class=""form-control croptime"" /> </div> </td> <td> <div class=""form-group""> <label>经  度(°)</label> <input name=""croplongitude"" class=""form-control croplongitude"" /> </div> </td> <td> <div class=""form-group""> <label>纬  度(°)</label> <input name=""cropdimension"" class=""form-control cropdimension"" /> </div> </td> <td> "); WriteLiteral(@" <div class=""form-group""> <label>参考位置</label> <input name=""cropplace"" class=""form-control cropplace"" /> </div> </td> <td> <div class=""form-group""> <label>灾害类型</label> <input name=""cropstyle"" class=""form-control cropstyle"" /> </div> </td> </tr> <tr> <td> <div class=""form-group""> <label>经济损失(万元)</label> <input name=""croploss"" class=""form-control croploss"" /> </div> </td> <td> <div class=""form-group""> <label>灾害范围(公顷)</label> <input name=""croparea"" class=""form-control croparea"""); WriteLiteral(@" /> </div> </td> <td colspan=""2""> <span style=""font-weight:600;"">详情</span> <input name=""cropdetails"" class=""form-control cropdetails"" id=""content"" type=""hidden"" /> <div style=""width:500px; margin:0 auto;text-align:center;""> <textarea class=""A4page"" id=""myEditor"" name=""NewsContent""></textarea> </div> </td> <td><input type=""button"" value=""-"" onclick=""deleteRow(this)"" class=""form-control"" /></td> </tr> <tr> <td colspan=""5""><hr /></td> </tr> </tbody> <tbody class=""footTbody""></tbody> </table> "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Controller = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Action = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(4752, 171, true); WriteLiteral("\r\n <input type=\"button\" value=\"+\" onclick=\"setValue()\" class=\"form-control\"><p style=\"font-size:1px; color:#ccc;\">批量插入数据失败,请问操作</p>\r\n <table style=\"display:none;\">\r\n"); EndContext(); BeginContext(4939, 2088, true); WriteLiteral(@" <tbody class=""templeteTBody"" style=""""> <tr> <td> <div class=""form-group""> <label>时  间</label> <input name=""croptime"" class=""form-control croptime"" /> </div> </td> <td> <div class=""form-group""> <label>经  度</label> <input name=""croplongitude"" class=""form-control croplongitude"" /> </div> </td> <td> <div class=""form-group""> <label>纬  度</label> <input name=""cropdimension"" class=""form-control cropdimension"" /> </div> </td> <td> <div class=""form-group""> <label>参考位置</label> <input name=""cropplace"" class=""for"); WriteLiteral(@"m-control cropplace"" /> </div> </td> <td> <div class=""form-group""> <label>灾害类型</label> <input name=""cropstyle"" class=""form-control cropstyle"" /> </div> </td> </tr> <tr> <td> <div class=""form-group""> <label>经济损失(万元)</label> <input name=""croploss"" class=""form-control croploss"" /> </div> </td> <td> <div class=""form-group""> <label>灾害范围(公顷)</label> <input name=""croparea"" class=""form-control croparea"" /> </div> </td> <td colspan=""2""> <p style=""font-weight:600; margin:0"">详情</p> <textarea name=""cropdetails"" class=""form-cont"); WriteLiteral("rol cropdetails\" cols=\"65\"></textarea>\r\n"); EndContext(); BeginContext(7322, 1160, true); WriteLiteral(@" </td> <td><input type=""button"" value=""-"" onclick=""deleteRow(this)"" class=""form-control"" /></td> </tr> <tr> <td colspan=""5""><hr /></td> </tr> </tbody> </table> </div> <div style=""display:none;"" class=""longdimen""> <p style=""color:red;"">获取坐标并复制,皆是经度在前,维度在后</p> <iframe id=""pickupZuobiao"" name=""pickupZuobiao"" scrolling=""no"" style=""width:100%; min-height:500px;"" allowfullscreen=""true"" frameborder=""0"" src=""https://api.map.baidu.com/lbsapi/getpoint/index.html"" onload=""frameauto()""></iframe> <script> function frameauto() { window.onerror = function () { return true; } $(function () { headerH = 0; var h = $(window).height(); $(""#pickupZuobiao"").height((h - headerH) + ""px""); }); } </script> </div> <script> function getLongDimen1() { $("".cropform"").show(); $("".longdim"); WriteLiteral("en\").hide();\r\n }\r\n function getLongDimen2() {\r\n $(\".cropform\").hide();\r\n $(\".longdimen\").show();\r\n }\r\n</script>\r\n"); EndContext(); BeginContext(8492, 708, true); WriteLiteral(@"<script type=""text/javascript""> /* *增加模板行 */ function addRow() { var table = document.getElementById(""addTable""); var tbody = $("".templeteTBody""); var newTBody = tbody[0].cloneNode(true); newTBody.style.display = """"; var footTBody = $("".footTbody"")[0]; return table.insertBefore(newTBody, footTBody); } /* *删除模板行 */ function deleteRow(obj) { var tbody = obj.parentNode.parentNode.parentNode; var table = document.getElementById(""addTable""); table.removeChild(tbody); } /** *向模板中填充值 */ function setValue() { var tbody = addRow(); } </script> "); EndContext(); BeginContext(9208, 760, true); WriteLiteral(@"<script type=""text/javascript""> $(function () { UE.delEditor('myEditor'); var ue = UE.getEditor('myEditor', { toolbars: [ ], allowDivTransToP: false,//阻止div标签自动转换为p标签 autoHeightEnabled: true, autoFloatEnabled: true, maximumWords: 10000, wordCount: false }); //对编辑器的操作最好在编辑器ready之后再做 ue.ready(function () { $("".edui-editor-messageholder.edui-default"").css({ ""visibility"": ""hidden"" }); }) }); function cc() { document.getElementById('content').value = UE.getEditor('myEditor').getContent(); } setInterval(function () { cc(); }, 100); </script> "); EndContext(); BeginContext(11986, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("Scripts", async() => { BeginContext(12006, 2, true); WriteLiteral("\r\n"); EndContext(); #line 308 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateCrop.cshtml" await Html.RenderPartialAsync("_ValidationScriptsPartial"); #line default #line hidden } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 2 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\HomeBack\Index.cshtml" Layout = "_BackLayout"; ViewData["Title"] = "首页"; #line default #line hidden BeginContext(98, 965, true); WriteLiteral(@"<style> h4 { font-weight: 500; color: #333; font-size: 18px; margin-top: 20px; } h4 span { color: #f80606; } .pNav { text-align: center; font-size: 30px; color: #CF0066; font-weight: 500; } .pTitle { font-size: 20px; color: #060; padding-left: 15px; } div.pSize ul.menu li.level1 ul.level2 { display: none; } .menu, .level2 { list-style: none; font-size: 16px; } .menu { padding-left: 15px; } .menu a { color: #333; text-decoration: none; display: inline-block; text-indent: 2em; } .menu a:hover { color: #337ab7; } .level2 p { text-indent: 2em; margin: 8px 0; } </style> <input"); EndContext(); BeginWriteAttribute("value", " value=\"", 1063, "\"", 1097, 1); #line 60 "F:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\HomeBack\Index.cshtml" WriteAttributeValue("", 1071, User.FindFirstValue("ID"), 1071, 26, false); #line default #line hidden EndWriteAttribute(); BeginContext(1098, 31, true); WriteLiteral(" id=\"userid\" type=\"hidden\" />\r\n"); EndContext(); BeginContext(1156, 3697, true); WriteLiteral(@"<div id=""content""> <marquee><h4>欢迎 <span>━(*`∀´*)ノ亻!</span> 来到八桂自然灾害管理信息系统后台哟……</h4></marquee> <table style=""width:100%;""> <tr> <td> <p class=""pNav"">快捷导航</p> <div> <p class=""pTitle"">主要功能:</p> <div class=""pSize""> <ul class=""menu""> <li class=""level1""> <a href=""#none"">1.灾害数据管理.</a> <ul class=""level2"" style=""display:block;""> <li style=""color:#808080;""> <p>时刻数据管理模块拥有八桂灾害的 年月日-时分秒 的数据</p> <p>年度数据管理模块拥有八桂灾害的 年 的数据</p> <p>在这里可以对时刻和年度数据进行添加、删除、修改操作</p> </li> </ul> </li> <li class=""level1""> "); WriteLiteral(@" <a href=""#none"">2.用户管理.</a> <ul class=""level2""> <li style=""color:#808080;""> <p>在这里可以对用户进行添加、编辑、查看、删除、搜索、排序等操作</p> <p>这里有分页功能、跳转功能、以及可以查看用户发表的文章和留言</p> </li> </ul> </li> <li class=""level1""> <a href=""#none"">3.文章管理.</a> <ul class=""level2""> <li style=""color:#808080;""> <p>在这里可以对文章进行添加、编辑、查看、删除、搜索等操作</p> <p>发表文章时可以包含图片、超链接、视频、不同格式的文件(如word文档、excel表格、txt等)以及音乐,当然若还想包含其他相关的知识等你自行探索哟</p> </li> </ul> </li> <li clas"); WriteLiteral(@"s=""level1""> <a href=""#none"">4.论坛管理.</a> <ul class=""level2""> <li style=""color:#808080;""> <p>在这里可以对留言进行删除、批量删除、搜索等操作</p> </li> </ul> </li> <li class=""level1""> <a href=""#none"">5.网站设置.</a> <ul class=""level2""> <li style=""color:#808080;""> <p>网站对用户进行了三种分类:游客、普通用户、管理员</p> <p>游客仅能浏览一下网站,不能对网站进行任何操作</p> <p>普通用户除了能浏览网站,还可下载灾害数据和发表灾害知识,及删除自身发表的文章和留言等操作</p> <p>管理员可以对网站现有的所有功能进行操作</p> </li> </ul> "); WriteLiteral(@"</li> </ul> </div> </div> <hr /> <div class=""dCent""> <p class=""pTitle"">使用帮助:</p> <div class=""pSize""> <ul class=""menu""> <li class=""level1""> <a href=""#none"">※ 如何添加用户?</a> <ul class=""level2"" style=""display:block;""> <li style=""color:#808080;""> <p>点击导航栏的用户管理,来到用户管理界面:再点击新增用户,进入新增用户界面,就可以新增用户啦"); EndContext(); BeginContext(4853, 143, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f844f3e3042d41d3bf366fb9ec79c0de", async() => { BeginContext(4899, 89, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "517072237f22482fa355ac5cba8a6d3f", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(4988, 4, true); WriteLiteral("快捷添加"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(4996, 59, true); WriteLiteral("</p>   \r\n "); EndContext(); BeginContext(5055, 34, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "dcf9b54dc41e4455a288046677c8c16b", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(5089, 523, true); WriteLiteral(@" </li> </ul> </li> <li class=""level1""> <a href=""#none"">※ 如何发布文章?</a> <ul class=""level2""> <li style=""color:#808080;""> <p>方式一:此方式可以用网站现有的任一账号进行新添文章<br />点击导航栏的文章管理,来到文章管理界面:再点击新添文章,进入新添文章界面,就可以提交文章啦。如果要发布文章,需要管理员到文章编辑功能处进行审核,审核通过才是正式发布文章,在前端灾害知识模块中才能看到哦"); EndContext(); BeginContext(5612, 151, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c238e7447e3246218b8571ab8991bc3b", async() => { BeginContext(5666, 89, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "ff3847794c43455a8845dbfef1f15ab9", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(5755, 4, true); WriteLiteral("快捷发布"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(5763, 38, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "de62bb8f39dc4bf98e746a81dc01f35a", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(5801, 111, true); WriteLiteral("</p>\r\n <p>方式二:此方式仅限于当前登录账号进行新添文章<br />点击导航栏中的头像,快速来到个人中心,再点击写文章,就可以提交文章啦"); EndContext(); BeginContext(5912, 151, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "07b8ad936f2c4f8cb00b408a13d9c822", async() => { BeginContext(5965, 89, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "07fa2c2fbef7440297148b9cd93dbe0d", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(6054, 5, true); WriteLiteral("快捷写文章"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(6063, 603, true); WriteLiteral(@"</p> </li> </ul> </li> <li class=""level1""> <a href=""#none"">※ 上传文件?</a> <ul class=""level2""> <li style=""color:#808080;""><p>上传文件仅限在新添和修改文章内容时可以添加文件附件</p></li> </ul> </li> </ul> </div> </div> </td> </tr> </table> </div> "); EndContext(); BeginContext(6666, 71, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "44fda85a277744f1b489772c36939ff3", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_9); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(6737, 1216, true); WriteLiteral(@" <script type=""text/javascript""> //等待dom元素加载完毕. $(document).ready(function () { $("".level1 > a"").click(function () { $(this).addClass(""current""); //给当前元素添加""current""样式 $(this).next().show(); //下一个元素显示 //父元素的兄弟元素的子元素<a>移除""current""样式 $(this).next().parent().siblings().children(""a"").removeClass(""current""); $(this).next().parent().siblings().children(""a"").next().hide(); //它们的下一个元素隐藏 return false; }); var oid = $(""#userid"").val(); //获取账号输入框的value值 //前台个人中心修改头像:后台管理员头像也跟着变 $.ajax({ //ajax技术传值 type: ""post"", url: ""/HomeBack/GetUserImg"", //调用Account控制器中VerifyUsername方法 data: { ""id"": oid, //传值 }, success: function (e) { //成功后的操作 let oldimgsrc = $(""#navimgsrc"")[0].src; var oldsrc = oldimgsrc.split(""/""); if (oldsrc[oldsrc.length - 1] != e.im"); WriteLiteral("gsrc[0]) {\r\n var oSrc = \"/upfiles/\" + e.imgsrc[0];\r\n $(\"#navimgsrc\").attr(\"src\", oSrc);\r\n }\r\n }\r\n });\r\n });\r\n</script>"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 3 "D:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateFire.cshtml" if (User.Identity.IsAuthenticated && User.FindFirstValue("status") == "管理员") { Layout = "_BackLayout"; } #line default #line hidden #line 6 "D:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateFire.cshtml" ViewData["Title"] = "添加森林火灾时刻数据"; #line default #line hidden BeginContext(207, 62, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "db0443396e8b450494e8c6e26f1309aa", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(269, 512, true); WriteLiteral(@" <style> .content_nav { font-size: 16px; font-weight: 500; margin-top: 15px; margin-bottom: 0px; display: flex; justify-content: space-between; } label { width: 100px; text-align: center; } .form-control { display: inline-block; width: auto; } </style> <div class=""content_nav""> <div> <a href=""javascript:void(0)"" style=""text-decoration:none;"" onclick=""getLongDimen1();"">"); EndContext(); BeginContext(782, 17, false); #line 32 "D:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateFire.cshtml" Write(ViewData["Title"]); #line default #line hidden EndContext(); BeginContext(799, 278, true); WriteLiteral(@"</a>  <input type=""submit"" value=""提交"" class=""btn btn-default"" form=""form1"" /> </div> <div> <a href=""javascript:void(0)"" style=""text-decoration:none;display: inline-block;padding-top: 6px;"" onclick=""getLongDimen2();"">获取经纬度</a>  </div> "); EndContext(); #line 38 "D:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateFire.cshtml" if (User.Identity.IsAuthenticated && User.FindFirstValue("status") == "管理员") { #line default #line hidden BeginContext(1167, 8, true); WriteLiteral(" "); EndContext(); BeginContext(1175, 92, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b782e80dece543f7b5feadb675aec9f4", async() => { BeginContext(1253, 10, true); WriteLiteral("返回灾害数据管理列表"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1267, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1277, 88, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "51e3c9c3b60d49e0b8e6d1483a282b3f", async() => { BeginContext(1355, 6, true); WriteLiteral("返回个人中心"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1365, 2, true); WriteLiteral("\r\n"); EndContext(); #line 42 "D:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateFire.cshtml" } else { #line default #line hidden BeginContext(1391, 8, true); WriteLiteral(" "); EndContext(); BeginContext(1399, 88, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b1d4870359b6413a99415b5f7acdd0e4", async() => { BeginContext(1477, 6, true); WriteLiteral("返回个人中心"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1487, 2, true); WriteLiteral("\r\n"); EndContext(); #line 46 "D:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateFire.cshtml" } #line default #line hidden BeginContext(1496, 113, true); WriteLiteral("</div>\r\n\r\n<hr style=\"margin-top:15px;\" />\r\n<div style=\"margin:0 auto; text-align:center;\" class=\"fireform\">\r\n "); EndContext(); BeginContext(1609, 3310, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7a2833622d784383931d9baf5d96f2ab", async() => { BeginContext(1693, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1703, 66, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ceff7e940180448db7eef588818ce6de", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationSummaryTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper); #line 52 "D:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateFire.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper.ValidationSummary = global::Microsoft.AspNetCore.Mvc.Rendering.ValidationSummary.ModelOnly; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-validation-summary", __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper.ValidationSummary, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1769, 44, true); WriteLiteral("\r\n <input name=\"userID\" type=\"hidden\""); EndContext(); BeginWriteAttribute("value", " value=\"", 1813, "\"", 1847, 1); #line 53 "D:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateFire.cshtml" WriteAttributeValue("", 1821, User.FindFirstValue("ID"), 1821, 26, false); #line default #line hidden EndWriteAttribute(); BeginContext(1848, 3064, true); WriteLiteral(@" class=""form-control"" /> <table id=""addTable""> <tbody style=""""> <tr> <td> <div class=""form-group""> <label>时  间</label> <input name=""firetime"" class=""form-control"" /> </div> </td> <td> <div class=""form-group""> <label>经  度(°)</label> <input name=""firelogitude"" class=""form-control"" /> </div> </td> <td> <div class=""form-group""> <label>纬  度(°)</label> <input name=""firedimension"" class=""form-control"" /> </div> </td> <td> <div class=""form-group""> "); WriteLiteral(@" <label>灾害级别</label> <input name=""fireslevel"" class=""form-control"" /> </div> </td> </tr> <tr> <td> <div class=""form-group""> <label>参考位置</label> <input name=""fireplace"" class=""form-control"" /> </div> </td> <td> <div class=""form-group""> <label>伤亡人数(人)</label> <input name=""firecasualty"" class=""form-control"" /> </div> </td> <td> <div class=""form-group""> <label>经济损失(万元)</label> <input name=""fireloss"" class=""form-control"" /> </div> </td> "); WriteLiteral(@" <td> <div class=""form-group""> <label>灾害范围(公顷)</label> <input name=""firearea"" class=""form-control"" /> </div> </td> </tr> <tr> <td colspan=""2""> <span style=""font-weight:600;"">详情</span> <input name=""firedetails"" class=""form-control"" id=""content"" type=""hidden"" /> <div style=""width:500px; margin:0 auto; text-align:center;""> <textarea class=""A4page"" id=""myEditor"" name=""NewsContent""></textarea> </div> </td> <td></td> <td></td> </tr> <tr> <td colspan=""4""><hr /></td> </tr> </tbody> <tbody class=""footTbody""></tbody> </table> "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Controller = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Action = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(4919, 899, true); WriteLiteral(@" </div> <div style=""display:none;"" class=""longdimen""> <p style=""color:red;"">获取坐标并复制,皆是经度在前,维度在后</p> <iframe id=""pickupZuobiao"" name=""pickupZuobiao"" scrolling=""no"" style=""width:100%; min-height:500px;"" allowfullscreen=""true"" frameborder=""0"" src=""https://api.map.baidu.com/lbsapi/getpoint/index.html"" onload=""frameauto()""></iframe> <script> function frameauto() { window.onerror = function () { return true; } $(function () { headerH = 0; var h = $(window).height(); $(""#pickupZuobiao"").height((h - headerH) + ""px""); }); } </script> </div> <script> function getLongDimen1() { $("".fireform"").show(); $("".longdimen"").hide(); } function getLongDimen2() { $("".fireform"").hide(); $("".longdimen"").show(); } </script> "); EndContext(); BeginContext(5826, 760, true); WriteLiteral(@"<script type=""text/javascript""> $(function () { UE.delEditor('myEditor'); var ue = UE.getEditor('myEditor', { toolbars: [ ], allowDivTransToP: false,//阻止div标签自动转换为p标签 autoHeightEnabled: true, autoFloatEnabled: true, maximumWords: 10000, wordCount: false }); //对编辑器的操作最好在编辑器ready之后再做 ue.ready(function () { $("".edui-editor-messageholder.edui-default"").css({ ""visibility"": ""hidden"" }); }) }); function cc() { document.getElementById('content').value = UE.getEditor('myEditor').getContent(); } setInterval(function () { cc(); }, 100); </script> "); EndContext(); DefineSection("Scripts", async() => { BeginContext(6604, 2, true); WriteLiteral("\r\n"); EndContext(); #line 183 "D:\bishe\NaturalDisasterDatabaseWebsite\NaturalDisasterDatabaseWebsite\Views\DisasterData\CreateFire.cshtml" await Html.RenderPartialAsync("_ValidationScriptsPartial"); #line default #line hidden } ); }