Backup/GXXT/Views/Home/List.cshtml

(完整代码) 1KB

@model MVC.PagedList<Maticsoft.Model.NewsInfo>
@using MVC;
@{
    ViewBag.Title = "List";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<div>
<div id="weizhi"><span>位置:</span><a href="/Home/Index">学生信息管理系统首页</a><span> &gt; </span><a href="#">@TempData["Category"] </a></div>
<div style="clear:both; height:0px;"></div>
<div id="main2">
       
            <div class="left_lb" style="width:900px;">
<div style="height:20px;"></div>
                 @if (Model != null && Model.Count > 0)
                 {
                     foreach (var item in Model)
                     {
<div class="lb_nr" style="width:900px;">
<div class="lb_tu"><img src="/Scripts/kindeditor/attached/image/@item.PicID" width="120" height="80"></div>
<div class="lb_wenzi">
<div class="tittle_zi"><h1><a href="/Home/Detail?ID=@item.ID">@item.Title</a></h1></div>
<p>@item.Str2</p>
</div>
</div>
                     }
                 }
<div style=" clear:both"></div>
<div id="fenye" style="_padding-top:10px;">
 <div class="pagination pagination-centered">
    	  @Html.Pager(Model, new PagerOptions { ShowFirstLast = false, PrevPageText = "上一页", NextPageText = "下一页", AlwaysShowFirstLastPageNumber = true }, "Paged", new { action = "Manage" })
    </div>
</div>

</div>
       


<div style="clear:both; height:10px;"></div>
</div>

<div style="clear:both"></div>
</div>
<script >
    $(function () {
        $("#首页").css("color", "white");
        $("#" + '@TempData["Category"]').css("color", "gold");
    });

   
</script>

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读 AI

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。