Showing
1 changed file
with
1 additions
and
1 deletions
@@ -167,7 +167,7 @@ class Comment extends Page { | @@ -167,7 +167,7 @@ class Comment extends Page { | ||
167 | 167 | ||
168 | if (val.comment_num > 3) { | 168 | if (val.comment_num > 3) { |
169 | // 更多评论 | 169 | // 更多评论 |
170 | - let commentNum = parseInt(val.comment_num, 10) > 7 ? 10 : parseInt(val.comment_num, 10) + 3; | 170 | + let commentNum = parseInt(val.comment_num, 10) > 10 ? 10 : parseInt(val.comment_num, 10); |
171 | let $moreComment = $(` | 171 | let $moreComment = $(` |
172 | <div class="more-comment open-more" id="${val.id}">所有${commentNum}条评论 ▼</div> | 172 | <div class="more-comment open-more" id="${val.id}">所有${commentNum}条评论 ▼</div> |
173 | <div class="more-comment close-more">收起评论 ▲</div>`); | 173 | <div class="more-comment close-more">收起评论 ▲</div>`); |
-
Please register or login to post a comment