weather copy.html
2.07 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title></title>
<script src="../js/jquery-3.4.1.min.js"></script>
<script src="../js/JavaScript.js"></script>
<script src="../js/popupJS.js"></script>
<link rel="stylesheet" href="../css/popupHtml.css">
<style>
#weather {
width: 100%;
height: 100%;
background: url(../img/bg.png) no-repeat center center;
background-size: 100% 100%;
/* display:flex; */
flex-direction: column;
}
.title {
display: block;
height: 30px;
line-height: 30px;
text-align: center;
color: #00EEF6;
font-size: 14px;
font-weight: inherit;
}
.iconfont {
display: inline-block;
font-size: 30px;
padding: 10px 12px;
width: 24px;
height: 24px;
text-align: center;
cursor: default;
.name {
font-size: 20px;
display: block;
}
}
</style>
</head>
<body marginwidth="0" marginheight="0">
<div id="weather">
<h1 class="title" onmousedown="MouseDown(event)" onmouseup="MouseUp(event)" onmouseout="MouseUp(event)">
天气<i class=" icon-guanbi" onclick="Close()">X</i>
</h1>
<div class="main">
<div class="row">
<el-checkbox v-model="fog.is">雾</el-checkbox>
<el-slider v-model="fog.snowfall" @change="fall(fog.snowfall, 'fog')"></el-slider>
</div>
<div class="row">
<el-checkbox v-model="rain.is">雨</el-checkbox>
<el-slider v-model="rain.rainfall" @change="fall(rain.rainfall, 'rain')"></el-slider>
</div>
<div class="row">
<el-checkbox v-model="snow.is">雪</el-checkbox>
<el-slider v-model="snow.snowfall" @change="fall(snow.snowfall, 'snow')"></el-slider>
</div>
</div>
</div>
</body>
</html>