第一种方式
<style><br/><br/>/*分页*/<br/><br/>.pagination {}<br/><br/>.pagination li {display: inline-block;margin-right: -1px;padding: 5px;border: 1px solid #e2e2e2;min-width: 20px;text-align: center;}<br/><br/>.pagination li.active {background: #009688;color: #fff;border: 1px solid #009688;}<br/><br/>.pagination li a {display: block;text-align: center;}<br/><br/></style><br><script><br/></script>
第二种方式,也是简单的就引入一下Bootstrap 样式
<link rel="stylesheet" href="http://apps.bdimg.com/libs/bootstrap/3.3.0/css/bootstrap.min.css"><br><script src="http://apps.bdimg.com/libs/jquery/2.1.1/jquery.min.js"></script><br><script src="http://apps.bdimg.com/libs/bootstrap/3.3.0/js/bootstrap.min.js"></script><br>
更多ThinkPHP相关技术文章,请访问thinkphp/" target="_self" _href="http://www.php.cn/phpkj/thinkphp/">ThinkPHP使用教程栏目进行学习!