如果没有大于两条回复。那么展开回复就要隐藏

This commit is contained in:
lizanle 2015-09-25 16:34:01 +08:00
parent 39c5571d73
commit 9a5b83c898
1 changed files with 2 additions and 0 deletions

View File

@ -75,7 +75,9 @@
<div class="homepagePostReplyBannerCount">回复(<%=@reply_count %></div>
<div class="homepagePostReplyBannerTime"></div>
<div class="homepagePostReplyBannerMore">
<% if @reply_count > 2%>
<a href="javascript:void(0);" class="replyGrey" id="reply_btn_<%= @memo.id%>" onclick="expand_reply('#reply_div_<%= @memo.id %>','#reply_btn_<%= @memo.id%>')" data-count="<%= @reply_count %>" data-init="0" >点击展开更多回复</a>
<% end %>
</div>
</div>
<div class="" id="reply_div_<%= @memo.id %>">