@{
    int columnId = Html.CurrentColumnId();
    PageInfo pageInfo = new PageInfo()
    {
        PageSize = 15,//每页显示10条数据
        CurrentPage = (int)ViewBag.CurrentPage //当前页码，系统预设
    };
}

<div class="margin-top-10">
    @Html.Partial("leftNavPartial")
    <div class="right-content fr com-bd">
        @Html.Partial("BreadcrumbPartial")
        <div class="info-content">
            <ul class="img-list clearfix">
                @{
                    foreach (var item in Html.InfoDataList(new { ColumnId = columnId }, null, null, pageInfo))
                    {
                        string url = Html.InfoDataUrl((int)item.ColumnId, (int)item.Id);
                        <li>
                            <a href="@url">
                                <span class="img-box"><img src="@item.Thumbnail" /></span>
                                <span class="title-box">@item.Title</span>
                            </a>
                        </li>
                    }
                }
            </ul>
        </div>
        @Html.Partial("PagebreakPartial", pageInfo)
    </div>
</div>



