This commit is contained in:
cxt 2018-12-20 11:46:06 +08:00
parent 537560654f
commit c8eb0c9fa6
2 changed files with 3 additions and 4 deletions

View File

@ -21,8 +21,7 @@
:minHeight=>500,
:class => 'talk_text fl',
:input_html => { :id => 'message_content',
:class => 'talk_text fl',
:maxlength => 20000 }%>
:class => 'talk_text fl'}%>
<div class="cl"></div>
<p id="message_content_span"></p>
<p id="e_tip" class="c_grey"></p>

View File

@ -40,8 +40,8 @@ function regexTopicDescription()
$("#message_content_span").css('color','#ff0000');
return false;
}
else if(name.length >=20000){
$("#message_content_span").text("描述最多20000个汉字(或40000个英文字符)");
else if(name.length >=60000){
$("#message_content_span").text("描述最多60000个汉字(或120000个英文字符)");
$("#message_content_span").css('color','#ff0000');
return false;
}