forked from kaygb/kaygb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path404.html
175 lines (147 loc) · 5.11 KB
/
404.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>换域名了哦!</title>
<link rel="icon" type="image/ico" href="//gravatar.kaygb.top/avatar/4cc893d113dd74ceca73f9863f2c5446/">
<!-- <link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/5.12.1/css/all.min.css"> -->
<link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/4.4.1/css/bootstrap.min.css" crossorigin="anonymous">
<style>
body {
background-attachment: fixed;
background: #dff9fb;
}
div {
display: block;
}
.main {
max-width: 300px;
height: 600px;
max-height: 600px;
border: 0px solid #eee;
margin: 50px auto;
background-color: rgba(255, 255, 255, 0.7);
box-shadow: 1px 1px 5px 5px #ffbcc263;
-moz-box-shadow: 1px 1px 5px 5px #ffbcc263;
border-radius: 5px;
}
.main img {
width: 100%;
height: auto;
max-height: 300px;
border-radius: 5px 5px 0 0;
}
.logo {
float: left;
line-height: 100px;
margin-left: 20px;
}
.content {
line-height: 80px;
/* margin: 0 auto; */
font-size: 1.6em;
font-weight: bold;
text-align: center;
}
/* 进度条 */
#myProgress {
width: 100%;
background-color: #ddd;
}
#myBar {
width: 0%;
height: 10px;
background-color: rgb(255, 58, 117);
text-align: center;
line-height: 30px;
color: white;
}
.eas1cn a {
margin: 0 auto;
width: 200px;
display: block;
}
.footer {
/* text-decoration: none; */
text-align: center;
line-height: 60px;
}
.newurl {
text-align: center;
margin: 20px auto;
}
.footer a,
.footer a:hover,
.footer a:active,
.footer a:link,
.footer a:visited {
color: #000;
text-decoration: none;
}
</style>
</head>
<body>
<div class="container">
<div class="row">
<div class="col">
<div class="main">
<div class="header">
<img src="https://file.eas1.cn/static_image/kaygb-logo/tx_compressed.jpg" alt="风也">
</div>
<!-- 进度条 -->
<div id="myProgress">
<div id="myBar"></div>
</div>
<div class="content">换新域名了哦~</div>
<div class="gourl">
<div class="newurl">客官请稍等~</div>
<div class="newurl">即将到达目标地点!</div>
<div id="newurl" class="newurl"></div>
</div>
<div class="eas1cn">
<a href="javascript:void(0);" onclick="goUrl()" class="btn btn-info" role="button" id="eas1cn">EAS1.CN</a>
</div>
</div>
</div>
</div>
</div>
<script>
var newurl = "eas1.cn"; //新域名
var rp_url = window.location.href.replace(window.location.hostname, newurl);
// document.getElementById("newurl").innerHTML = rp_url;
function goUrl() {
window.location.href = rp_url;
}
move(); //调用进度条
// 进度条
function move() {
var elem = document.getElementById("myBar");
var width = 0;
var id = setInterval(frame, 50);
function frame() {
if (width >= 100) {
clearInterval(id);
window.location.href = rp_url;
} else {
width++;
elem.style.width = width + '%';
}
}
}
//JS监听设置网站背景
// window.onload = function() {
// setTimeout(function() {
// document.body.style.background = "url(https://acg.wgb.ink/acgurl.php?return=https)";
// }, 2e3);
// }
</script>
<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
<script src="https://cdn.staticfile.org/jquery/3.2.1/jquery.min.js"></script>
<!-- bootstrap.bundle.min.js 用于弹窗、提示、下拉菜单,包含了 popper.min.js -->
<script src="https://cdn.staticfile.org/popper.js/1.15.0/umd/popper.min.js"></script>
<!-- 最新的 Bootstrap4 核心 JavaScript 文件 -->
<script src="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
</body>
</html>