@model IEnumerable @using WebSiteDLL @{ ViewBag.Title = "新闻资讯|"; Layout = "~/Views/jethope.net/Shared/_Layout.cshtml"; int current = ViewBag.Current; int totalPages = ViewBag.TotalPages; int type = ViewBag.Type; }
    @{ foreach (var news in Model) {
  • @news.Booktime.ToShortDateString()@news.Title
  • } }
@Html.Pager(current, totalPages, 5, "/news/index", type, 0)
@{Html.RenderPartial("~/views/jethope.net/shared/_foot.cshtml");}