教学案例细节修改

dev_bj
caishi 6 years ago
parent b7bffd2c99
commit 7e542c867e

@ -1,4 +1,4 @@
<p class="lineh-25 font-22 mb20">上传文档</p> <p class="lineh-25 font-22 mb20">上传教学案例</p>
<div class="library-form-container"> <div class="library-form-container">
<%= form_for(@library) do |f| %> <%= form_for(@library) do |f| %>
<%= hidden_field_tag :apply_publish, false %> <%= hidden_field_tag :apply_publish, false %>
@ -7,7 +7,7 @@
<div class="clearfix mb20"> <div class="clearfix mb20">
<span class="upload_Title">标题</span> <span class="upload_Title">标题</span>
<li class="fl"> <li class="fl">
<%= f.text_field :title, placeholder: '例如:软件工程教学案例', class: 'greyInput winput-240-35 mr20 fl' %> <%= f.text_field :title, placeholder: '例如:软件工程教学案例', class: 'greyInput winput-300-35 mr20 fl' %>
<p style="height:20px;line-height:20px;"><span class="color-red none" id="title_notice">请输入标题</span></p> <p style="height:20px;line-height:20px;"><span class="color-red none" id="title_notice">请输入标题</span></p>
</li> </li>
<span class="color-grey-c font-12 fl mt5">简明扼要介绍文档&视频所包含的主要的内容</span> <span class="color-grey-c font-12 fl mt5">简明扼要介绍文档&视频所包含的主要的内容</span>
@ -78,7 +78,7 @@
autoFocus: false, autoFocus: false,
// 用于增加自定义工具栏的功能可以直接插入HTML标签不使用默认的元素创建图标 // 用于增加自定义工具栏的功能可以直接插入HTML标签不使用默认的元素创建图标
dialogMaskOpacity: 0.6, dialogMaskOpacity: 0.6,
placeholder: "请输入参考答案", placeholder: "请添加描述",
imageUpload: true, imageUpload: true,
imageFormats: ["jpg", "jpeg", "gif", "png", "bmp", "webp", "JPG", "JPEG", "GIF", "PNG", "BMP", "WEBP"], imageFormats: ["jpg", "jpeg", "gif", "png", "bmp", "webp", "JPG", "JPEG", "GIF", "PNG", "BMP", "WEBP"],
imageUploadURL: "<%= upload_with_markdown_path(container_id: 0, container_type: 'MarkDown') %>" //url imageUploadURL: "<%= upload_with_markdown_path(container_id: 0, container_type: 'MarkDown') %>" //url

@ -1,6 +1,6 @@
<div class="educontent mb50"> <div class="educontent mb50">
<p class="mt10 mb20 clearfix lineh-20"> <p class="mt10 mb20 clearfix lineh-20">
<%= link_to '文库', libraries_path, class: 'color-grey-9' %> &gt; <%= link_to '教学案例', libraries_path, class: 'color-grey-9' %> &gt;
<span class="color-grey-3">新建</span> <span class="color-grey-3">新建</span>
</p> </p>

@ -287,6 +287,7 @@ a.color-red-dd:hover{color: #C61616!important;}
.greyInput:focus{background-color: #fff;} .greyInput:focus{background-color: #fff;}
/*输入框样式---------宽度为固定长度*/ /*输入框样式---------宽度为固定长度*/
.winput-300-35{width: 300px;height: 35px;padding: 5px;box-sizing: border-box;}
.winput-240-45{width: 240px;height: 45px;padding: 5px;box-sizing: border-box;} .winput-240-45{width: 240px;height: 45px;padding: 5px;box-sizing: border-box;}
.winput-240-40{width: 240px;height: 40px;padding: 5px;box-sizing: border-box;} .winput-240-40{width: 240px;height: 40px;padding: 5px;box-sizing: border-box;}
.winput-240-35{width: 240px;height: 35px;padding: 5px;box-sizing: border-box;} .winput-240-35{width: 240px;height: 35px;padding: 5px;box-sizing: border-box;}

Loading…
Cancel
Save