|
|
|
@ -29,7 +29,7 @@ form #search_type{
|
|
|
|
|
border-bottom-left-radius: 0px;
|
|
|
|
|
border-top-left-radius: 0px;
|
|
|
|
|
border-left: 1px outset #83A9A9;
|
|
|
|
|
margin-left: -4px;
|
|
|
|
|
margin-left: 0px;
|
|
|
|
|
-webkit-appearance: none;
|
|
|
|
|
-moz-appearance: none;
|
|
|
|
|
text-indent: 0.01px;
|
|
|
|
@ -45,7 +45,7 @@ form #search_by
|
|
|
|
|
border-bottom-left-radius: 0px;
|
|
|
|
|
border-top-left-radius: 0px;
|
|
|
|
|
border-left: 1px outset #83A9A9;
|
|
|
|
|
margin-left: -6px;
|
|
|
|
|
margin-left: 0px;
|
|
|
|
|
-webkit-appearance: none;
|
|
|
|
|
-moz-appearance: none;
|
|
|
|
|
text-indent: 0.01px;
|
|
|
|
@ -87,13 +87,14 @@ form #search_by
|
|
|
|
|
</script>
|
|
|
|
|
<%= form_tag({controller: :welcome, action: :search }, method: :get) do %>
|
|
|
|
|
<div class="project-search" style="float: right">
|
|
|
|
|
<div class='search_widget'>
|
|
|
|
|
<%= text_field_tag :q, nil, placeholder:'请输入要搜索的关键字', :size => 27 %>
|
|
|
|
|
<input type="text" name="search_by_input" hidden="hidden;" id="search_by_input" value="0">
|
|
|
|
|
<%= select_tag(:search_type, options_for_select(select_option), :onchange => "searchTypeChange();" ) %>
|
|
|
|
|
<%= select_tag(:search_by,options_for_select([["昵称","0"],["姓名","1"],["邮箱","2"]]), :onchange => "searchByChange();" ) %>
|
|
|
|
|
<div class='search_widget' >
|
|
|
|
|
|
|
|
|
|
<%= text_field_tag :q, nil, placeholder:'请输入要搜索的关键字' %>
|
|
|
|
|
<input type="text" name="search_by_input" style="display: none" id="search_by_input" value="0">
|
|
|
|
|
<%= select_tag(:search_type, options_for_select(select_option), :onchange => "searchTypeChange();", :style => "float:right" ) %>
|
|
|
|
|
<%= select_tag(:search_by,options_for_select([["昵称","0"],["姓名","1"],["邮箱","2"]]), :onchange => "searchByChange();",:style => "float:right" ) %>
|
|
|
|
|
</div>
|
|
|
|
|
<%#= hidden_field_tag 'project_type', project_type %>
|
|
|
|
|
<%= submit_tag l(:label_search), :class => "enterprise", :name => nil %>
|
|
|
|
|
<%= submit_tag l(:label_search), :class => "enterprise", :name => nil,:style =>"float: right; margin-left:3px;margin-top:2px" %>
|
|
|
|
|
</div>
|
|
|
|
|
<% end %>
|
|
|
|
|