ass="page-link" th:classappend="${index eq pageIndex} ? 'current'"
                    th:each="index : ${#numbers.sequence(1, totalPages)}">
                    <a th:href="${category.status.permalink}+'/page/' + ${index}"
                       th:text="${index}"></a>
                </span>
            </nav>
            <!--        页面总数大于7-->
            <nav class=pagination th:if="${totalPages gt 7}">
                <span class="page-link" th:classappend="${1 eq pageIndex} ? 'current':''"