修改系统消息提示样式

This commit is contained in:
ouyangxuhua 2015-09-14 16:05:29 +08:00
parent 4a7d3c9072
commit 9ba0d3293e
3 changed files with 4 additions and 3 deletions

View File

@ -26,7 +26,7 @@
return false;
}
else if (obj.length > 10000) {
$("#content_notice_span").text("内容过长,超过255个字符");
$("#content_notice_span").text("内容过长,超过10000个字符");
$("#content_notice_span").css('color', '#ff0000');
$("#content_notice_span").focus();
return false;

View File

@ -62,7 +62,7 @@
:onmouseout => "message_titile_hide($(this));"
%>
</li>
<div style="display:none;" class="message_title_red">
<div style="display:none;" class="message_title_red system_message_style">
<%= usm.content.nil? ? usm.description.html_safe : usm.content.html_safe %>
</div>
<li class="homepageNewsTime fl"><%= time_tag(usm.created_at).html_safe %> </li>
@ -356,7 +356,7 @@
:onmouseout => "message_titile_hide($(this));"
%>
</li>
<div style="display:none;" class="message_title_red">
<div style="display:none;" class="message_title_red system_message_style">
<%= ma.content.nil? ? ma.description.html_safe : ma.content.html_safe %>
</div>
<li class="homepageNewsTime fl"><%= time_tag(ma.created_at).html_safe %> </li>

View File

@ -1114,3 +1114,4 @@ a:hover.tijiao{ background:#0f99a9;}
#cboxPrevious{position:absolute; bottom:0px; left:0; color:#444;}
#cboxNext{position:absolute; bottom:0px; left:63px; color:#444;}
#cboxClose{position:absolute; bottom:0; right:0; display:block; color:#444;}
.system_message_style {line-height: 19.1px; max-width: 300px;work-wrap: break-word; word-break: break-all;}