add search

This commit is contained in:
avene 2018-05-12 17:44:50 +08:00
parent 597f8fe816
commit cfd5cac55f
1 changed files with 4 additions and 2 deletions

View File

@ -18,9 +18,11 @@ $this->headLink()->appendStylesheet('/static-sanji-v2/css/header-position.css');
<div class="container"> <div class="container">
<div class="col-sm-12"> <div class="col-sm-12">
<div class="form-group"> <div class="form-group">
<input type="text" class="form-control" placeholder="搜素关键词"> <form action="/search" id="search-form">
<input type="text" name="q" id="q" class="form-control" placeholder="搜素关键词">
</form>
</div> </div>
<i></i> <i onclick="$('#search-form').submit()"></i>
</div> </div>
</div> </div>
</div> </div>