sNext()}"
                th:with="totalPages = ${archives.totalPages}, pageIndex = ${archives.page}">
            <!--        页面总数小于等于7-->
            <nav class=pagination th:if="${(totalPages le 7) && (totalPages gt 0)}">

                <span class="page-link" th:classappend="${index eq pageIndex} ? 'current'"
                    th:each="index : ${#numbers.sequence(1, totalPages)}">
                    <a th:href="@{/archives/page/} + ${index}"
                       th:text="${index}"