An error occurred during the compilation of a resource required to process this request. Please review the following specific error details and modify your source code appropriately.

/var/app/wapjbk.39.net/www/Views/List/SuggestSearchKey.cshtml

  • The name 'adRelatePlaceCache' does not exist in the current context

    1. }
    2. @section head
    3. {
    4. <link href="~/css/footimg.css" rel="stylesheet">
    5. }
    1. @Html.Raw(adRelatePlaceCache.GetAdContent("wapjbk顶部悬浮通栏"))
    1. <!-- page search -->
    2. <div class="search-plat">
    3. <div class="search-box clearfix" onclick="popupView.show('@(Model.ModuleType)');">
    4. <i class="search-icon"></i>
    5. @*<input class="search-input" id="txtSearch" type="text" value="@Model.Keyword" onfocus="" onblur="" />*@
    6. <span class="search-input">@Model.Keyword</span>

  • #pragma checksum "/var/app/wapjbk.39.net/www/Views/List/SuggestSearchKey.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "106de24dbbf0f271268b26042b02c60d10feddab"
    // <auto-generated/>
    #pragma warning disable 1591
    [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views_List_SuggestSearchKey), @"mvc.1.0.view", @"/Views/List/SuggestSearchKey.cshtml")]
    [assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(@"/Views/List/SuggestSearchKey.cshtml", typeof(AspNetCore.Views_List_SuggestSearchKey))]
    namespace AspNetCore
    {
        #line hidden
        using System;
        using System.Collections.Generic;
        using System.Linq;
        using System.Threading.Tasks;
        using Microsoft.AspNetCore.Mvc;
        using Microsoft.AspNetCore.Mvc.Rendering;
        using Microsoft.AspNetCore.Mvc.ViewFeatures;
    #line 1 "/var/app/wapjbk.39.net/www/Views/_ViewImports.cshtml"
    using com.jk39.JBK.Core;
    
    #line default
    #line hidden
    #line 2 "/var/app/wapjbk.39.net/www/Views/_ViewImports.cshtml"
    using com.jk39.JBK.Model;
    
    #line default
    #line hidden
    #line 3 "/var/app/wapjbk.39.net/www/Views/_ViewImports.cshtml"
    using com.jk39.JBK.Services;
    
    #line default
    #line hidden
    #line 4 "/var/app/wapjbk.39.net/www/Views/_ViewImports.cshtml"
    using com.jk39.JBK.Services.Caching;
    
    #line default
    #line hidden
    #line 6 "/var/app/wapjbk.39.net/www/Views/_ViewImports.cshtml"
    using wapjbk._39.net;
    
    #line default
    #line hidden
    #line 7 "/var/app/wapjbk.39.net/www/Views/_ViewImports.cshtml"
    using wapjbk._39.net.Models;
    
    #line default
    #line hidden
    #line 5 "/var/app/wapjbk.39.net/www/Views/List/SuggestSearchKey.cshtml"
    using com.jk39.JBK.Core.Utils;
    
    #line default
    #line hidden
        [global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"106de24dbbf0f271268b26042b02c60d10feddab", @"/Views/List/SuggestSearchKey.cshtml")]
        [global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"7cb9f384d8cdc7967d484978d8b65633100d06bd", @"/Views/_ViewImports.cshtml")]
        public class Views_List_SuggestSearchKey : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<wapjbk._39.net.Models.List.SuggestSearchKeyModel>
        {
            private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_0 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("href", new global::Microsoft.AspNetCore.Html.HtmlString("~/css/footimg.css"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
            private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_1 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("rel", new global::Microsoft.AspNetCore.Html.HtmlString("stylesheet"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
            #line hidden
            #pragma warning disable 0169
            private string __tagHelperStringValueBuffer;
            #pragma warning restore 0169
            private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext __tagHelperExecutionContext;
            private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner __tagHelperRunner = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner();
            private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __backed__tagHelperScopeManager = null;
            private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __tagHelperScopeManager
            {
                get
                {
                    if (__backed__tagHelperScopeManager == null)
                    {
                        __backed__tagHelperScopeManager = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager(StartTagHelperWritingScope, EndTagHelperWritingScope);
                    }
                    return __backed__tagHelperScopeManager;
                }
            }
            private global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper;
            #pragma warning disable 1998
            public async override global::System.Threading.Tasks.Task ExecuteAsync()
            {
    #line 6 "/var/app/wapjbk.39.net/www/Views/List/SuggestSearchKey.cshtml"
      
        ViewData["LayoutModel"] = new LayoutModel
        {
            Title = Model.Keyword + "的相关检查_检查查询_39疾病百科",
            Keywords = "",
            Description = "",
            Canonical = ""
        };
        ViewBag.showCommonCss = false;
    
    #line default
    #line hidden
                DefineSection("head", async() => {
                    BeginContext(472, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(478, 48, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "106de24dbbf0f271268b26042b02c60d10feddab4900", 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(526, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
                }
                );
                BeginContext(531, 2, true);
                WriteLiteral("\r\n");
                EndContext();
                BeginContext(534, 57, false);
    #line 21 "/var/app/wapjbk.39.net/www/Views/List/SuggestSearchKey.cshtml"
    Write(Html.Raw(adRelatePlaceCache.GetAdContent("wapjbk顶部悬浮通栏")));
    
    #line default
    #line hidden
                EndContext();
                BeginContext(591, 87, true);
                WriteLiteral("\r\n<!-- page search -->\r\n<div class=\"search-plat\">\r\n    <div class=\"search-box clearfix\"");
                EndContext();
                BeginWriteAttribute("onclick", " onclick=\"", 678, "\"", 726, 3);
                WriteAttributeValue("", 688, "popupView.show(\'", 688, 16, true);
    #line 24 "/var/app/wapjbk.39.net/www/Views/List/SuggestSearchKey.cshtml"
    WriteAttributeValue("", 704, Model.ModuleType, 704, 19, false);
    
    #line default
    #line hidden
                WriteAttributeValue("", 723, "\');", 723, 3, true);
                EndWriteAttribute();
                BeginContext(727, 40, true);
                WriteLiteral(">\r\n        <i class=\"search-icon\"></i>\r\n");
                EndContext();
                BeginContext(882, 35, true);
                WriteLiteral("        <span class=\"search-input\">");
                EndContext();
                BeginContext(918, 13, false);
    #line 27 "/var/app/wapjbk.39.net/www/Views/List/SuggestSearchKey.cshtml"
                                  Write(Model.Keyword);
    
    #line default
    #line hidden
                EndContext();
                BeginContext(931, 254, true);
                WriteLiteral("</span>\r\n        <span class=\"search-del\" id=\"souDel\" style=\"display:none;\"></span>\r\n        <span class=\"search-btn\">搜索</span>\r\n    </div>\r\n</div>\r\n<!-- page search end -->\r\n<!--指定模块检索结果start-->\r\n<section class=\"appoint-data-box\" id=\"module_listview\">\r\n");
                EndContext();
    #line 35 "/var/app/wapjbk.39.net/www/Views/List/SuggestSearchKey.cshtml"
         if (Model.ResultList.Count > 0)
        {
    
    #line default
    #line hidden
                BeginContext(1230, 108, true);
                WriteLiteral("        <!--有结果start-->\r\n        <div class=\"appoint-data\">\r\n            <div class=\"appoint-data-title\">共找到");
                EndContext();
                BeginContext(1340, 11, false);
    #line 39 "/var/app/wapjbk.39.net/www/Views/List/SuggestSearchKey.cshtml"
                                               Write(Model.Count);
    
    #line default
    #line hidden
                EndContext();
                BeginContext(1352, 10, true);
                WriteLiteral("个符合“<span>");
                EndContext();
                BeginContext(1364, 13, false);
    #line 39 "/var/app/wapjbk.39.net/www/Views/List/SuggestSearchKey.cshtml"
                                                                       Write(Model.Keyword);
    
    #line default
    #line hidden
                EndContext();
                BeginContext(1378, 11, true);
                WriteLiteral("</span>”的相关");
                EndContext();
                BeginContext(1391, 16, false);
    #line 39 "/var/app/wapjbk.39.net/www/Views/List/SuggestSearchKey.cshtml"
                                                                                                  Write(Model.ModuleName);
    
    #line default
    #line hidden
                EndContext();
                BeginContext(1408, 55, true);
                WriteLiteral("</div>\r\n            <ul class=\"appoint-data-content\">\r\n");
                EndContext();
    #line 41 "/var/app/wapjbk.39.net/www/Views/List/SuggestSearchKey.cshtml"
                     foreach (var item in Model.ResultList)
                    {
                        var tip = item.Type == "症状"
                                ? new Tuple<string, string>("症", "z_icon")
                                : item.Type == "组合"
                                    ? new Tuple<string, string>("组合", "zh")
                                    : item.Type == "大类"
                                        ? new Tuple<string, string>("大类", "dl")
                                            : new Tuple<string, string>(string.Empty, string.Empty);
    
    #line default
    #line hidden
                BeginContext(2010, 52, true);
                WriteLiteral("                    <li>\r\n                        <a");
                EndContext();
                BeginWriteAttribute("href", " href="/wapjbk_/\""," 2062, "\"", 2078, 1);
    #line 51 "/var/app/wapjbk.39.net/www/Views/List/SuggestSearchKey.cshtml"
    WriteAttributeValue("", 2069, item.Url, 2069, 9, false);
    
    #line default
    #line hidden
                EndWriteAttribute();
                BeginContext(2079, 100, true);
                WriteLiteral(">\r\n                            <div class=\"appoint-data-subtitle\">\r\n                                ");
                EndContext();
                BeginContext(2181, 77, false);
    #line 53 "/var/app/wapjbk.39.net/www/Views/List/SuggestSearchKey.cshtml"
                                Write(Html.Raw(item.NameCN.Replace(Model.Keyword, $"<span>{Model.Keyword}</span>")));
    
    #line default
    #line hidden
                EndContext();
                BeginContext(2259, 2, true);
                WriteLiteral("\r\n");
                EndContext();
    #line 54 "/var/app/wapjbk.39.net/www/Views/List/SuggestSearchKey.cshtml"
                                     if (!string.IsNullOrEmpty(tip.Item1))
                                    {
    
    #line default
    #line hidden
                BeginContext(2368, 38, true);
                WriteLiteral("                                    <i");
                EndContext();
                BeginWriteAttribute("class", " class=\"", 2406, "\"", 2424, 1);
    #line 56 "/var/app/wapjbk.39.net/www/Views/List/SuggestSearchKey.cshtml"
    WriteAttributeValue("", 2414, tip.Item2, 2414, 10, false);
    
    #line default
    #line hidden
                EndWriteAttribute();
                BeginContext(2425, 1, true);
                WriteLiteral(">");
                EndContext();
                BeginContext(2427, 9, false);
    #line 56 "/var/app/wapjbk.39.net/www/Views/List/SuggestSearchKey.cshtml"
                                                         Write(tip.Item1);
    
    #line default
    #line hidden
                EndContext();
                BeginContext(2436, 6, true);
                WriteLiteral("</i>\r\n");
                EndContext();
    #line 57 "/var/app/wapjbk.39.net/www/Views/List/SuggestSearchKey.cshtml"
                                    }
    
    #line default
    #line hidden
                BeginContext(2477, 135, true);
                WriteLiteral("                            </div>\r\n                            <div class=\"appoint-data-subcontent\">\r\n                                ");
                EndContext();
                BeginContext(2614, 123, false);
    #line 60 "/var/app/wapjbk.39.net/www/Views/List/SuggestSearchKey.cshtml"
                                Write(Html.Raw(item.IntroduceCN.RemoveHtml().GetPrefixString(180, "...").Replace(Model.Keyword, $"<span>{Model.Keyword}</span>")));
    
    #line default
    #line hidden
                EndContext();
                BeginContext(2738, 151, true);
                WriteLiteral("<span>[查看详情]</span>\r\n                            </div>\r\n                            <i></i>\r\n                        </a>\r\n                    </li>\r\n");
                EndContext();
    #line 65 "/var/app/wapjbk.39.net/www/Views/List/SuggestSearchKey.cshtml"
                    }
    
    #line default
    #line hidden
                BeginContext(2908, 98, true);
                WriteLiteral("            </ul>\r\n            <div class=\"appoint-data-page\">\r\n                <span class=\"num\">");
                EndContext();
                BeginContext(3007, 15, false);
    #line 68 "/var/app/wapjbk.39.net/www/Views/List/SuggestSearchKey.cshtml"
                                 Write(Model.PageIndex);
    
    #line default
    #line hidden
                EndContext();
                BeginContext(3022, 1, true);
                WriteLiteral("/");
                EndContext();
                BeginContext(3024, 15, false);
    #line 68 "/var/app/wapjbk.39.net/www/Views/List/SuggestSearchKey.cshtml"
                                                  Write(Model.PageCount);
    
    #line default
    #line hidden
                EndContext();
                BeginContext(3039, 9, true);
                WriteLiteral("</span>\r\n");
                EndContext();
    #line 69 "/var/app/wapjbk.39.net/www/Views/List/SuggestSearchKey.cshtml"
                     if (Model.PageIndex > 1)
                    {
    
    #line default
    #line hidden
                BeginContext(3110, 40, true);
                WriteLiteral("                    <span class=\"pre\"><a");
                EndContext();
                BeginWriteAttribute("href", " href="/wapjbk_/\""," 3150, "\"", 3193, 1);
    #line 71 "/var/app/wapjbk.39.net/www/Views/List/SuggestSearchKey.cshtml"
    WriteAttributeValue("", 3157, Model.GetPageUrl(Model.PageIndex-1), 3157, 36, false);
    
    #line default
    #line hidden
                EndWriteAttribute();
                BeginContext(3194, 17, true);
                WriteLiteral(">上一页</a></span>\r\n");
                EndContext();
    #line 72 "/var/app/wapjbk.39.net/www/Views/List/SuggestSearchKey.cshtml"
                    }
    
    #line default
    #line hidden
                BeginContext(3230, 16, true);
                WriteLiteral("                ");
                EndContext();
    #line 73 "/var/app/wapjbk.39.net/www/Views/List/SuggestSearchKey.cshtml"
                     if (Model.PageIndex < Model.PageCount)
                    {
    
    #line default
    #line hidden
                BeginContext(3306, 72, true);
                WriteLiteral("                    <span class=\"next\" style=\"height:30px;width:60px\"><a");
                EndContext();
                BeginWriteAttribute("href", " href="/wapjbk_/\""," 3378, "\"", 3421, 1);
    #line 75 "/var/app/wapjbk.39.net/www/Views/List/SuggestSearchKey.cshtml"
    WriteAttributeValue("", 3385, Model.GetPageUrl(Model.PageIndex+1), 3385, 36, false);
    
    #line default
    #line hidden
                EndWriteAttribute();
                BeginContext(3422, 17, true);
                WriteLiteral(">下一页</a></span>\r\n");
                EndContext();
    #line 76 "/var/app/wapjbk.39.net/www/Views/List/SuggestSearchKey.cshtml"
                    }
    
    #line default
    #line hidden
                BeginContext(3458, 59, true);
                WriteLiteral("            </div>\r\n        </div>\r\n        <!--有结果end-->\r\n");
                EndContext();
    #line 80 "/var/app/wapjbk.39.net/www/Views/List/SuggestSearchKey.cshtml"
        }
        else
        {
    
    #line default
    #line hidden
                BeginContext(3541, 163, true);
                WriteLiteral("        <!--无结果start-->\r\n        <div class=\"search-no-data\">抱歉,暂未找到符合条件的信息</div>\r\n        <div class=\"hot-disease\">\r\n            <div class=\"hot-disease-title\">热搜");
                EndContext();
                BeginContext(3706, 16, false);
    #line 86 "/var/app/wapjbk.39.net/www/Views/List/SuggestSearchKey.cshtml"
                                             Write(Model.ModuleName);
    
    #line default
    #line hidden
                EndContext();
                BeginContext(3723, 63, true);
                WriteLiteral("</div>\r\n            <ul class=\"hot-disease-content clearfix\">\r\n");
                EndContext();
    #line 88 "/var/app/wapjbk.39.net/www/Views/List/SuggestSearchKey.cshtml"
                     foreach (var item in Model.HotSearchList)
                    {
    
    #line default
    #line hidden
                BeginContext(3865, 26, true);
                WriteLiteral("                    <li><a");
                EndContext();
                BeginWriteAttribute("href", " href="/wapjbk_/\""," 3891, "\"", 3907, 1);
    #line 90 "/var/app/wapjbk.39.net/www/Views/List/SuggestSearchKey.cshtml"
    WriteAttributeValue("", 3898, item.Url, 3898, 9, false);
    
    #line default
    #line hidden
                EndWriteAttribute();
                BeginContext(3908, 8, true);
                WriteLiteral("><i></i>");
                EndContext();
                BeginContext(3917, 11, false);
    #line 90 "/var/app/wapjbk.39.net/www/Views/List/SuggestSearchKey.cshtml"
                                                  Write(item.NameCN);
    
    #line default
    #line hidden
                EndContext();
                BeginContext(3928, 11, true);
                WriteLiteral("</a></li>\r\n");
                EndContext();
    #line 91 "/var/app/wapjbk.39.net/www/Views/List/SuggestSearchKey.cshtml"
                    }
    
    #line default
    #line hidden
                BeginContext(3958, 58, true);
                WriteLiteral("            </ul>\r\n        </div>\r\n        <!--无结果end-->\r\n");
                EndContext();
    #line 95 "/var/app/wapjbk.39.net/www/Views/List/SuggestSearchKey.cshtml"
        }
    
    #line default
    #line hidden
                BeginContext(4023, 12, true);
                WriteLiteral("</section>\r\n");
                EndContext();
                BeginContext(4036, 27, false);
    #line 97 "/var/app/wapjbk.39.net/www/Views/List/SuggestSearchKey.cshtml"
    Write(Html.Partial("FixedAd5355"));
    
    #line default
    #line hidden
                EndContext();
                BeginContext(4063, 157, true);
                WriteLiteral("\r\n<!-- main end-->\r\n<script>\r\n        $(document).ready(function () {\r\n            var diseaseHistory = new CookieList(\"checksearch\", 10);\r\n            if (\'");
                EndContext();
                BeginContext(4221, 13, false);
    #line 102 "/var/app/wapjbk.39.net/www/Views/List/SuggestSearchKey.cshtml"
                Write(Model.Keyword);
    
    #line default
    #line hidden
                EndContext();
                BeginContext(4234, 47, true);
                WriteLiteral("\'!= \'\') {\r\n                diseaseHistory.add(\'");
                EndContext();
                BeginContext(4282, 13, false);
    #line 103 "/var/app/wapjbk.39.net/www/Views/List/SuggestSearchKey.cshtml"
                                   Write(Model.Keyword);
    
    #line default
    #line hidden
                EndContext();
                BeginContext(4295, 8, true);
                WriteLiteral("\', \'\', \'");
                EndContext();
                BeginContext(4304, 13, false);
    #line 103 "/var/app/wapjbk.39.net/www/Views/List/SuggestSearchKey.cshtml"
                                                         Write(Model.Keyword);
    
    #line default
    #line hidden
                EndContext();
                BeginContext(4317, 66, true);
                WriteLiteral("\', window.location.href);\r\n            }\r\n        });\r\n</script>\r\n");
                EndContext();
            }
            #pragma warning restore 1998
            [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
            public CategoryCache categoryCache { get; private set; }
            [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
            public NewCheckInfoCache newCheckInfoCache { get; private set; }
            [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
            public AdRelatePlaceCache adrelateplaceCache { get; private set; }
            [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
            public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; }
            [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
            public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; }
            [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
            public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; }
            [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
            public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; }
            [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
            public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<wapjbk._39.net.Models.List.SuggestSearchKeyModel> Html { get; private set; }
        }
    }
    #pragma warning restore 1591