Thymeleaf
$与* #嵌套使用:
$中可以嵌套#,日期格式化如下:
<div class="card-body" th:object="${blogs.list[0]}"> <h5 class="card-title" th:text="*{blogTitle}"></h5> <p class="card-text" th:text="*{blogBriefContent}"></p> <p class="card-text"> <small class="text-muted" th:text="${#dates.format(#object.blogEditTime,'yyyy-MM-dd HH:mm:ss')}"></small> </p> </div>
thymeleaf $ * # @ 区别
https://www.cnblogs.com/zhai1997/p/13665723.html