上传图片弹框样式

This commit is contained in:
caishi 2018-02-09 11:04:41 +08:00
parent 21db2d1f18
commit 818535492f
2 changed files with 7 additions and 7 deletions

View File

@ -15,12 +15,12 @@
<% end %> <% end %>
<div class="field line_field"> <div class="field line_field">
<label><span>*</span>数据名称:</label> <label class="field_lab"><span>*</span>数据名称:</label>
<%= f.text_field :name, :class => "wb85" %> <%= f.text_field :name, :class => "wb85" %>
<p class="cl" style="padding-left: 10%;color: red;height: 20px"><span id="input_name_notice" class="none">请输入数据名称</span></p> <p class="cl" style="padding-left: 10%;color: red;height: 20px"><span id="input_name_notice" class="none">请输入数据名称</span></p>
</div> </div>
<div class="field line_field mb50"> <div class="field line_field mb50">
<label><span>*</span>数据分类:</label> <label class="field_lab"><span>*</span>数据分类:</label>
<%= f.select :main_category_id, (@main_categories.collect { |mc| [mc.name, mc.id] }), <%= f.select :main_category_id, (@main_categories.collect { |mc| [mc.name, mc.id] }),
{:no_label => true}, :onchange => 'getSubCategory(this.options[this.options.selectedIndex].value)', {:no_label => true}, :onchange => 'getSubCategory(this.options[this.options.selectedIndex].value)',
:class => "w150" %> :class => "w150" %>
@ -31,13 +31,13 @@
</div> </div>
</div> </div>
<div class="field line_field"> <div class="field line_field">
<label>数据描述:</label> <label class="field_lab">数据描述:</label>
<div id="statistics_description" class="new_li fl"> <div id="statistics_description" class="new_li fl">
<%= f.text_area :description, :class => "wb85 h200 mb20", :style => "display: none;" %> <%= f.text_area :description, :class => "wb85 h200 mb20", :style => "display: none;" %>
</div> </div>
</div> </div>
<div class="field cl"> <div class="field cl">
<label>&nbsp;</label> <label class="field_lab">&nbsp;</label>
<div class="fl"> <div class="fl">
<%= render :partial => 'attachments/form_statistic', :locals => {:container => @statistic, :isReply => @isReply} %> <%= render :partial => 'attachments/form_statistic', :locals => {:container => @statistic, :isReply => @isReply} %>
</div> </div>

View File

@ -952,9 +952,9 @@ a.syllabusbox_a_blue{ color:#3b94d6;}
.mainCon{position: relative;min-height: 100%;height: auto !important;height: 100%;} .mainCon{position: relative;min-height: 100%;height: auto !important;height: 100%;}
.pos_footer{position: absolute;bottom: 0;width: 100%;clear: both;z-index: 99999; } .pos_footer{position: absolute;bottom: 0;width: 100%;clear: both;z-index: 99999; }
#create_new_statis form div.field{clear: both;zoom: 1;} #create_new_statis form div.field{clear: both;zoom: 1;}
#create_new_statis form label{float: left;width: 10%;text-align: center;font-size: 14px;height: 35px;line-height: 35px;} #create_new_statis form label.field_lab{float: left;width: 10%;text-align: center;font-size: 14px;height: 35px;line-height: 35px;}
#create_new_statis form label span{color: red} #create_new_statis form label.field_lab span{color: red}
#create_new_statis .line_field input,#create_new_statis .line_field select{float: left;height: 35px;line-height: 35px;border-radius: 4px;} #create_new_statis .line_field input[type='text'],#create_new_statis .line_field select{float: left;height: 35px;line-height: 35px;border-radius: 4px;}
.input_tag{height: 30px!important;border-radius: 3px!important;width: 160px} .input_tag{height: 30px!important;border-radius: 3px!important;width: 160px}
.tag_modal span{display: inline-block;border-radius: 3px;border:1px solid #dddddd;background: #FFFFFF;padding: 3px 7px;margin-right: 5px ;margin-top: 3px} .tag_modal span{display: inline-block;border-radius: 3px;border:1px solid #dddddd;background: #FFFFFF;padding: 3px 7px;margin-right: 5px ;margin-top: 3px}
.tag_del{cursor: pointer} .tag_del{cursor: pointer}