|
|
@@ -1122,14 +1122,14 @@ class ListView |
|
|
|
$optionlist = '';
|
|
|
|
//获得上页和下页的链接
|
|
|
|
if ($this->PageNo != 1) {
|
|
|
|
$prepage .= "<li class='page-item'><a href='".$purl."PageNo=$prepagenum"."' class='page-link'>上页</a></li>";
|
|
|
|
$indexpage = "<li class='page-item'><a href='".$purl."PageNo=1"."' class='page-link'>首页</a></li>";
|
|
|
|
$prepage .= "<li class='page-item'><a href='".$purl."PageNo=".$prepagenum."' class='page-link'>上页</a></li>";
|
|
|
|
$indexpage = "<li class='page-item'><a href='".$purl."PageNo=1' class='page-link'>首页</a></li>";
|
|
|
|
} else {
|
|
|
|
$indexpage = "<li class='page-item'><span class='page-link'>首页</span></li>";
|
|
|
|
}
|
|
|
|
if ($this->PageNo != $totalpage && $totalpage > 1) {
|
|
|
|
$nextpage .= "<li class='page-item'><a href='".$purl."PageNo=$nextpagenum"."' class='page-link'>下页</a></li>";
|
|
|
|
$endpage = "<li class='page-item'><a href='".$purl."PageNo=$totalpage"."' class='page-link'>末页</a></li>";
|
|
|
|
$nextpage .= "<li class='page-item'><a href='".$purl."PageNo=".$nextpagenum."' class='page-link'>下页</a></li>";
|
|
|
|
$endpage = "<li class='page-item'><a href='".$purl."PageNo=".$totalpage."' class='page-link'>末页</a></li>";
|
|
|
|
} else {
|
|
|
|
$endpage = "<li class='page-item'><span class='page-link'>末页</span></li>";
|
|
|
|
}
|
|
|
@@ -1152,7 +1152,7 @@ class ListView |
|
|
|
if ($j == $this->PageNo) {
|
|
|
|
$listdd .= "<li class='page-item active'><span class='page-link'>$j</span></li>";
|
|
|
|
} else {
|
|
|
|
$listdd .= "<li class='page-item'><a href='".$purl."PageNo=$j"."' class='page-link'>$j</a></li>";
|
|
|
|
$listdd .= "<li class='page-item'><a href='".$purl."PageNo=".$j."' class='page-link'>$j</a></li>";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$plist = '';
|
|
|
|