个人主页
This commit is contained in:
parent
8e3bc28fa2
commit
bb4c8c340a
|
@ -1,3 +1,8 @@
|
|||
<style>
|
||||
div.content{padding-top:10px;}
|
||||
.pcontent>.school_list,.content>.school_list { padding-left: 5px;}
|
||||
</style>
|
||||
|
||||
<div id="RSide" class="fl">
|
||||
<div id="users_setting">
|
||||
<div id="users_tb_" class="users_tb_">
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
<div class="cl"></div>
|
||||
|
||||
<div class="message_list_box" nhname="list_more_div" id="nh_messages" style="display:none;">
|
||||
<div nhname="container" data-pagesize="3" data-url="<%= url_for(:controller => 'users', :action => 'user_feedback4show') %>" data-isclose="0" data-currpage="0" data-hasmore="1"></div>
|
||||
<div nhname="container" data-nodatamsg="暂无留言" data-pagesize="3" data-url="<%= url_for(:controller => 'users', :action => 'user_feedback4show') %>" data-isclose="0" data-currpage="0" data-hasmore="1"></div>
|
||||
<div class="message_list_more">
|
||||
<a nhname="expand" href="javascript:void(0)" class="c_blue02">点击展开更多</a> <a nhname="close" style="display:none" href="javascript:void(0)" class="c_lgrey fr mr10">收起</a>
|
||||
<div class="cl"></div>
|
||||
|
@ -62,7 +62,7 @@
|
|||
<% end %>
|
||||
</div>
|
||||
<div class="cl"></div>
|
||||
<div nhname="container" data-url="<%= url_for(:controller => 'users', :action => 'user_courses4show') %>" data-isclose="0" data-currpage="0" data-hasmore="1"></div>
|
||||
<div nhname="container" data-nodatamsg="暂无课程" data-url="<%= url_for(:controller => 'users', :action => 'user_courses4show') %>" data-isclose="0" data-currpage="0" data-hasmore="1"></div>
|
||||
<div class="cl"></div>
|
||||
<div class="message_list_more mt10">
|
||||
<a nhname="expand" href="javascript:void(0)" class="c_blue02">点击展开更多</a> <a nhname="close" style="display:none" href="javascript:void(0)" class="c_lgrey fr">收起</a>
|
||||
|
@ -73,7 +73,7 @@
|
|||
|
||||
<div class="users_courses_box line_box mb10" nhname="list_more_div" style="display:none;">
|
||||
<h4 class="users_h4">课程动态</h4>
|
||||
<div nhname="container" data-url="<%= url_for(:controller => 'users', :action => 'user_course_activities') %>" data-isclose="0" data-currpage="0" data-hasmore="1"></div>
|
||||
<div nhname="container" data-nodatamsg="暂无动态" data-url="<%= url_for(:controller => 'users', :action => 'user_course_activities') %>" data-isclose="0" data-currpage="0" data-hasmore="1"></div>
|
||||
<div class="message_list_more">
|
||||
<a nhname="expand" href="javascript:void(0)" class="c_blue02">点击展开更多</a> <a nhname="close" style="display:none" href="javascript:void(0)" class="c_lgrey fr">收起</a>
|
||||
<div class="cl"></div>
|
||||
|
@ -92,7 +92,7 @@
|
|||
<% end %>
|
||||
</div>
|
||||
<div class="cl"></div>
|
||||
<div nhname="container" data-url="<%= url_for(:controller => 'users', :action => 'user_projects4show') %>" data-isclose="0" data-currpage="0" data-hasmore="1"></div>
|
||||
<div nhname="container" data-nodatamsg="暂无项目" data-url="<%= url_for(:controller => 'users', :action => 'user_projects4show') %>" data-isclose="0" data-currpage="0" data-hasmore="1"></div>
|
||||
<div class="cl"></div>
|
||||
<div class="message_list_more mt10">
|
||||
<a nhname="expand" href="javascript:void(0)" class="c_blue02">点击展开更多</a> <a nhname="close" style="display:none" href="javascript:void(0)" class="c_lgrey fr">收起</a>
|
||||
|
@ -103,7 +103,7 @@
|
|||
|
||||
<div class="users_courses_box line_box mb10" nhname="list_more_div" style="display:none;">
|
||||
<h4 class="users_h4">项目动态</h4>
|
||||
<div nhname="container" data-url="<%= url_for(:controller => 'users', :action => 'user_project_activities') %>" data-isclose="0" data-currpage="0" data-hasmore="1"></div>
|
||||
<div nhname="container" data-nodatamsg="暂无动态" data-url="<%= url_for(:controller => 'users', :action => 'user_project_activities') %>" data-isclose="0" data-currpage="0" data-hasmore="1"></div>
|
||||
<div class="message_list_more">
|
||||
<a nhname="expand" href="javascript:void(0)" class="c_blue02">点击展开更多</a> <a nhname="close" style="display:none" href="javascript:void(0)" class="c_lgrey fr">收起</a>
|
||||
<div class="cl"></div>
|
||||
|
@ -262,6 +262,7 @@
|
|||
return;
|
||||
}
|
||||
if(hasmore == '0'){
|
||||
change_status_4_list_more_div(params,'get');
|
||||
return;
|
||||
}
|
||||
var url = p.container.data('url');
|
||||
|
@ -309,7 +310,9 @@
|
|||
}else{
|
||||
p.clbtn.hide();
|
||||
}
|
||||
if( p.container.data('hasmore') == '1' || p.container.data('isclose')=='1' ){
|
||||
if($("div[nhname='rec']",p.container).length == 0){
|
||||
p.exbtn.html(p.nodatamsg);
|
||||
}else if( p.container.data('hasmore') == '1' || p.container.data('isclose')=='1' ){
|
||||
p.exbtn.html('点击展开更多');
|
||||
}else{
|
||||
p.exbtn.html('没有更多了');
|
||||
|
@ -322,6 +325,7 @@
|
|||
params.exbtn = $("a[nhname='expand']",div);
|
||||
params.clbtn = $("a[nhname='close']",div);
|
||||
params.size = params.container.data('pagesize');
|
||||
params.nodatamsg = params.container.data('nodatamsg');
|
||||
if( params.size == undefined ){
|
||||
params.size = 8;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue