文章页评论数显示

This commit is contained in:
liuzhihang 2022-11-05 10:38:47 +08:00
parent bf1592f35f
commit da978d534d
2 changed files with 7 additions and 9 deletions

View File

@ -10842,7 +10842,7 @@ span.post-meta-position {
opacity: 1; opacity: 1;
} }
#twikoo-count { #comment-count {
font-weight: 800; font-weight: 800;
color: var(--heo-white); color: var(--heo-white);
} }

View File

@ -66,13 +66,10 @@
<span class="post-meta-label">热度:</span> <span class="post-meta-label">热度:</span>
<span id="visit" th:text="${post.stats.visit}"></span> <span id="visit" th:text="${post.stats.visit}"></span>
</span> </span>
<span class="post-meta-commentcount" title="评论数"><i class="fa-solid fa-message"> <span class="post-meta-commentcount" onclick="heo.scrollTo('#post-comment');" title="评论数">
<i class="iconfont icon-comment-alt"></i>
</i>
<span class="post-meta-label">评论:</span> <span class="post-meta-label">评论:</span>
<a href="#post-comment"> <a href="#post-comment"><span id="comment-count" th:text="${post.stats.comment}"></span></a>
<span id="comment-count" th:text="${post.stats.comment}"></span>
</a>
</span> </span>
</div> </div>
</div> </div>
@ -162,7 +159,8 @@
<div class="post-copyright" th:if="${theme.config.post.copyright}"> <div class="post-copyright" th:if="${theme.config.post.copyright}">
<div class="post-copyright__author"> <div class="post-copyright__author">
<!-- 版权页 以及版权描述文字 --> <!-- 版权页 以及版权描述文字 -->
<a class="post-copyright__original" th:href="@{${theme.config.post.copyrightAgreement}}" title="该文章为原创文章,注意版权协议">原创</a> <a class="post-copyright__original" th:href="@{${theme.config.post.copyrightAgreement}}"
title="该文章为原创文章,注意版权协议">原创</a>
<a class="post-copyright-title" href="#"><span th:text="${post.spec.title}"></span></a> <a class="post-copyright-title" href="#"><span th:text="${post.spec.title}"></span></a>
</div> </div>
<div class="post-copyright__type"> <div class="post-copyright__type">