美文网首页
thymeleaf遍历List

thymeleaf遍历List

作者: 西部牛仔仔 | 来源:发表于2019-02-27 16:17 被阅读0次

    <div class="article-wrapper list-style clearfix bounceInUp animated" data-animate="bounceInUp"

        data-delay="100" th:each="articleInfo,articleStat:${articleList}">

                class="post-1 post type-post status-publish format-standard hentry category-uncategorized">

            <div class="article-entry-wrapper">

                <div class="entry-date">

                    <div class="date-box updated">

                        <span class="date"

                              th:text="${#strings.substring(articleInfo.post_date,8,10)}">

                        <span class="month-year"

                              th:text="${#strings.substring(articleInfo.post_date,0,7)}">

                    <div class="format-box"><i class="fa fa-camera-retro" aria-hidden="true">

                <div class="entry-content">

                    <h1 class="entry-title">

                        <a th:href="${articleInfo.guid}" rel="bookmark"

                          th:text="${articleInfo.post_title}">

                    <p class="single-line-meta"><i class="fa fa-user" aria-hidden="true">

                        <span class="vcard">

                            <span class="fn" th:text="${articleInfo.nicename}">

                                class="inline-sep">/

                        <i class="fa fa-calendar"

                          aria-hidden="true">

                        <span th:text="${#strings.substring(articleInfo.post_date,0,10)}">

                        <span class="inline-sep">/</span> <i class="fa fa-folder-open"

                                                            aria-hidden="true">

                        <a href="https://wp-themes.com/?cat=1" rel="category">暂无分类

                    <p th:utext="${articleInfo.post_content}">

                <footer class="entry-meta">

                </footer>

    相关文章

      网友评论

          本文标题:thymeleaf遍历List

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