|
Server : Microsoft-IIS/10.0 System : Windows NT EBS-6136 10.0 build 17763 (Windows Server 2016) i586 User : jxgj ( 0) PHP Version : 7.0.33 Disable Function : passthru,exec,system,shell_exec,proc_open,popen,pcntl_exec,socket_bind,stream_socket_server Directory : D:/tmp_aspnet/root/759385e6/e7ed919/ |
?#pragma checksum "D:\wwwroot\helioslash\wwwroot\Views\Ads\_List.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "832DEEFCAF27175CB26674FBA01E779F8484718A"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具天生。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且若是
// 沉新天生代码,这些更改将会迷失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace ASP {
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Helpers;
using System.Web.Security;
using System.Web.UI;
using System.Web.WebPages;
using System.Web.Mvc;
using System.Web.Mvc.Ajax;
using System.Web.Mvc.Html;
using System.Web.Optimization;
using System.Web.Routing;
using KHCMS;
#line 1 "D:\wwwroot\helioslash\wwwroot\Views\Ads\_List.cshtml"
using KHModels;
#line default
#line hidden
public class _Page_Views_Ads__List_cshtml : System.Web.Mvc.WebViewPage<dynamic> {
#line hidden
public _Page_Views_Ads__List_cshtml() {
}
protected ASP.global_asax ApplicationInstance {
get {
return ((ASP.global_asax)(Context.ApplicationInstance));
}
}
public override void Execute() {
#line 2 "D:\wwwroot\helioslash\wwwroot\Views\Ads\_List.cshtml"
if (ViewBag.AdList != null)
{
List<Ads> list = ViewBag.AdList;
if (list != null && list.Count > 0)
{
#line default
#line hidden
WriteLiteral(" <div");
WriteLiteral(" id=\"banner\"");
WriteLiteral(">\r\n <div");
WriteLiteral(" class=\"swiper-container adSwiper\"");
WriteLiteral(">\r\n <div");
WriteLiteral(" class=\"swiper-wrapper\"");
WriteLiteral(">\r\n");
#line 10 "D:\wwwroot\helioslash\wwwroot\Views\Ads\_List.cshtml"
#line default
#line hidden
#line 10 "D:\wwwroot\helioslash\wwwroot\Views\Ads\_List.cshtml"
foreach (Ads item in list)
{
#line default
#line hidden
WriteLiteral(" <div");
WriteLiteral(" class=\"swiper-slide\"");
WriteLiteral(">\r\n");
#line 13 "D:\wwwroot\helioslash\wwwroot\Views\Ads\_List.cshtml"
#line default
#line hidden
#line 13 "D:\wwwroot\helioslash\wwwroot\Views\Ads\_List.cshtml"
if (!String.IsNullOrWhiteSpace(item.word))
{
#line default
#line hidden
WriteLiteral(" <div");
WriteLiteral(" class=\"\"");
WriteLiteral(">");
#line 15 "D:\wwwroot\helioslash\wwwroot\Views\Ads\_List.cshtml"
Write(Html.Raw(item.word));
#line default
#line hidden
WriteLiteral("</div>\r\n");
#line 16 "D:\wwwroot\helioslash\wwwroot\Views\Ads\_List.cshtml"
}
#line default
#line hidden
WriteLiteral(" <a");
WriteAttribute("href", Tuple.Create(" href=\"", 625), Tuple.Create("\"", 641)
#line 17 "D:\wwwroot\helioslash\wwwroot\Views\Ads\_List.cshtml"
, Tuple.Create(Tuple.Create("", 632), Tuple.Create<System.Object, System.Int32>(item.url
#line default
#line hidden
, 632), false)
);
WriteLiteral("><img");
WriteAttribute("src", Tuple.Create(" src=\"", 647), Tuple.Create("\"", 662)
#line 17 "D:\wwwroot\helioslash\wwwroot\Views\Ads\_List.cshtml"
, Tuple.Create(Tuple.Create("", 653), Tuple.Create<System.Object, System.Int32>(item.pic
#line default
#line hidden
, 653), false)
);
WriteAttribute("title", Tuple.Create(" title=\"", 663), Tuple.Create("\"", 681)
#line 17 "D:\wwwroot\helioslash\wwwroot\Views\Ads\_List.cshtml"
, Tuple.Create(Tuple.Create("", 671), Tuple.Create<System.Object, System.Int32>(item.name
#line default
#line hidden
, 671), false)
);
WriteLiteral(" /></a>\r\n </div>\r\n");
#line 19 "D:\wwwroot\helioslash\wwwroot\Views\Ads\_List.cshtml"
}
#line default
#line hidden
WriteLiteral(" </div>\r\n <div");
WriteLiteral(" class=\"swiper-pagination adPage\"");
WriteLiteral("></div>\r\n </div>\r\n <script");
WriteLiteral(" type=\"text/javascript\"");
WriteLiteral(@">
var swiper = new Swiper('.adSwiper', {
autoplay: {
delay: 6000,
},
loop: true,
pagination: {
el: '.swiper-pagination',
},
});
</script>
</div>
");
#line 35 "D:\wwwroot\helioslash\wwwroot\Views\Ads\_List.cshtml"
}
}
#line default
#line hidden
}
}
}