一段简单实用的Pbootcms页码显示样式代码,具体代码如下,需要的朋友可以试下:
01 |
{pboot: if ({page:rows}>0)} |
03 |
<div class= "pagination" > |
04 |
<a class= "page-item page-link hidden-sm" href= "{page:index}" title= "首页" >首页</a> |
05 |
<a class= "page-item page-link" href= "{page:pre}" title= "上一页" >上一页</a> |
06 |
<a class= "page-item page-num-current" href= "javascript:;" title= "当前页" >{page:current}</a> |
07 |
<a class= "page-item page-link" href= "javascript:;" title= "当前页/总页数" >{page:current}/{page:count}</a> |
08 |
<a class= "page-item page-link" href= "{page:next}" title= "下一页" >下一页</a> |
09 |
<a class= "page-item page-link hidden-sm" href= "{page:last}" title= "尾页" >尾页</a> |
13 |
<div class= "tac text-secondary" >本分类下无任何数据!</div> |
16 |
.pagebar .pagination{display:flex;justify-content:center;margin- top :10px} |
17 |
.pagination a{background: |
18 |
.pagination a:hover{color: |
19 |
.pagination a.page-num-current{color: |
|