an>
                <span class="page-link" th:if="${pageIndex le 4}">
                    <span>...</span>
                </span>
                <!-- 最后一页与当前页面之差小于等于3 -->
                <span class="page-link" th:if="${totalPages - pageIndex le 3}">
                    <span>...</span>
                </span>
                <span class="page-link" th:classappend="${index eq pageIndex} ? 'current':''"
                    th:each="index : ${#numbers.sequence(totalPages - 4, 