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
+4 -3
View File
@@ -2,9 +2,10 @@
<html ng-app="app">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-touch-fullscreen" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<title>爱搜索 爱生活</title>
<link rel="stylesheet" type="text/css" href="../css/main.css">
</head>
+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="搜索"/>