forked from ChenKS12138/weather-site
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
25 lines (25 loc) · 926 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>weather-site</title>
<!-- 引用了animate.css -->
<link href="https://cdn.bootcss.com/animate.css/3.7.2/animate.min.css" rel="stylesheet">
<link rel="stylesheet" href="./css/index.css">
</head>
<body>
<div id="app">
<div id="input-container" class="animated">
<span class="text">省份:</span>
<input type="text" id="province" value="江苏" placeholder="省" class="input">
<span class="text">城市:</span>
<input type="text" id="city" value="南京" placeholder="市" class="input">
<button id="btn_query" onclick="handleFetchWeather()">查询天气</button>
</div>
<ol id="display-container"></ol>
</div>
<script src="./js/index.js"></script>
</body>
</html>