Browse Source

pagination css improve for mobile

master
filesite 5 months ago
parent
commit
2834de4846
  1. 8
      plugins/Html.php
  2. 2
      www/css/beauty.css

8
plugins/Html.php

@ -189,14 +189,14 @@ eof; @@ -189,14 +189,14 @@ eof;
//上一页
$previousLink = <<<eof
<li class="page-item disabled">
<span class="page-link">上一页</span>
<span class="page-link"><span class="hidden-xs"></span></span>
</li>
eof;
if ($page > 1) {
$url = self::getPaginationLink($currentUrl, $page-1, $limit);
$previousLink = <<<eof
<li class="page-item">
<a class="page-link" href="{$url}">上一页</a>
<a class="page-link" href="{$url}"><span class="hidden-xs"></span></a>
</li>
eof;
}
@ -204,14 +204,14 @@ eof; @@ -204,14 +204,14 @@ eof;
//下一页
$nextLink = <<<eof
<li class="page-item disabled">
<span class="page-link">下一页</span>
<span class="page-link"><span class="hidden-xs"></span></span>
</li>
eof;
if ($page < $maxPage) {
$url = self::getPaginationLink($currentUrl, $page+1, $limit);
$nextLink = <<<eof
<li class="page-item">
<a class="page-link" href="{$url}">下一页</a>
<a class="page-link" href="{$url}"><span class="hidden-xs"></span></a>
</li>
eof;
}

2
www/css/beauty.css

@ -141,7 +141,7 @@ a:link{text-decoration:none} @@ -141,7 +141,7 @@ a:link{text-decoration:none}
.navbar-fixed-left{position:static;width:100%}
.img_main{margin-left:0}
.pagination>li>a, .pagination>li>span{padding:3px 7px}
.pagination>li>a, .pagination>li>span{padding:3px 8px}
}
@keyframes musicTurn {

Loading…
Cancel
Save