src/Leevel/Page/Defaults.php
protected function getTotalRender(): string
    {
        if (!$this->page->canTotalRender()) {
            return '';
        }

        return sprintf(
            '<span class="pagination-total">%s</span>',
            __('共 %d 条', $this->page->getTotalRecord() ?: 0)
        );
    }
protected function getTotalRender(): string
    {
        if (!$this->page->canTotalRender()) {
            return '';
        }

        return sprintf(
            '<span class="pagination-total">%s</span>',
            __('共 %d 条', $this->page->getTotalRecord() ?: 0)
        );
    }
返回渲染 total.

@return string