-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
464 lines (433 loc) · 15.4 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
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
<!doctype html>
<html lang="zh-CN">
<head>
<!-- 必须的 meta 标签 -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap 的 CSS 文件 -->
<!-- <link rel="stylesheet" href="bootstrap-3.4.1-dist/bootstrap-3.4.1-dist/css/bootstrap.css">
<link rel="stylesheet" href="top.css"> -->
<!-- <link rel="stylesheet" href="style.css"> -->
<!-- <link rel="stylesheet" href="pic.css">
<link rel="stylesheet" href="tab.css">
<link rel="stylesheet" href="c6.css"> -->
<link rel="stylesheet" href="css/lunbot.css">
<!-- <link rel="stylesheet" href="new.css">
<link rel="stylesheet" href="xiang.css"> -->
<link rel="stylesheet" href="css/s.css">
<link rel="icon" href="./img/xing.jpg" sizes="16x16">
<title>cornsdream</title>
<style>
html {
scroll-behavior: smooth;
}
.colorful {
background-image: linear-gradient(to right, red, orange, yellow, green, blue, green, yellow, orange, red, orange, yellow, green, blue, green, yellow, orange, red);
-webkit-text-fill-color: transparent;
-webkit-background-clip: text;
background-clip: text;
-webkit-background-size: 200% 100%;
background-size: 200% 100%;
animation: bgp 5s infinite linear;
}
@keyframes bgp {
0% {
background-position: 0 0;
}
100% {
background-position: -100% 0;
}
}
.yx {
width: 100%;
height: 100vh;
background-color: rgb(85, 85, 85, 0.5);
display: flex;
justify-content: center;
align-items: center;
position: fixed;
z-index: 9999;
display: none;
}
.zf {
width: 100%;
height: 100vh;
background-color: rgb(85, 85, 85, 0.5);
display: flex;
justify-content: center;
align-items: center;
position: fixed;
z-index: 9999;
display: none;
}
.pc {
width: 100%;
height: 100vh;
background-color: rgb(85, 85, 85, 0.5);
display: flex;
justify-content: center;
align-items: center;
position: fixed;
z-index: 9999;
display: none;
}
.yd {
width: 100%;
height: 100vh;
background-color: rgb(85, 85, 85, 0.5);
display: flex;
justify-content: center;
align-items: center;
position: fixed;
z-index: 9999;
display: none;
}
.yxl {
width: 370px;
height: 400px;
background-color: #fbd5ff;
}
.ydl {
width: 370px;
height: 400px;
background-color: #fbd5ff;
}
.zfl {
width: 370px;
height: 400px;
background-color: #fbd5ff;
}
.pcl {
width: 370px;
height: 400px;
background-color: #fbd5ff;
}
.w-lyx {
width: 130px;
padding: 5px 10px;
margin: auto;
border: 4px solid rgba(203, 132, 200, 0.5);
border-radius: 25px;
font-size: 25px;
background-color: rgba(248, 199, 246, 0.9);
cursor: pointer;
align-items: center;
text-align: center;
}
.br {
margin-top: 20px;
}
.btn-yx {
width: 40px;
height: 40px;
font-size: 30px;
float: right;
border-color: beige;
}
.btn-pc {
width: 40px;
height: 40px;
font-size: 30px;
float: right;
border-color: beige;
}
.btn-yd {
width: 40px;
height: 40px;
font-size: 30px;
float: right;
border-color: beige;
}
.btn-zf {
width: 40px;
height: 40px;
font-size: 30px;
float: right;
border-color: beige;
}
/* 日志 */
.rz {
width: 60px;
height: 60px;
border-radius: 50%;
background: url(img/rizhi.webp);
background-size: 100%, 100%;
position: fixed;
right: 5%;
bottom: 40px;
cursor: pointer;
z-index: 9999;
}
.rizhi {
width: 100%;
height: 100vh;
background-color: rgb(85, 85, 85, 0.5);
display: flex;
justify-content: center;
align-items: center;
position: fixed;
z-index: 9999;
display: none;
}
.rizhil {
width: 385px;
height: 460px;
background-color: #000000;
}
.rizhil p {
color: #fff;
text-indent: 1em;
}
/* 日历 */
.rl {
width: 60px;
height: 60px;
border-radius: 50%;
background: url(img/rl.jpg);
background-size: 100%, 100%;
position: fixed;
right: 5%;
bottom: 120px;
z-index: 9999;
cursor: pointer;
}
.rili {
width: 100%;
height: 100vh;
background-color: rgb(85, 85, 85, 0.5);
display: flex;
justify-content: center;
align-items: center;
position: fixed;
z-index: 9999;
display: none;
}
.rili iframe {
width: 383px;
height: 332px;
}
.p {
width: 100%;
height: 100%;
position: fixed;
z-index: 99999;
}
.mtop {
width: 54px;
height: 54px;
position: fixed;
bottom: 20px;
right: 5%;
background: url(img/top.png);
background-size: 100% 100%;
background-color: rgb(185, 116, 255);
z-index: 2999;
display: none;
}
.dateText {
position: relative;
float: left;
margin-top: 52px;
}
</style>
</head>
<body class="container">
<iframe src="welcome.html" frameborder="0" class="p"></iframe>
<div class="zf">
<div class="zfl">
<button class="btn-zf">x</button>
<div class="w-lyx br" href=""><a href="newyear.html" class="ww">新年快乐</a></div>
<div class="w-lyx br" href=""><a href="birthday/index.html" class="ww">birthday</a></div>
</div>
</div>
<div class="yx">
<div class="yxl">
<button class="btn-yx">x</button>
<div class="w-lyx br" href=""><a href="贪吃蛇.html" class="ww">贪吃蛇</a></div>
<div class="w-lyx br" href=""><a href="小恐龙.html" class="ww">小恐龙</a></div>
<div class="w-lyx br" href=""><a href="五子棋.html" class="ww">五子棋</a></div>
</div>
</div>
<div class="pc">
<div class="pcl">
<button class="btn-pc">x</button>
<div class="w-lyx br" href=""><a href="环创项目1/22.html" class="ww">环创考核1</a></div>
<div class="w-lyx br" href=""><a href="2/index.htm" class="ww">环创考核2</a></div>
</div>
</div>
<div class="yd">
<div class="ydl">
<button class="btn-yd">x</button>
<div class="w-lyx br" href=""><a href="shopping/index.html" class="ww zhihui">智慧商城</a></div>
</div>
</div>
<div class="rizhi">
<div class="rizhil">
<p>建站并上传新年快乐.html(2023.12.31)</p>
<p>上传主页...(2024.1.2)</p>
<p>......忘了</p>
<p>新增小恐龙游戏(2024.1.19)</p>
<p>新增日志,日历(2024.1.27)</p>
<p>新增火柴人动画(2024.1.27)</p>
<p>火柴人改为小恐龙,新增生日快乐(2024.1.30)</p>
<p>修复和优化了部分问题(1.31:音乐盒子 贪吃蛇,2.2:小恐龙游戏)</p>
<p>计算器增加进制转换(2.11)</p>
<p>五子棋(4.28)</p>
<p>生日祝福优化(5.18)</p>
<p>智慧商城(5.25)</p>
</div>
</div>
<div class="rili">
<iframe src="日历.html" frameborder="0"></iframe>
</div>
<div class="rz"></div>
<div class="rl"></div>
<div class="mtop"></div>
<div class="container">
<div class="top">
<div class="iocn"></div>
<div class="top-b">个人介绍</div>
<div class="l1">
<div class="top-b myhtml">我的网页</div>
<ul class="list1 none">
<li><a href="newyear.html" class="la">新年快乐</a></li>
<li><a href="birthday/index.html" class="la">生日快乐</a></li>
<li><a href="计算器.html" class="la">在线计算器</a></li>
<li><a href="贪吃蛇.html" class="la">贪吃蛇</a></li>
<li><a href="小恐龙.html" class="la">小恐龙</a></li>
<li><a href="五子棋.html" class="la">五子棋</a></li>
<li><a href="环创项目1/22.html" class="la">环创项目1</a></li>
<li><a href="2/index.html" class="la">环创项目2</a></li>
<li><a href="shopping/index.html" class="la zhihui">智慧商城</a></li>
</ul>
</div>
<a class="top-b" href="xx.html">支持我</a>
<div class="top-bx"></div>
</div>
<div class="tbx">
<div class="text-a">音乐盒子</div>
<div class="bf"></div>
<audio src="http://music.163.com/song/media/outer/url?id=306888.mp3" class="audio"></audio>
<audio src="http://music.163.com/song/media/outer/url?id=1293886117.mp3" class="audio"></audio>
<audio src="http://music.163.com/song/media/outer/url?id=2044458035.mp3" class="audio"></audio>
<audio src="http://music.163.com/song/media/outer/url?id=1458349486.mp3" class="audio"></audio>
<audio src="http://music.163.com/song/media/outer/url?id=1436685819.mp3" class="audio"></audio>
<div class="hl1 hl">上一首</div>
<div class="hl2 hl">下一首</div>
<div class="voice"><span class="voiceDec">-</span>声音<span class="voiceAdd">+</span></div>
</div>
<div></div>
</div>
<div class="ttop">
<div class="tt-n colorful">刚开始学习前端时写的</div>
<div class="tt-n2">
<div class="n2">新增移动端智慧商城,快去看看吧</div>
</div>
</div>
<!-- 轮播图 -->
<div class="shell container col-sm-12 col-xs-12">
<div class="images">
<img src="img/1.jpg" alt="">
<img src="img/2.jpg" alt="">
<img src="img/3.png" alt="">
<img src="img/4.jpg" alt="">
<img src="img/5.jpg" alt="">
</div>
<ul class="min">
<li class="m ac"></li>
<li class="m"></li>
<li class="m"></li>
<li class="m"></li>
<li class="m"></li>
</ul>
<div class="button">
<div class="button-left">
<div class="bx">
< </div>
</div>
<div class="button-right">
<div class="bx">></div>
</div>
</div>
</div>
<div class="bg"></div>
</div>
<!-- web -->
<!-- picture -->
<div class="myweb">
<div class="w-tx">我的网页</div>
<div class="wl">
<div class="pic" id="a1">
<div>
<div class="w-text">祝福</div>
<div class="w-l" href=""><span class="ww azf">learn more</span></div>
</div>
</div>
<div class="pic" id="a2">
<div>
<div class="w-text">在线计算器</div>
<div class="w-l" href=""><a href="计算器.html" class="ww">learn more</a></div>
</div>
</div>
<div class="pic" id="a3">
<div>
<div class="w-text">小游戏</div>
<div class="w-l" href=""><span class="ayx ww">learn more</span></div>
</div>
</div>
<div class="pic" id="a4">
<div>
<div class="w-text">pc端</div>
<!-- <div class="w-l" href=""><a href="环创项目1/22.html" class="ww">learn more</a></div> -->
<div class="w-l" href=""><span class="apc ww">learn more</span></div>
</div>
</div>
<div class="pic" id="a5">
<div>
<div class="w-text">移动端</div>
<!-- <div class="w-l" href=""><a href="2/index.html" class="ww">learn more</a></div> -->
<div class="w-l" href=""><span class="ayd ww">learn more</span></div>
</div>
</div>
</div>
</div>
<div class="line"></div>
<div class="view_port last">
<a class="polling_message last-text" href="xx.html">支持作者</a>
<div class="polling_message last-text dateText"></div>
<!-- <div class="polling_message last-text">新增小恐龙游戏(2024.1.19)</div> -->
<div class="cylon_eye"></div>
</div>
</div>
<script src="js/t.js"></script>
<script src="js/lun.js"></script>
<script>
function pad(content, count, padStr) {
count = count || 2
padStr = padStr || '0'
content = String(content)
return content.padStart(count, padStr)
}
p = document.querySelector('.p')
var t = setTimeout(function () {
p.style.display = 'none'
}, 2000);
// 日期
const dateText = document.querySelector('.dateText')
setInterval(() => {
let date = new Date()
let year = date.getFullYear()
let month = date.getMonth()+1
let day = pad(date.getDate())
let hour = pad(date.getHours())
let minute = pad(date.getMinutes())
let second = pad(date.getSeconds())
dateText.innerHTML = `${year}/${month}/${day}  ${hour}:${minute}:${second}`
}, 1000);
const zhihui=document.querySelector('.zhihui')
zhihui.addEventListener('click',function () {
alert('该项目需在手机上打开')
})
</script>
</body>
</html>