美文网首页spring cloud
springboot+thymeleaf+pageHelper带

springboot+thymeleaf+pageHelper带

作者: 安易学车 | 来源:发表于2021-03-26 10:22 被阅读0次

    <div class="modal-footer no-margin-top">

        <ul class="pagination pull-right no-margin">

  1.             <a>共[[${page.total}]]条

  2.             <a><input type="number" value="" id="toGoPage" style="width:50px;height:18px;text-align:center;float:left" placeholder="页码"/>

            <li th:if="${page.hasPreviousPage}">

                <a th:href="@{'/log/logList?pageNum=1'+'&starttime='+${query.starttime}+'&endtime='+${query.endtime}+'&opntype='+${query.opntype}}">首页

            <li class="prev" th:if="${page.hasPreviousPage}">

                <a th:href="@{'/log/logList?pageNum='+${page.prePage}+'&starttime='+${query.starttime}+'&endtime='+${query.endtime}+'&opntype='+${query.opntype}}">

                    <i class="ace-icon fa fa-angle-double-left">

            <li th:each="nav:${page.navigatepageNums}">

                <a th:href="@{'/log/logList?pageNum='+${nav}+'&starttime='+${query.starttime}+'&endtime='+${query.endtime}+'&opntype='+${query.opntype}}" th:text="${nav}" th:if="${nav != page.pageNum}">

                <span style="font-weight:bold;background:#6faed9;" th:if="${nav == page.pageNum}" th:text="${nav}" >

            <li class="next" th:if="${page.hasNextPage}">

                <a th:href="@{'/log/logList?pageNum='+${page.nextPage}+'&starttime='+${query.starttime}+'&endtime='+${query.endtime}+'&opntype='+${query.opntype}}">

                    <i class="ace-icon fa fa-angle-double-right">

  3.             <a th:href="@{'/log/logList?pageNum='+${page.pages}+'&starttime='+${query.starttime}+'&endtime='+${query.endtime}+'&opntype='+${query.opntype}}">尾页

  4.             <a>当前第[[${page.pageNum}]]页

                <a>共 [[${page.pages}]] 页

    </div>

  5. 相关文章

      网友评论

        本文标题:springboot+thymeleaf+pageHelper带

        本文链接:https://www.haomeiwen.com/subject/mecjhltx.html