-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
99 lines (96 loc) · 4.53 KB
/
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0,maximun-scale=1.0,minimum-scale=1.0,user-scalable=no">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>全国天气查询小应用</title>
<link rel="icon" href="favicon.ico">
<link rel="stylesheet" type="text/css" href="./css/weather.css">
</head>
<body>
<div class="mask"></div>
<header class="header">
<h1 class="title">WEATHER</h1>
<div id="weather_search" class="weather-search">
<span class="container"><input class="text" id="text" type="text" placeholder="请输入您要查询的城市"></span>
<span class="container"><input class="btn" id="btn" type="button" value="查询天气"></span>
</div>
</header>
<section class="main-container">
<div id="today_container" class="today-container">
<div class="now-img">
<img class="first-img" id="nowImg" src="./images/weather_icon/1.png" alt="今日天气" class="now">
</div>
<div class="description">
<div class="main-info">
<span class="info">城市</span>|
<span class="info">201X-XX-XX</span>|
<span class="info">星期X</span>|
<span class="info">---</span>
</div>
<div class="more-info">
<strong>温度:</strong><span class="info">---</span>
<strong>当前温度:</strong><span class="info">---</span>
</div>
<div class="more-info">
<strong>当前风力风向:</strong><span class="info">---</span>
</div>
<div class="more-info">
<strong>紫外线强度:</strong><span class="info">---</span>
<strong>洗车指数:</strong><span class="info">---</span>
</div>
<div class="more-info">
<strong>空气指数:</strong><span class="info">---</span>
<strong>穿衣指数:</strong><span class="info">---</span>
</div>
</div>
</div>
<div id="future_container" class="future-container">
<div class="future-box">
<img class="future-img" src="./images/weather_icon/1.png" alt="天气" />
<div class="future-info">201X-XX-XX</div>
<div class="future-info">星期X</div>
<div class="future-info">--</div>
<div class="future-info">12-16℃</div>
</div>
<div class="future-box">
<img class="future-img" src="./images/weather_icon/2.png" alt="天气" />
<div class="future-info">201X-XX-XX</div>
<div class="future-info">星期X</div>
<div class="future-info">--</div>
<div class="future-info">12-16℃</div>
</div>
<div class="future-box">
<img class="future-img" src="./images/weather_icon/3.png" alt="天气" />
<div class="future-info">201X-XX-XX</div>
<div class="future-info">星期X</div>
<div class="future-info">--</div>
<div class="future-info">12-16℃</div>
</div>
<div class="future-box">
<img class="future-img" src="./images/weather_icon/4.png" alt="天气" />
<div class="future-info">201X-XX-XX</div>
<div class="future-info">星期X</div>
<div class="future-info">--</div>
<div class="future-info">12-16℃</div>
</div>
<div class="future-box">
<img class="future-img" src="./images/weather_icon/5.png" alt="天气" />
<div class="future-info">201X-XX-XX</div>
<div class="future-info">星期X</div>
<div class="future-info">--</div>
<div class="future-info">12-16℃</div>
</div>
<!--<div class="future-box">
<img class="future-img" src="./images/weather_icon/4.png" alt="天气" />
<div class="future-info">201X-XX-XX</div>
<div class="future-info">星期X</div>
<div class="future-info">--</div>
<div class="future-info">12-16℃</div>
</div>-->
</div>
</section>
<script src="./js/index.js"></script>
</body>
</html>