|
|
@ -45,6 +45,7 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.line_block table thead tr{
|
|
|
|
.line_block table thead tr{
|
|
|
|
/*background-color: #d1d1d1;*/
|
|
|
|
/*background-color: #d1d1d1;*/
|
|
|
|
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.line_block table td{
|
|
|
|
.line_block table td{
|
|
|
|
height: 2em;
|
|
|
|
height: 2em;
|
|
|
@ -59,13 +60,59 @@
|
|
|
|
/*.filename a:after {
|
|
|
|
/*.filename a:after {
|
|
|
|
content: "...";
|
|
|
|
content: "...";
|
|
|
|
}*/
|
|
|
|
}*/
|
|
|
|
|
|
|
|
.blueinputbar{
|
|
|
|
|
|
|
|
-o-transform-origin: 138px 46.5px;
|
|
|
|
|
|
|
|
-o-transition: background 0.2s cubic-bezier(0, 0, 1, 1);
|
|
|
|
|
|
|
|
-webkit-border-bottom-left-radius: 3px;
|
|
|
|
|
|
|
|
-webkit-border-bottom-right-radius: 3px;
|
|
|
|
|
|
|
|
-webkit-border-radius: 3px;
|
|
|
|
|
|
|
|
-webkit-border-top-left-radius: 3px;
|
|
|
|
|
|
|
|
-webkit-border-top-right-radius: 3px;
|
|
|
|
|
|
|
|
-webkit-box-shadow: rgba(0, 0, 0, 0.047) 0px 1px 3px 0px inset, rgba(82, 168, 236, 0.600) 0px 0px 8px 0px;
|
|
|
|
|
|
|
|
-webkit-transform-origin: 138px 46.5px;
|
|
|
|
|
|
|
|
-webkit-transition: background 0.2s cubic-bezier(0, 0, 1, 1);
|
|
|
|
|
|
|
|
-webkit-transition-delay: 0;
|
|
|
|
|
|
|
|
-webkit-transition-duration: 0.2s;
|
|
|
|
|
|
|
|
-webkit-transition-property: background;
|
|
|
|
|
|
|
|
-webkit-transition-timing-function: cubic-bezier(0, 0, 1, 1);
|
|
|
|
|
|
|
|
align-content: stretch;
|
|
|
|
|
|
|
|
align-items: stretch;
|
|
|
|
|
|
|
|
align-self: stretch;
|
|
|
|
|
|
|
|
background: #FFFFFF;
|
|
|
|
|
|
|
|
border-bottom: 1px solid #56B4EF;
|
|
|
|
|
|
|
|
border-left: 1px solid #56B4EF;
|
|
|
|
|
|
|
|
border-radius: 3px;
|
|
|
|
|
|
|
|
border-right: 1px solid #56B4EF;
|
|
|
|
|
|
|
|
border-top: 1px solid #56B4EF;
|
|
|
|
|
|
|
|
color: #333333;
|
|
|
|
|
|
|
|
justify-content: flex-start;
|
|
|
|
|
|
|
|
margin: 0px;
|
|
|
|
|
|
|
|
order: 0;
|
|
|
|
|
|
|
|
outline: #333333 0px;
|
|
|
|
|
|
|
|
overflow-wrap: break-word;
|
|
|
|
|
|
|
|
resize: none;
|
|
|
|
|
|
|
|
text-shadow: none;
|
|
|
|
|
|
|
|
transform-origin: 138px 46.5px;
|
|
|
|
|
|
|
|
transition: background 0.2s cubic-bezier(0, 0, 1, 1);
|
|
|
|
|
|
|
|
unicode-bidi: embed;
|
|
|
|
|
|
|
|
vertical-align: top;
|
|
|
|
|
|
|
|
word-wrap: break-word;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
input.blueinputbar:focus {
|
|
|
|
|
|
|
|
box-shadow: rgba(0, 0, 0, 0.047) 0px 1px 3px 0px inset, rgba(82, 168, 236, 0.600) 0px 0px 5px 0px;
|
|
|
|
|
|
|
|
border-bottom: 1px solid #56B4EF;
|
|
|
|
|
|
|
|
border-left: 1px solid #56B4EF;
|
|
|
|
|
|
|
|
border-radius: 3px;
|
|
|
|
|
|
|
|
border-right: 1px solid #56B4EF;
|
|
|
|
|
|
|
|
border-top: 1px solid #56B4EF;
|
|
|
|
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
|
|
<% content_for :top_field do%>
|
|
|
|
<% content_for :top_field do%>
|
|
|
|
<div style="margin: 10px 5%;">
|
|
|
|
<div style="margin: 10px 5%;vertical-align: bottom;">
|
|
|
|
<%= form_tag( search_stores_path, method: 'get') do %>
|
|
|
|
<%= form_tag( search_stores_path, method: 'get') do %>
|
|
|
|
<%= text_field_tag 'name', nil, size:"100", placeholder:'请输入要搜索的关键字' %>
|
|
|
|
<%= text_field_tag 'name', nil, size:"100", placeholder:'请输入要搜索的关键字', :class => 'blueinputbar' %>
|
|
|
|
<%= submit_tag l(:label_search), class:"whiteButton m3p10 h30"%>
|
|
|
|
<%= submit_tag l(:label_search), class:"whiteButton", style: "padding: 0px 10px;"%>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
@ -79,17 +126,17 @@
|
|
|
|
<table style="width: 100%">
|
|
|
|
<table style="width: 100%">
|
|
|
|
<thead>
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td>文件名</td>
|
|
|
|
<td><%=l(:label_attachment)%></td>
|
|
|
|
<td>下载次数</td>
|
|
|
|
<td><%=l(:field_downloads)%></td>
|
|
|
|
<td>下载</td>
|
|
|
|
<td><%=l(:button_download)%></td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tbody>
|
|
|
|
<% k.each do |c1|%>
|
|
|
|
<% k.each do |c1|%>
|
|
|
|
<tr class="<%= cycle 'odd', 'even' %>">
|
|
|
|
<tr class="<%= cycle 'odd', 'even' %>">
|
|
|
|
<td class="filename" style="width:62%;"><%= link_to c1.filename, (attachFromUrl c1), {:title => c1.filename, :target => "_blank"} %> </td>
|
|
|
|
<td class="filename" style="width:62%;"><%= link_to c1.filename, (attachFromUrl c1), {:title => c1.filename, :target => "_blank"} %> </td>
|
|
|
|
<td style="width:19%;"><%= c1.downloads %> </td>
|
|
|
|
<td style="width:19%; text-align: center;"><%= c1.downloads %> </td>
|
|
|
|
<td class="filename" style="width:19%;"><%= link_to_attachment c1, {:text => "下载"}%></td>
|
|
|
|
<td class="filename" style="width:19%; text-align: center;"><%= link_to_attachment c1, {:text => "下载"}%></td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
</tbody>
|
|
|
|
</tbody>
|
|
|
|