-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
139 lines (119 loc) · 8.68 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
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- <meta http-equiv="refresh" content="0; URL=https://chenweiui.github.io/qingyunaibizhi">-->
<title>青云AI壁纸</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="reset.css">
</head>
<body>
<div class="carousel">
<img src="img/01.png" alt="轮播图1" class="active" referrerpolicy="no-referrer">
<img src="img/02.png" alt="轮播图2" referrerpolicy="no-referrer">
<img src="img/03.png" alt="轮播图3" referrerpolicy="no-referrer">
<img src="img/04.png" alt="轮播图4" referrerpolicy="no-referrer">
<img src="img/05.png" alt="轮播图5" referrerpolicy="no-referrer">
<img src="img/06.png" alt="轮播图6" referrerpolicy="no-referrer">
<button class="prev">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1"
width="10" height="20" viewBox="0 0 15.680652618408203 31.646699905395508">
<g transform="matrix(-1,0,0,1,31.361305236816406,0)">
<path
d="M17.299832618408203,0.305536C16.954932618408204,-0.0750765,16.366800618408202,-0.104035,15.986188618408203,0.240857C15.605576118408203,0.58575,15.576617618408203,1.17389,15.921509618408203,1.5545C15.921509618408203,1.5545,17.299832618408203,0.305536,17.299832618408203,0.305536C17.299832618408203,0.305536,17.299832618408203,0.305536,17.299832618408203,0.305536ZM15.921509618408203,30.0922C15.576617618408203,30.4729,15.605576118408203,31.0611,15.986188618408203,31.4059C16.366800618408202,31.7508,16.954932618408204,31.7217,17.299832618408203,31.3412C17.299832618408203,31.3412,15.921509618408203,30.0922,15.921509618408203,30.0922C15.921509618408203,30.0922,15.921509618408203,30.0922,15.921509618408203,30.0922ZM30.106252618408202,15.8234C30.106252618408202,15.8234,30.795452618408206,16.4479,30.795452618408206,16.4479C30.795452618408206,16.4479,31.361352618408205,15.8234,31.361352618408205,15.8234C31.361352618408205,15.8234,30.795452618408206,15.1989,30.795452618408206,15.1989C30.795452618408206,15.1989,30.106252618408202,15.8234,30.106252618408202,15.8234C30.106252618408202,15.8234,30.106252618408202,15.8234,30.106252618408202,15.8234ZM15.921509618408203,1.5545C15.921509618408203,1.5545,29.417052618408203,16.4479,29.417052618408203,16.4479C29.417052618408203,16.4479,30.795452618408206,15.1989,30.795452618408206,15.1989C30.795452618408206,15.1989,17.299832618408203,0.305536,17.299832618408203,0.305536C17.299832618408203,0.305536,15.921509618408203,1.5545,15.921509618408203,1.5545C15.921509618408203,1.5545,15.921509618408203,1.5545,15.921509618408203,1.5545ZM29.417052618408203,15.1989C29.417052618408203,15.1989,15.921509618408203,30.0922,15.921509618408203,30.0922C15.921509618408203,30.0922,17.299832618408203,31.3412,17.299832618408203,31.3412C17.299832618408203,31.3412,30.795452618408206,16.4479,30.795452618408206,16.4479C30.795452618408206,16.4479,29.417052618408203,15.1989,29.417052618408203,15.1989C29.417052618408203,15.1989,29.417052618408203,15.1989,29.417052618408203,15.1989Z"
fill="#FFFFFF" fill-opacity="0.5" />
</g>
</svg>
</button>
<button class="next">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1"
width="10" height="20" viewBox="0 0 15.680652618408203 31.646699905395508">
<g>
<path
d="M1.61918,0.305536C1.27428,-0.0750765,0.686148,-0.104035,0.305536,0.240857C-0.0750765,0.58575,-0.104035,1.17389,0.240857,1.5545C0.240857,1.5545,1.61918,0.305536,1.61918,0.305536C1.61918,0.305536,1.61918,0.305536,1.61918,0.305536ZM0.240857,30.0922C-0.104035,30.4729,-0.0750765,31.0611,0.305536,31.4059C0.686148,31.7508,1.27428,31.7217,1.61918,31.3412C1.61918,31.3412,0.240857,30.0922,0.240857,30.0922C0.240857,30.0922,0.240857,30.0922,0.240857,30.0922ZM14.4256,15.8234C14.4256,15.8234,15.1148,16.4479,15.1148,16.4479C15.1148,16.4479,15.6807,15.8234,15.6807,15.8234C15.6807,15.8234,15.1148,15.1989,15.1148,15.1989C15.1148,15.1989,14.4256,15.8234,14.4256,15.8234C14.4256,15.8234,14.4256,15.8234,14.4256,15.8234ZM0.240857,1.5545C0.240857,1.5545,13.7364,16.4479,13.7364,16.4479C13.7364,16.4479,15.1148,15.1989,15.1148,15.1989C15.1148,15.1989,1.61918,0.305536,1.61918,0.305536C1.61918,0.305536,0.240857,1.5545,0.240857,1.5545C0.240857,1.5545,0.240857,1.5545,0.240857,1.5545ZM13.7364,15.1989C13.7364,15.1989,0.240857,30.0922,0.240857,30.0922C0.240857,30.0922,1.61918,31.3412,1.61918,31.3412C1.61918,31.3412,15.1148,16.4479,15.1148,16.4479C15.1148,16.4479,13.7364,15.1989,13.7364,15.1989C13.7364,15.1989,13.7364,15.1989,13.7364,15.1989Z"
fill="#FFFFFF" fill-opacity="0.8500000238418579" />
</g>
</svg>
</button>
<div class="phone">
<p id="clock"></p>
<script>
function updateTime() {
var now = new Date();
var hours = now.getHours();
var minutes = now.getMinutes();
var timeString = hours.toString().padStart(2, '0') + ':'
+ minutes.toString().padStart(2, '0');
document.getElementById('clock').innerHTML = timeString;
}
setInterval(updateTime, 1000);
</script>
<p id="date"></p>
<script>
function updateDate() {
var now = new Date();
var year = now.getFullYear();
var month = now.getMonth() + 1;
var day = now.getDate();
var dateString = year + '年' + month + '月' + day + '日';
document.getElementById('date').innerHTML = dateString;
}
setInterval(updateDate, 1000);
</script>
<div class="iconarea">
<a href="https://flowus.cn/zuiyoujie/share/151f257d-b8fd-4417-b5d6-177827598a7b" target="_blank">
<div class="iconbox">
<img src="img/logo.png" referrerpolicy="no-referrer">
<a class="icontext">青云AI壁纸</a>
</div>
</a>
<a href="www.baidu.com" target="_blank" style="visibility: hidden;">
<div class="iconbox">
<img src="img/logo.png" referrerpolicy="no-referrer">
<a class="icontext"></a>
</div>
</a>
<a href="www.baidu.com" target="_blank" style="visibility: hidden;">
<div class="iconbox">
<img src="img/logo.png" referrerpolicy="no-referrer">
<a class="icontext"></a>
</div>
</a>
<a href="www.baidu.com" target="_blank" style="visibility: hidden;">
<div class="iconbox">
<img src="img/logo.png" referrerpolicy="no-referrer">
<a class="icontext"></a>
</div>
</a>
</div>
<div class="downloadbtn">
<a href="https://flowus.cn/zuiyoujie/share/151f257d-b8fd-4417-b5d6-177827598a7b" target="_blank">
Android下载</a>
<a href="https://apps.apple.com/cn/app/id6449890753?platform=iphone" target="_blank">
iOS下载</a>
</div>
</div>
</div>
<script>
const carouselImages = document.querySelectorAll('.carousel>img');
const prevButton = document.querySelector('.carousel .prev');
const nextButton = document.querySelector('.carousel .next');
let currentIndex = 0;
function changeImage(newIndex) {
carouselImages[currentIndex].classList.remove('active');
currentIndex = newIndex;
carouselImages[currentIndex].classList.add('active');
}
function prevImage() {
changeImage((currentIndex - 1 + carouselImages.length) % carouselImages.length);
}
function nextImage() {
changeImage((currentIndex + 1) % carouselImages.length);
}
prevButton.addEventListener('click', prevImage);
nextButton.addEventListener('click', nextImage);
setInterval(nextImage, 3000);
</script>
</body>
</html>