文库编辑

dev_bj
caishi 5 years ago
parent ef86cc6b0b
commit 924939049a

@ -4,14 +4,14 @@
<%= hidden_field_tag :apply_publish, false %>
<div class="edu-back-white">
<div class="padding30">
<p class="clearfix mb20">
<div class="clearfix mb20">
<span class="upload_Title">标题</span>
<li class="fl">
<%= f.text_field :title, placeholder: '例如:软件工程教学案例', class: 'greyInput winput-240-35 mr20 fl' %>
<p style="height:20px;line-height:20px;"><span class="color-red none" id="title_notice">请输入标题</span></p>
</li>
<span class="color-grey-c font-12 fl mt5">简明扼要介绍文档&视频所包含的主要的内容</span>
</p>
</div>
<div>
<%= render partial: 'attachments/from_libraries', locals: { container: @library } %>
<p style="height:22px;line-height:22px;"><span class="color-red none" id="file_notice">请上传附件</span></p>

@ -85,7 +85,7 @@
}else{
$(item).html('点击展开<i class="iconfont icon-xiajiantou color-blue font-14 ml5"></i>');
$(item).attr("at","0");
$(".private_reason").css({maxHeight:"150px"});
$(".private_reason").css({maxHeight:"163px"});
}
}
var homeworkDescr = editormd.markdownToHTML("labraries_editorMd_content", {

@ -3359,7 +3359,7 @@ line-height: 16px;display: inline-block;color: rgba(65, 140, 205, 1) !important;
width: 100%;background: #F2F9FF;justify-content: center;align-items: center;display: -webkit-flex;text-align: center;
height: 120px;border-radius: 4px;border:1px dashed #4cacff;
}
.private_reason{overflow: hidden;max-height:150px;}
.private_reason{overflow: hidden;max-height:163px;}
.private_reason li{margin-bottom: 10px;}
.successPage{
justify-content: center;align-items: center;display: -webkit-flex;height: 570px;text-align: center;margin-bottom: 50px;

Loading…
Cancel
Save