perf(novel-front): 优化评论时间显示

This commit is contained in:
xiongxiaoyang
2025-07-12 14:08:42 +08:00
parent 3c409023e5
commit 675b156094
5 changed files with 74 additions and 6 deletions

View File

@ -114,7 +114,7 @@
th:text="${comment.location} + '读者'"></span></span></li>
<li class="dec" th:utext="${comment.commentContent}"></li>
<li class="other cf"><span class="time fl"
th:text="${#calendars.format(comment.createTime, 'yyyy-MM-dd HH:mm:ss')}"></span><span
th:text="${comment.createTimeFormat}"></span><span
class="fr"><a th:href="'javascript:toggleCommentUnLike(\''+${comment.id}+'\')'" onclick="javascript:;" class="zan"
style="padding-left: 10px">踩<i class="num" th:id="'unLikeCount'+${comment.id}">([[${comment.unLikesCount}]])</i></a></span><span
class="fr"><a th:href="'javascript:toggleCommentLike(\''+${comment.id}+'\')'" class="zan"