0
点赞
收藏
分享

微信扫一扫

tp6分页显示首页和尾页

guanguans 2022-05-15 阅读 84


实现的效果如下,官方的是不带首页和尾页:

tp6分页显示首页和尾页_bootstrap

打开原文件\vendor\topthink\think-orm\src\paginator\driver\Bootstrap.php:

修改之前的:

<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2019 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: 末末 <2228293408@qq.com>
// +----------------------------------------------------------------------

namespace think\paginator\driver;

use think\Paginator;

/**
* Bootstrap 分页驱动
*/
class Bootstrap ex


举报

相关推荐

0 条评论