mirror of
https://github.com/cnodejs/nodeclub.git
synced 2025-12-08 19:55:55 +00:00
标记作者的回复
This commit is contained in:
parent
3448663a21
commit
9c0b3fdcd3
@ -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;
|
||||
}
|
||||
|
||||
@ -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'>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user