css
<style>.list-page {text-align:center;padding: 15px 15px;}.mws-panel-content {background: #eee;}.pagination {margin:0 !important;padding: 10px 10px;box-shadow: 0px 1px 2px 0px #E2E2E2;background: #fff;}.pagination li{border:1px solid #e6e6e6;padding: 3px 8px;display: inline-block;}.pagination .active{background-color: #46A3FF;color: #fff;}.pagination .disabled{color: #aaa;}</style>
加css,样式就能正常显示了,要把<<和>>改成上一页下一页,这需要在think\paginator\driver\Bootstrap;修改getPreviousButton(string $text = "«")
和
getNextButton(string $text = '»')中的»,把他们改成上一页下一页就可以了
下面介绍的是在app目录下的provider.php文件数组中添加的方法
http://www.thinkphp.cn/topic/66230.html