></a>
                </span>
            </nav>
            <!--        页面总数大于7-->
            <nav class=pagination th:if="${totalPages gt 7}">
                <span class="page-link" th:classappend="${1 eq pageIndex} ? 'current':''">
                    <a th:href="@{/archives/page/1}">1</a>
                </span>
                <!-- 当前页面小于等于4 -->
                <span class="page-link" th:classappend="${index eq pageIndex} ? 'current':''"
                    th:each="index 