标记作者的回复

This commit is contained in:
alsotang 2017-03-06 18:44:17 +08:00
parent 3448663a21
commit 9c0b3fdcd3
2 changed files with 8 additions and 1 deletions

View File

@ -551,6 +551,13 @@ a.user_avatar:hover {
font-weight: bold;
}
.reply_by_author {
color: #fff;
background-color: #6ba44e;
padding: 2px;
font-size: 12px;
}
.reply_time {
font-size: 11px;
}

View File

@ -10,7 +10,7 @@
<a class="reply_time" href="#<%= reply._id %>"><%= indexInCollection + 1 %>楼•<%= reply.create_at_ago()
%></a>
<% if(reply.author.loginname == topic.author.loginname){ %>
<span style="color: red; font-weight: 600; font-size: 12px;">[作者]</span>
<span class="reply_by_author">作者</span>
<% } %>
</div>
<div class='user_action'>