2015-08-26 11:41:32 +08:00
|
|
|
<!--<div id="RSide" class="fl">-->
|
|
|
|
<script>
|
|
|
|
function addWatch(){
|
|
|
|
|
|
|
|
}
|
|
|
|
function cancelWatch(){
|
|
|
|
|
|
|
|
}
|
|
|
|
</script>
|
2015-08-28 17:27:51 +08:00
|
|
|
<div class="courses_box" id="RSide">
|
2015-07-14 15:16:15 +08:00
|
|
|
<div class="courses_top mb10" id="<%= (@action == 'fans' || @action == 'visitor' ) ? 'nh_fans_list' : 'nh_wacth_list' %>">
|
|
|
|
<% if @action == 'fans' %>
|
2015-07-09 15:27:49 +08:00
|
|
|
<h2 class="courses_h2 fl">粉丝</h2>
|
2015-08-26 14:39:33 +08:00
|
|
|
<div class="courses_select fr">共有<span class="c_orange" nh_name="fans_count" id="fans_span"><%=@obj_count%></span>名粉丝</div>
|
2015-07-14 15:16:15 +08:00
|
|
|
<% elsif @action == 'visitor' %>
|
|
|
|
<h2 class="courses_h2 fl">访客</h2>
|
|
|
|
<div class="courses_select fr">共有<span class="c_orange"><%=@obj_count%></span>访客</div>
|
2015-07-09 15:27:49 +08:00
|
|
|
<% else %>
|
|
|
|
<h2 class="courses_h2 fl">关注</h2>
|
2015-08-26 14:39:33 +08:00
|
|
|
<div class="courses_select fr">一共关注<span class="c_orange" nh_name="watcher_count" id="watch_span"><%=@obj_count%></span>人</div>
|
2015-07-09 15:27:49 +08:00
|
|
|
<% end %>
|
|
|
|
<div class="cl"></div>
|
|
|
|
</div>
|
2015-08-26 11:41:32 +08:00
|
|
|
<div id="users_list">
|
|
|
|
<%# for item in @list %>
|
|
|
|
<%= render :partial => 'users/user_fans_item', :locals => {:list => @list,:target=>@user,:action_name=>@action,:page=>params[:page]} %>
|
|
|
|
<%# end %>
|
|
|
|
</div>
|
2015-07-09 15:27:49 +08:00
|
|
|
<p id="nodata" class="nodata" style="display:<%= @list.count > 0 ? 'none' : 'block' %>;"><%= l(:label_no_data) %></p>
|
|
|
|
</div>
|
|
|
|
<ul class="wlist" style=" border:none;">
|
|
|
|
<%= pagination_links_full @obj_pages, @obj_count, :per_page_links => false, :remote => false, :flag => true%>
|
|
|
|
</ul>
|
|
|
|
<div class="cl"></div>
|
2015-08-26 11:41:32 +08:00
|
|
|
<!--</div>-->
|