样式问题

dev_bj
caishi 5 years ago
parent ac5536f3f7
commit 880f9e3a6c

@ -1,6 +1,6 @@
<div class="librariesField"> <div class="librariesField pointer" onclick="$('#_file').click();">
<li> <li>
<a href="javascript:void(0)" class="color-blue font-18" onclick="$('#_file').click();" data-tip-down="请选择文件上传">上传附件</a> <a href="javascript:void(0)" class="color-blue font-18" data-tip-down="请选择文件上传">上传附件</a>
<!--<p class="color-grey-c">(单个文件<%#= number_to_human_size(Setting.attachment_max_size.to_i.kilobytes) %>以内)</p>--> <!--<p class="color-grey-c">(单个文件<%#= number_to_human_size(Setting.attachment_max_size.to_i.kilobytes) %>以内)</p>-->
<p class="color-grey-c mt7">从我的电脑选择要上传的文档按住CTRL可以上传多份文档</p> <p class="color-grey-c mt7">从我的电脑选择要上传的文档按住CTRL可以上传多份文档</p>
<div id="network_issue" class="fl ml10 color-red none">上传出现错误,请检查您的网络环境,并刷新页面重新上传。</div> <div id="network_issue" class="fl ml10 color-red none">上传出现错误,请检查您的网络环境,并刷新页面重新上传。</div>

@ -15,9 +15,9 @@
</div> </div>
<div class="padding30 bor-top-greyE"> <div class="padding30 bor-top-greyE">
<div class="clearfix df"> <div class="clearfix">
<span class="upload_Title">描述</span> <span class="upload_Title">描述</span>
<div class="flex1"> <div class="fl" style="width: 1078px">
<div id="libraries_description" style="margin:0px"> <div id="libraries_description" style="margin:0px">
<%= f.text_area :content %> <%= f.text_area :content %>
</div> </div>
@ -25,7 +25,7 @@
</div> </div>
</div> </div>
<div> <div style="padding-left: 62px">
<%= render partial: 'attachments/from_libraries', locals: { container: @library } %> <%= render partial: 'attachments/from_libraries', locals: { container: @library } %>
<p s <p s
tyle="height:22px;line-height:22px;"><span class="color-red none" id="file_notice">请上传附件</span></p> tyle="height:22px;line-height:22px;"><span class="color-red none" id="file_notice">请上传附件</span></p>

@ -5,8 +5,8 @@
<span class="font-18 fl color-grey-3">教学案例</span> <span class="font-18 fl color-grey-3">教学案例</span>
<%= link_to '新建', new_library_path, class: 'fr color-blue font-16 mt3' %> <%= link_to '新建', new_library_path, class: 'fr color-blue font-16 mt3' %>
</p> </p>
<div class="clearfix pt20 pl30 pr30"> <div class="clearfix pl30 pr30">
<ul class="fl library_nav"> <ul class="fl library_nav mt20">
<li class="<%= params[:type] == 'mine' ? '' : 'active' %>"> <li class="<%= params[:type] == 'mine' ? '' : 'active' %>">
<%= link_to '全部', libraries_path(search: params[:search]), remote: true %> <%= link_to '全部', libraries_path(search: params[:search]), remote: true %>
</li> </li>
@ -14,7 +14,7 @@
<%= link_to '我的', libraries_path(search: params[:search], type: 'mine'), remote: true %> <%= link_to '我的', libraries_path(search: params[:search], type: 'mine'), remote: true %>
</li> </li>
</ul> </ul>
<div class="edu-position fr"> <div class="edu-position fr mt12">
<%= hidden_field_tag(:type, params[:type]) %> <%= hidden_field_tag(:type, params[:type]) %>
<input class="winput-300-35 panel-box-sizing" placeholder="输入教学案例标题、编号进行检索" type="text" id="search_name"> <input class="winput-300-35 panel-box-sizing" placeholder="输入教学案例标题、编号进行检索" type="text" id="search_name">
<a href="javascript:void(0);" class="edu-btn-search font-16 color-grey" id="search"><i class="fa fa-search"></i></a> <a href="javascript:void(0);" class="edu-btn-search font-16 color-grey" id="search"><i class="fa fa-search"></i></a>

@ -50,7 +50,7 @@
<%= link_to '编辑', edit_library_path(id: @library.id), class: 'white-btn edu-blueline-btn fr' %> <%= link_to '编辑', edit_library_path(id: @library.id), class: 'white-btn edu-blueline-btn fr' %>
<% end %> <% end %>
</p> </p>
<div class="df mb20"> <div class="df">
<%= link_to image_tag(url_to_avatar(@library.user), width: 50, height: 50, class: 'radius mr15 mt3'), user_path(@library.user) %> <%= link_to image_tag(url_to_avatar(@library.user), width: 50, height: 50, class: 'radius mr15 mt3'), user_path(@library.user) %>
<div class="flex1"> <div class="flex1">
<li class="font-16"><%= @library.user.show_real_name %></li> <li class="font-16"><%= @library.user.show_real_name %></li>

@ -862,7 +862,7 @@ table.tBodyScroll thead th{
color: #fff!important; color: #fff!important;
font-size: 12px!important; font-size: 12px!important;
height: 20px; height: 20px;
line-height: 19px; line-height: 19px!important;
margin-top: 18px; margin-top: 18px;
margin-left: 15px; margin-left: 15px;
} }
@ -3468,10 +3468,10 @@ line-height: 16px;display: inline-block;color: rgba(65, 140, 205, 1) !important;
background: #fff;padding:30px;margin-bottom: 15px;display: flex; background: #fff;padding:30px;margin-bottom: 15px;display: flex;
} }
.upload_Title{ .upload_Title{
position: relative;margin-right: 30px;float: left;line-height: 35px;font-size: 16px; position: relative;margin-right: 30px;float: left;line-height: 35px;font-size: 16px;width: 32px;
} }
.upload_Title:before{ .upload_Title:before{
position: absolute;left: -10px;top:2px;content: '*';color: #FE4F4C; position: absolute;left: -10px;top:2px;content: '*';color: #FE4F4C;width: 32px;
} }
.librariesField{ .librariesField{
width: 100%;background: #F2F9FF;justify-content: center;align-items: center;display: -webkit-flex;text-align: center; width: 100%;background: #F2F9FF;justify-content: center;align-items: center;display: -webkit-flex;text-align: center;

Loading…
Cancel
Save