课程通知更多按钮
This commit is contained in:
parent
419dedfa1a
commit
c33af3d4bf
|
@ -36,8 +36,13 @@
|
||||||
<%= link_to h(news.title), news_path(news),:class => 'problem_tit fl fb c_dblue' %>
|
<%= link_to h(news.title), news_path(news),:class => 'problem_tit fl fb c_dblue' %>
|
||||||
<br />
|
<br />
|
||||||
<div class="cl mb5"></div>
|
<div class="cl mb5"></div>
|
||||||
<div id="news_description_<%= news.id %>" class="news_description mt5">
|
<script>
|
||||||
<%= news.description.html_safe %>
|
$(function(){if($("#news_description_<%= news.id%>_content").height()>360){$("#news_foot_<%= news.id%>").show();}});
|
||||||
|
</script>
|
||||||
|
<div id="news_description_<%= news.id%>" class="news_description mt5">
|
||||||
|
<div id="news_description_<%= news.id%>_content" class="upload_img">
|
||||||
|
<%= news.description.html_safe %>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="news_foot c_red" style="cursor:pointer;display: none;" onclick="news_show_more_des(<%= news.id %>);" id="news_foot_<%= news.id %>">
|
<div class="news_foot c_red" style="cursor:pointer;display: none;" onclick="news_show_more_des(<%= news.id %>);" id="news_foot_<%= news.id %>">
|
||||||
<%= l(:button_more)%>...
|
<%= l(:button_more)%>...
|
||||||
|
|
Loading…
Reference in New Issue