课程作业列表中展开按钮

This commit is contained in:
sw 2015-06-10 16:37:18 +08:00
parent 94e8bd13ab
commit 57804a118d
4 changed files with 13 additions and 8 deletions

View File

@ -41,9 +41,9 @@
<%= homework.description.html_safe %>
</div>
</div>
<div class="news_foot c_red" id="bid_show_more_des_button<%= homework.id%>" onclick="bid_show_more_des(<%= homework.id%>);" style="cursor:pointer;display: none;">
<%= l(:button_more)%>...
<span class="g-arr-down"></span>
<div class="news_foot currentDd" id="bid_show_more_des_button<%= homework.id%>" onclick="bid_show_more_des(<%= homework.id%>);" style="cursor:pointer;display: none;">
[展开]
</div>
<div class="cl"></div>

View File

@ -219,7 +219,7 @@ zh:
label_submit: 提交
button_project_tags_add: 增加
button_download: 下载
button_more: "更多»"
button_more: "更多"
button_delete: 删除
button_unfollow: 取消关注
button_follow: 关注

View File

@ -357,6 +357,15 @@ function news_show_more_des(id)
function bid_show_more_des(id)
{
$("#bid_description_" + id).toggleClass("news_description_none");
if($("#bid_description_" + id).hasClass("news_description_none"))
{
$("#bid_show_more_des_button" + id).html("[收起]");
}
else
{
$("#bid_show_more_des_button" + id).html("[展开]");
}
}
//课程作业结束时间倒计时

View File

@ -30,10 +30,6 @@ a:hover.news_foot{ color:#787b7e; border:1px solid #d4d4d4;}
.box_h3{ color:#15bccf; text-align:center; font-size:16px;}
.box_p{ color:#404040; margin-bottom:5px;}
.fb_item{ color:#919191; border:1px solid #919191; height:28px; margin-bottom:10px; padding-left:5px; width:290px;}
/*.icon_addm{ background:url(../images/img_floatbox.png) 0 -33px no-repeat; width:16px; height:16px; display:block; margin:5px 0 0 5px;}*/
/*.icon_addm:hover{background:url(../images/img_floatbox.png) 0 -61px no-repeat; }*/
/*.icon_removem{ background:url(../images/img_floatbox.png) -22px -33px no-repeat;width:16px; height:16px; display:block; margin:5px 0 0 5px}*/
/*.icon_removem:hover{background:url(../images/img_floatbox.png) -22px -61px no-repeat;}*/
a.btn_free{ background:#ff5722; display:block; width:80px; text-align:center; color:#fff; height:26px; padding-top:3px; margin-bottom:10px;}
a:hover.btn_free{ background:#d63502;}
/*成员邀请*/