 += `<li class="page-item disabled"><a class="page-link">…</a></li>`;
                }
            }

            for (let i = startPage; i <= endPage; i++) {
                const active = i === page ? 'active text-white' : '';
                page_list += list_temp
                    .replaceAll('@@page@@', i)
                    .replaceAll('@@active@@', active);
            }

            // 仅当 endPage<totalPages 时才渲染后置省略号及“末页”
            if (endPage < totalPages) {
