更新伪静态文章栏目规则,生成伪静态页面分页代码

This commit is contained in:
2020-05-26 15:15:32 +08:00
parent 4f48e1dbaa
commit 92fb899d89
20 changed files with 287 additions and 122 deletions
+2 -2
View File
@@ -88,9 +88,9 @@
<li>暂无相关记录...</li>
}
</ul>
<!-- 分页按钮 -->
<!-- 分页按钮 $"/Article/Index/{Model.Id}" + "?page={0}"-->
<div class="normal">
@Html.Raw(Pages.GetPageStr(ViewBag.pagesize, (int)ViewBag.totalCount, ViewBag.page, $"/Article/Index/{Model.Id}" + "?page={0}", 99, 10, ""))
@Html.Raw(Pages.GetPageStr(ViewBag.pagesize, (int)ViewBag.totalCount, ViewBag.page, ViewsHelper.EchoURL(Model), 3, 10, ""))
</div>
<!-- 点击加载更多 -->
</div>