add search page in search web app

This commit is contained in:
wlh
2014-12-12 16:20:05 +08:00
parent f05ae96998
commit 98c562ee8e
9 changed files with 127 additions and 42 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
<header ng-controller="SearchController">
<div>
<input id="search_input" ng-model="keywords" type="text" placeholder="请输入关键字"/>
<input id="search_input" ng-model="keywords" type="text" placeholder="请输入关键字" ng-click="goToSearch()"/>
</div>
<div>
<input type="button" id="search_btn" ng-click="search()" value="搜索"/>
<input type="button" id="search_btn" value="搜索"/>
</div>
</header>
+8
View File
@@ -0,0 +1,8 @@
<header ng-controller="Search">
<div>
<input id="search_input" ng-model="keywords" type="text" placeholder="请输入关键字"/>
</div>
<div>
<input type="button" id="search_btn" ng-click="search()" value="搜索"/>
</div>
</header>