This repository has been archived by the owner on Jun 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
259 lines (255 loc) · 6.56 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
<html>
<head>
<!--编码设置-->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no">
<!--诗词API调用-->
<script src="https://sdk.jinrishici.com/v2/browser/jinrishici.js" charset="utf-8"></script>
<!--页面标题-->
<title>Wen搜索</title>
<!--页面图标-->
<link rel="icon" href="./mario.ico" type="image/x-icon">
<link rel="shortcut icon" href="./mario.ico" type="image/x-icon">
<!--调用CSS-->
<link rel="stylesheet" href="bootstrap.min.css">
<link rel="stylesheet" href="style.css">
<!--背景拉伸设置-->
<style>
.span {
position:relative;
padding:5px;
}
.tip {
display:block;
background:#f00;
border-radius:50%;
width:8px;
height:8px;
top:0px;
right:0px;
position:absolute;
}
</style>
<!--字体设置-->
<style>
* {
font-family:"Scerh eng",Scerh,"Scerh Kor","Scerh Geo"
}
</style>
<!--底部设置-->
<style>
.pop-click,.pop-btn {
padding:10px 15px;
border:1px solid #EEEEEE;
background:white;
border-radius:5px;
-moz-border-radius:5px;
-webkit-border-radius:5px;
}
.pop-btn {
margin-top:15px;
}
.pop-cover {
position:fixed;
top:0;
left:0;
right:0;
bottom:0;
background:rgba(0,0,0,0.5);
z-index:1;
display:none;
}
.pop {
width:20%;
position:fixed;
top:0;
left:50%;
transform:translate(-50%,-50%);
-moz-transform:translate(-50%,-50%);
-ms-transform:translate(-50%,-50%);
-webkit-transform:translate(-50%,-50%);
border:1px solid #EEEEEE;
text-align:center;
background:white;
padding:20px;
box-shadow:0 0 10px rgba(0,0,0,.5);
-webkit-box-shadow:0 0 10px rgba(0,0,0,.5);
border-radius:5px;
-moz-border-radius:5px;
-webkit-border-radius:5px;
animation:popv 0.3s both;
-moz-animation:popv 0.3s both;
-ms-animation:popv 0.3s both;
-webkit-animation:popv 0.3s both;
z-index:2;
opacity:0;
display:none;
}
@media (max-width:740px) {
.pop {
width:60%;
}
}@keyframes popv {
0{top:0;
}
to {
top:50%;
opacity:1;
}
}@-webkit-keyframes popv {
0{top:0;
}
to {
top:50%;
opacity:1;
}
}</style>
<body class="background_"></body>
<!--天气-->
<div id="he-plugin-simple"></div>
<script>
WIDGET = {
"CONFIG": {
"modules": "0124",
"background": "1",
"tmpColor": "FFFFFF",
"tmpSize": "16",
"cityColor": "FFFFFF",
"citySize": "16",
"aqiColor": "FFFFFF",
"aqiSize": "16",
"weatherIconSize": "22",
"alertIconSize": "18",
"padding": "10px 10px 10px 10px",
"shadow": "1",
"language": "auto",
"borderRadius": "8",
"fixed": "true",
"vertical": "top",
"horizontal": "left",
"left": "25",
"top": "15",
"key": "447b75ae3f9f4de89383ddd5da881e32"
}
}
</script>
<script src="https://widget.qweather.net/simple/static/js/he-simple-common.js?v=2.0"></script>
<!--设置页面-->
<style>
body{ text-align:center}
#CSS5{margin:0 auto;width:300px;height:100px}
</style>
<!--超链接横线去除-->
<style>
a{
text-decoration: none;
}
</style>
<!--其他设置-->
<script>
document.oncontextmenu = function () { return false; };
document.onkeydown = function () {
if (window.event && window.event.keyCode == 123) {
event.keyCode = 0;
event.returnValue = false;
return false;
}
};
</script>
</head>
<body oncontextmenu=self.event.returnValue=false onselectstart="return false">
<!--时间-->
<br><br>
<div style="font-size:80px" class="time" id="CSS5"></div>
<!--搜索框-->
<div class="index-search">
<form action="https://www.baidu.com/baidu" target="_blank">
<div class="input-group">
<div class="input-group-btn">
<ul class="dropdown-menu">
</div><!-- /btn-group -->
<input name=tn type=hidden value=baidu>
<input type="text" class="form-control" name=word size=30 id="baidusearch">
<span class="input-group-btn">
<button class="btn btn-info" type="submit">搜索</button>
</span>
</div>
</form>
</div>
<!--调用JS-->
<script type="text/javascript" src="jquery.min.js"></script>
<script type="text/javascript" src="bootstrap.min.js"></script>
<script type="text/javascript">
//绑定输入框,这里是ID
$("#baidusearch").keydown(function(event){
event=document.all?window.event:event;
if((event.keyCode || event.which)==13){
}
});
</script>
<div align="right">
</div>
<!--超链接颜色设置-->
<body link="#9966FF">
<body alink="#9966FF">
<body vlink="#b7ffff">
<!--诗词设置-->
<style>
.botCenter{width:100%; height:35px; line-height:35px; background:#ccc; position:fixed; bottom:0px; left:0px; font-size:14px; color:#000000; text-align:center;}
</style>
<!--时间显示功能-->
<script>
function get10(i) {
if (i < 10) {
i = "0" + i
};
return i
}
setInterval(function() {
var d = new Date()
var t = d.getHours()
var m = d.getMinutes()
var s = d.getSeconds()
$(".time").html(get10(t) + ":" + get10(m) + " <font color='#808080' style='font-size:32px'>" + get10(s) + "</font>")
}, 100)
</script>
<!--诗词显示-->
<div class="botCenter"><span id="jinrishici-sentence">╰(*°▽°*)╯</span></div>
<!--选项界面-->
<button id="clickBtn" class="pop-click">选项</button>
<div id="popCover" class="pop-cover"></div>
<div id="popv" class="pop">
<div>关于Wen搜索</div>
<div>版本23.02<span class="span"><i class="tip"></i></span><br><a href="https://wenlei.club/" target="_blank">干净T松鼠</a> 2021-2022 <br><a href="./SettingsPC.html">设置</a></div>
<button id="popBtn" class="pop-btn">确定</button>
</div>
<script>
document.getElementById('clickBtn').addEventListener('click', function(e) {
document.getElementById("popCover").style.display = 'block';
document.getElementById("popv").style.display = 'block';
});
document.getElementById('popBtn').onclick = function(e) {
document.getElementById("popCover").style.display = 'none';
document.getElementById("popv").style.display = 'none';
};
</script>
<!--背景图-->
<style>
body{
width:100%;
height:100%;
background: url(https://www.bing.com/th?id=OHR.RapadalenSNP_ZH-CN3018224759_1920x1080.jpg) no-repeat;
-moz-background-size: cover; /*背景图片拉伸以铺满全屏*/
-ms-background-size: cover;
-webkit-background-size: cover;
background-size: cover;
}
</style>
<!--
Goodbye!
版本:23.02
时间:2022.3.15
By:干净T松鼠
-->
</body>
</html>