/// <summary> /// 获取有笔记的分类编号 /// </summary> /// <returns></returns> public List <ShowNoteClassifyInfo> GetClassifyIdList() { var classifyGroupList = Context.NoteData.Where(p => p.IsBlog == 0).GroupBy(p => p.ClassifyId); var showNoteClassifyInfos = new List <ShowNoteClassifyInfo>(); foreach (var classifyGroupItem in classifyGroupList) { var classifyId = classifyGroupItem.Key; showNoteClassifyInfos.Add(new ShowNoteClassifyInfo { ClassifyId = classifyId, NoteCount = classifyGroupItem.Count(), ClassifyName = CommonUnit.GetClassifyName(classifyId) }); } return(showNoteClassifyInfos.OrderByDescending(p => p.NoteCount).ToList()); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(36, 407, true); WriteLiteral(@"<!--================Home Banner Area =================--> <section class=""banner_area""> <div class=""container""> <div class=""row banner_inner""> <div class=""col-lg-5""></div> <div class=""col-lg-7""> <div class=""banner_content text-center""> <h2>BLOG CONTENT</h2> <div class=""page_link""> "); EndContext(); BeginContext(443, 58, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1e304d350f90bc196225ad789e0cf75bee67acd54519", async() => { BeginContext(493, 4, true); WriteLiteral("Blog"); 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_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(501, 586, true); WriteLiteral(@" <a>Blog Content</a> </div> </div> </div> </div> </div> </section> <!--================End Home Banner Area =================--> <!--================Blog Area =================--> <section class=""blog_area p_120 single-post-area""> <div class=""container""> <div class=""row""> <div class=""col-lg-8""> <div class=""main_blog_details""> <img class=""img-fluid"" src=""img/blog/news-blog.jpg"" alt=""""> <a href=""#""><h4>"); EndContext(); BeginContext(1088, 22, false); #line 30 "D:\My\Code\application\asp.net core mvc python evernote\evernote_blog\evernote_blog\Views\NoteDetail\Index.cshtml" Write(ViewBag.NoteInfo.Title); #line default #line hidden EndContext(); BeginContext(1110, 155, true); WriteLiteral("</h4></a>\r\n <div class=\"user_details\">\r\n <div class=\"float-left\">\r\n <a class=\"cat_btn\""); EndContext(); BeginWriteAttribute("onclick", " onclick=\"", 1265, "\"", 1327, 3); WriteAttributeValue("", 1275, "SearchNoteByClassifyId(", 1275, 23, true); #line 33 "D:\My\Code\application\asp.net core mvc python evernote\evernote_blog\evernote_blog\Views\NoteDetail\Index.cshtml" WriteAttributeValue("", 1298, ViewBag.NoteInfo.ClassifyId, 1298, 28, false); #line default #line hidden WriteAttributeValue("", 1326, ")", 1326, 1, true); EndWriteAttribute(); BeginContext(1328, 1, true); WriteLiteral(">"); EndContext(); BeginContext(1330, 55, false); #line 33 "D:\My\Code\application\asp.net core mvc python evernote\evernote_blog\evernote_blog\Views\NoteDetail\Index.cshtml" Write(CommonUnit.GetClassifyName(ViewBag.NoteInfo.ClassifyId)); #line default #line hidden EndContext(); BeginContext(1385, 38, true); WriteLiteral("</a>\r\n </div>\r\n"); EndContext(); BeginContext(2028, 48, true); WriteLiteral(" </div>\r\n "); EndContext(); BeginContext(2077, 95, false); #line 47 "D:\My\Code\application\asp.net core mvc python evernote\evernote_blog\evernote_blog\Views\NoteDetail\Index.cshtml" Write(Html.Raw(System.Net.WebUtility.UrlDecode(@CommonUnit.GetNoteContent(ViewBag.NoteInfo.Content)))); #line default #line hidden EndContext(); BeginContext(2172, 4, true); WriteLiteral("\r\n\r\n"); EndContext(); BeginContext(2995, 58, true); WriteLiteral(" </div>\r\n </div>\r\n\r\n "); EndContext(); BeginContext(3054, 101, false); #line 63 "D:\My\Code\application\asp.net core mvc python evernote\evernote_blog\evernote_blog\Views\NoteDetail\Index.cshtml" Write(await Html.PartialAsync("_BlogUserSection", (List <ShowNoteClassifyInfo>)ViewBag.ShowNoteClassifyInfo)); #line default #line hidden EndContext(); BeginContext(3155, 1041, true); WriteLiteral(@" </div> </div> </section> <!--================Blog Area =================--> <div id=""outerdiv"" style=""position:fixed;top:0;left:0;background:rgba(0,0,0,0.7);z-index:2;width:100%;height:100%;display:none;""> <div id=""innerdiv"" style=""display: flex;justify-content: center;align-items: center; height: 100%;""> <img id=""bigimg"" style=""border:5px solid #fff; max-width: 100%;"" src="""" /> </div> </div> <script type=""text/javascript""> $(function () { $("".main_blog_details img"").click(function () { var _this = $(this);//将当前的pimg元素作为_this传入函数 imgShow(""#outerdiv"", ""#innerdiv"", ""#bigimg"", _this); }); }); function imgShow(outerdiv, innerdiv, bigimg, _this) { var src = _this.attr(""src"");//获取当前点击的pimg元素中的src属性 $(bigimg).attr(""src"", src);//设置#bigimg元素的src属性 $(outerdiv).css(""display"", ""block""); $(innerdiv).click(function () { $(outerdiv).css(""display"", ""none""); }); "); WriteLiteral(" }\r\n\r\n</script>"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 2 "D:\My\Code\application\asp.net core mvc python evernote\evernote_blog\evernote_blog\Views\NoteInfoes\Index.cshtml" //Layout = null; #line default #line hidden BeginContext(60, 4, true); WriteLiteral("\r\n\r\n"); EndContext(); #line 8 "D:\My\Code\application\asp.net core mvc python evernote\evernote_blog\evernote_blog\Views\NoteInfoes\Index.cshtml" if (ViewBag.BannerNoteInfo != null && ViewBag.BannerNoteInfo.Count > 0) { #line default #line hidden BeginContext(141, 318, true); WriteLiteral(@" <!--================Home Banner Area =================--> <section class=""home_banner_area""> <div class=""container""> <div class=""row""> <div class=""col-lg-5""></div> <div class=""col-lg-7""> <div class=""blog_text_slider owl-carousel""> "); EndContext(); #line 17 "D:\My\Code\application\asp.net core mvc python evernote\evernote_blog\evernote_blog\Views\NoteInfoes\Index.cshtml" foreach (var noteInfoItem in ViewBag.BannerNoteInfo) { #line default #line hidden BeginContext(565, 218, true); WriteLiteral(" <div class=\"item\">\r\n <div class=\"blog_text\">\r\n <div class=\"cat\">\r\n <a class=\"cat_btn\""); EndContext(); BeginWriteAttribute("onclick", " onclick=\"", 783, "\"", 841, 3); WriteAttributeValue("", 793, "SearchNoteByClassifyId(", 793, 23, true); #line 22 "D:\My\Code\application\asp.net core mvc python evernote\evernote_blog\evernote_blog\Views\NoteInfoes\Index.cshtml" WriteAttributeValue("", 816, noteInfoItem.ClassifyId, 816, 24, false); #line default #line hidden WriteAttributeValue("", 840, ")", 840, 1, true); EndWriteAttribute(); BeginContext(842, 1, true); WriteLiteral(">"); EndContext(); BeginContext(844, 51, false); #line 22 "D:\My\Code\application\asp.net core mvc python evernote\evernote_blog\evernote_blog\Views\NoteInfoes\Index.cshtml" Write(CommonUnit.GetClassifyName(noteInfoItem.ClassifyId)); #line default #line hidden EndContext(); BeginContext(895, 48, true); WriteLiteral("</a>\r\n <a"); EndContext(); BeginWriteAttribute("onclick", " onclick=\"", 943, "\"", 1001, 3); WriteAttributeValue("", 953, "SearchNoteByCreateTime(", 953, 23, true); #line 23 "D:\My\Code\application\asp.net core mvc python evernote\evernote_blog\evernote_blog\Views\NoteInfoes\Index.cshtml" WriteAttributeValue("", 976, noteInfoItem.CreateTime, 976, 24, false); #line default #line hidden WriteAttributeValue("", 1000, ")", 1000, 1, true); EndWriteAttribute(); BeginContext(1002, 51, true); WriteLiteral("><i class=\"fa fa-calendar\" aria-hidden=\"true\"></i> "); EndContext(); BeginContext(1054, 46, false); #line 23 "D:\My\Code\application\asp.net core mvc python evernote\evernote_blog\evernote_blog\Views\NoteInfoes\Index.cshtml" Write(CommonUnit.FormatTime(noteInfoItem.CreateTime)); #line default #line hidden EndContext(); BeginContext(1100, 86, true); WriteLiteral("</a>\r\n </div>\r\n "); EndContext(); BeginContext(1186, 122, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2ea92106aa883d8f250d2e28fc189757e15c485710875", async() => { BeginContext(1276, 4, true); WriteLiteral("<h4>"); EndContext(); BeginContext(1281, 18, false); #line 25 "D:\My\Code\application\asp.net core mvc python evernote\evernote_blog\evernote_blog\Views\NoteInfoes\Index.cshtml" Write(noteInfoItem.Title); #line default #line hidden EndContext(); BeginContext(1299, 5, true); WriteLiteral("</h4>"); 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_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-guid", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 25 "D:\My\Code\application\asp.net core mvc python evernote\evernote_blog\evernote_blog\Views\NoteInfoes\Index.cshtml" WriteLiteral(noteInfoItem.NoteGuid); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["guid"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-guid", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["guid"], 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(1308, 69, true); WriteLiteral("\r\n <p style=\"overflow-x: hidden;\">"); EndContext(); BeginContext(1378, 27, false); #line 26 "D:\My\Code\application\asp.net core mvc python evernote\evernote_blog\evernote_blog\Views\NoteInfoes\Index.cshtml" Write(noteInfoItem.ContentSnippet); #line default #line hidden EndContext(); BeginContext(1405, 42, true); WriteLiteral("</p>\r\n "); EndContext(); BeginContext(1447, 120, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2ea92106aa883d8f250d2e28fc189757e15c485714564", async() => { BeginContext(1554, 9, true); WriteLiteral("Read More"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-guid", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 27 "D:\My\Code\application\asp.net core mvc python evernote\evernote_blog\evernote_blog\Views\NoteInfoes\Index.cshtml" WriteLiteral(noteInfoItem.NoteGuid); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["guid"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-guid", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["guid"], 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(1567, 78, true); WriteLiteral("\r\n </div>\r\n </div>\r\n"); EndContext(); #line 30 "D:\My\Code\application\asp.net core mvc python evernote\evernote_blog\evernote_blog\Views\NoteInfoes\Index.cshtml" } #line default #line hidden BeginContext(1672, 171, true); WriteLiteral(" </div>\r\n </div>\r\n </div>\r\n </div>\r\n </section>\r\n <!--================End Home Banner Area =================-->\r\n"); EndContext(); #line 37 "D:\My\Code\application\asp.net core mvc python evernote\evernote_blog\evernote_blog\Views\NoteInfoes\Index.cshtml" } #line default #line hidden BeginContext(1846, 230, true); WriteLiteral("\r\n<!--================Blog Area =================-->\r\n<section class=\"blog_area p_120\">\r\n <div class=\"container\">\r\n <div class=\"row\">\r\n <div class=\"col-lg-8\">\r\n <div class=\"blog_left_sidebar\">\r\n"); EndContext(); #line 45 "D:\My\Code\application\asp.net core mvc python evernote\evernote_blog\evernote_blog\Views\NoteInfoes\Index.cshtml" foreach (var noteInfoItem in ViewBag.NoteInfo) { #line default #line hidden BeginContext(2168, 161, true); WriteLiteral(" <article class=\"blog_style1\">\r\n <div class=\"blog_img\">\r\n <img class=\"img-fluid\""); EndContext(); BeginWriteAttribute("src", " src=\"", 2329, "\"", 2364, 1); #line 49 "D:\My\Code\application\asp.net core mvc python evernote\evernote_blog\evernote_blog\Views\NoteInfoes\Index.cshtml" WriteAttributeValue("", 2335, CommonUnit.GetBlogImageStr(), 2335, 29, false); #line default #line hidden EndWriteAttribute(); BeginContext(2365, 275, true); WriteLiteral(@" alt=""""> </div> <div class=""blog_text""> <div class=""blog_text_inner""> <div class=""cat""> <a class=""cat_btn"""); EndContext(); BeginWriteAttribute("onclick", " onclick=\"", 2640, "\"", 2698, 3); WriteAttributeValue("", 2650, "SearchNoteByClassifyId(", 2650, 23, true); #line 54 "D:\My\Code\application\asp.net core mvc python evernote\evernote_blog\evernote_blog\Views\NoteInfoes\Index.cshtml" WriteAttributeValue("", 2673, noteInfoItem.ClassifyId, 2673, 24, false); #line default #line hidden WriteAttributeValue("", 2697, ")", 2697, 1, true); EndWriteAttribute(); BeginContext(2699, 1, true); WriteLiteral(">"); EndContext(); BeginContext(2701, 51, false); #line 54 "D:\My\Code\application\asp.net core mvc python evernote\evernote_blog\evernote_blog\Views\NoteInfoes\Index.cshtml" Write(CommonUnit.GetClassifyName(noteInfoItem.ClassifyId)); #line default #line hidden EndContext(); BeginContext(2752, 48, true); WriteLiteral("</a>\r\n <a"); EndContext(); BeginWriteAttribute("onclick", " onclick=\"", 2800, "\"", 2858, 3); WriteAttributeValue("", 2810, "SearchNoteByCreateTime(", 2810, 23, true); #line 55 "D:\My\Code\application\asp.net core mvc python evernote\evernote_blog\evernote_blog\Views\NoteInfoes\Index.cshtml" WriteAttributeValue("", 2833, noteInfoItem.CreateTime, 2833, 24, false); #line default #line hidden WriteAttributeValue("", 2857, ")", 2857, 1, true); EndWriteAttribute(); BeginContext(2859, 51, true); WriteLiteral("><i class=\"fa fa-calendar\" aria-hidden=\"true\"></i> "); EndContext(); BeginContext(2911, 46, false); #line 55 "D:\My\Code\application\asp.net core mvc python evernote\evernote_blog\evernote_blog\Views\NoteInfoes\Index.cshtml" Write(CommonUnit.FormatTime(noteInfoItem.CreateTime)); #line default #line hidden EndContext(); BeginContext(2957, 6, true); WriteLiteral("</a>\r\n"); EndContext(); BeginContext(3079, 80, true); WriteLiteral(" </div>\r\n "); EndContext(); BeginContext(3159, 122, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2ea92106aa883d8f250d2e28fc189757e15c485722155", async() => { BeginContext(3249, 4, true); WriteLiteral("<h4>"); EndContext(); BeginContext(3254, 18, false); #line 58 "D:\My\Code\application\asp.net core mvc python evernote\evernote_blog\evernote_blog\Views\NoteInfoes\Index.cshtml" Write(noteInfoItem.Title); #line default #line hidden EndContext(); BeginContext(3272, 5, true); WriteLiteral("</h4>"); 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_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-guid", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 58 "D:\My\Code\application\asp.net core mvc python evernote\evernote_blog\evernote_blog\Views\NoteInfoes\Index.cshtml" WriteLiteral(noteInfoItem.NoteGuid); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["guid"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-guid", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["guid"], 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(3281, 69, true); WriteLiteral("\r\n <p style=\"overflow-x: hidden;\">"); EndContext(); BeginContext(3351, 27, false); #line 59 "D:\My\Code\application\asp.net core mvc python evernote\evernote_blog\evernote_blog\Views\NoteInfoes\Index.cshtml" Write(noteInfoItem.ContentSnippet); #line default #line hidden EndContext(); BeginContext(3378, 42, true); WriteLiteral("</p>\r\n "); EndContext(); BeginContext(3420, 120, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2ea92106aa883d8f250d2e28fc189757e15c485725844", async() => { BeginContext(3527, 9, true); WriteLiteral("Read More"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-guid", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 60 "D:\My\Code\application\asp.net core mvc python evernote\evernote_blog\evernote_blog\Views\NoteInfoes\Index.cshtml" WriteLiteral(noteInfoItem.NoteGuid); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["guid"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-guid", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["guid"], 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(3540, 114, true); WriteLiteral("\r\n </div>\r\n </div>\r\n </article>\r\n"); EndContext(); #line 64 "D:\My\Code\application\asp.net core mvc python evernote\evernote_blog\evernote_blog\Views\NoteInfoes\Index.cshtml" } #line default #line hidden BeginContext(3677, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(3707, 219, true); WriteLiteral(" <nav class=\"blog-pagination justify-content-center d-flex page\">\r\n <ul class=\"pagination\">\r\n <li class=\"page-item\">\r\n "); EndContext(); BeginContext(3926, 542, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2ea92106aa883d8f250d2e28fc189757e15c485729327", async() => { BeginContext(4011, 453, true); WriteLiteral(@" <span aria-hidden=""true"" style=""position: relative;""> <span class=""lnr lnr-chevron-left"" style=""position: absolute; left: -5px; top: -1px;""></span> <span class=""lnr lnr-chevron-left"" style=""position: absolute; left: 5px; top: -1px;""></span> </span> "); 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_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-type", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["type"] = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(4468, 121, true); WriteLiteral("\r\n </li>\r\n <li class=\"page-item\">\r\n "); EndContext(); BeginContext(4589, 314, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2ea92106aa883d8f250d2e28fc189757e15c485731970", async() => { BeginContext(4673, 226, true); WriteLiteral("\r\n <span aria-hidden=\"true\">\r\n <span class=\"lnr lnr-chevron-left\"></span>\r\n </span>\r\n "); 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_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-type", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["type"] = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(4903, 39, true); WriteLiteral("\r\n </li>\r\n\r\n"); EndContext(); #line 85 "D:\My\Code\application\asp.net core mvc python evernote\evernote_blog\evernote_blog\Views\NoteInfoes\Index.cshtml" foreach (var pageStr in ViewBag.PageStrList) { if (pageStr.ToString() == ViewBag.PageIndex.ToString()) { #line default #line hidden BeginContext(5172, 107, true); WriteLiteral(" <li class=\"page-item active\">\r\n "); EndContext(); BeginContext(5279, 105, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2ea92106aa883d8f250d2e28fc189757e15c485734900", async() => { BeginContext(5373, 7, false); #line 90 "D:\My\Code\application\asp.net core mvc python evernote\evernote_blog\evernote_blog\Views\NoteInfoes\Index.cshtml" Write(pageStr); #line default #line hidden 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_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-type", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["type"] = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-pageIndex", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 90 "D:\My\Code\application\asp.net core mvc python evernote\evernote_blog\evernote_blog\Views\NoteInfoes\Index.cshtml" WriteLiteral(pageStr); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["pageIndex"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-pageIndex", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["pageIndex"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(5384, 45, true); WriteLiteral("\r\n </li>\r\n"); EndContext(); #line 92 "D:\My\Code\application\asp.net core mvc python evernote\evernote_blog\evernote_blog\Views\NoteInfoes\Index.cshtml" } else { #line default #line hidden BeginContext(5537, 100, true); WriteLiteral(" <li class=\"page-item\">\r\n "); EndContext(); BeginContext(5637, 105, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2ea92106aa883d8f250d2e28fc189757e15c485738722", async() => { BeginContext(5731, 7, false); #line 96 "D:\My\Code\application\asp.net core mvc python evernote\evernote_blog\evernote_blog\Views\NoteInfoes\Index.cshtml" Write(pageStr); #line default #line hidden 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_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-type", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["type"] = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-pageIndex", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 96 "D:\My\Code\application\asp.net core mvc python evernote\evernote_blog\evernote_blog\Views\NoteInfoes\Index.cshtml" WriteLiteral(pageStr); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["pageIndex"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-pageIndex", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["pageIndex"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(5742, 45, true); WriteLiteral("\r\n </li>\r\n"); EndContext(); #line 98 "D:\My\Code\application\asp.net core mvc python evernote\evernote_blog\evernote_blog\Views\NoteInfoes\Index.cshtml" } } #line default #line hidden BeginContext(5853, 88, true); WriteLiteral("\r\n\r\n <li class=\"page-item\">\r\n "); EndContext(); BeginContext(5941, 311, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2ea92106aa883d8f250d2e28fc189757e15c485742493", async() => { BeginContext(6021, 227, true); WriteLiteral("\r\n <span aria-hidden=\"true\">\r\n <span class=\"lnr lnr-chevron-right\"></span>\r\n </span>\r\n "); 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_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-type", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["type"] = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_9); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(6252, 121, true); WriteLiteral("\r\n </li>\r\n <li class=\"page-item\">\r\n "); EndContext(); BeginContext(6373, 538, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2ea92106aa883d8f250d2e28fc189757e15c485744909", async() => { BeginContext(6452, 455, true); WriteLiteral(@" <span aria-hidden=""true"" style=""position: relative;""> <span class=""lnr lnr-chevron-right"" style=""position: absolute; left: -5px; top: -1px;""></span> <span class=""lnr lnr-chevron-right"" style=""position: absolute; left: 5px; top: -1px;""></span> </span> "); 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_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-type", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["type"] = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_9); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(6911, 857, true); WriteLiteral(@" </li> </ul> <div class=""input-group"" style=""width: 80px; position: relative; display: none;""> <input type=""text"" id=""inputGoToPage"" class=""form-control"" placeholder="""" oninput=""value=value.replace(/[^\d]/g,'')"" style=""padding-right: 33px; border-top-right-radius: .25rem; border-bottom-right-radius: .25rem;""> <span class=""input-group-btn"" style=""line-height: 42px; text-align: center; position: absolute; right: 5px; z-index: 20;""> <a id=""inputGoToPageAction"" href="""" onclick=""goToPage()""><i class=""lnr lnr-arrow-right""></i></a> </span> </div> </nav> </div> </div> "); EndContext(); BeginContext(7769, 101, false); #line 128 "D:\My\Code\application\asp.net core mvc python evernote\evernote_blog\evernote_blog\Views\NoteInfoes\Index.cshtml" Write(await Html.PartialAsync("_BlogUserSection", (List <ShowNoteClassifyInfo>)ViewBag.ShowNoteClassifyInfo)); #line default #line hidden EndContext(); BeginContext(7870, 297, true); WriteLiteral(@" </div> </div> </section> <!--================Blog Area =================--> <script> //跳转回车事件 $('#inputGoToPage').bind('keyup', function (event) { if (event.keyCode == ""13"") { $('#inputGoToPageAction').click(); } }); </script>"); EndContext(); }