add search

This commit is contained in:
wlh
2014-12-14 16:50:54 +08:00
parent 98c562ee8e
commit 57f5d28e31
5 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
<header ng-controller="Search">
<div>
<input id="search_input" ng-model="keywords" type="text" placeholder="请输入关键字"/>
<input id="search_input" ng-model="keywords" type="text" placeholder="请输入关键字" autofocus="true"/>
</div>
<div>
<input type="button" id="search_btn" ng-click="search()" value="搜索"/>