Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
342 lines (282 loc) · 11.5 KB
/
Copy pathindex.html
File metadata and controls
342 lines (282 loc) · 11.5 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
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
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Meta Description (简短描述网站内容) -->
<meta name="description" content="网络地图提供网站收藏导航、开源软件下载链接、网盘资源分享,方便用户快速访问各类资源。">
<!-- Meta Keywords (关键词优化) -->
<meta name="keywords" content="网络地图, 网站收藏, 网站导航, 开源软件, 网盘资源, 下载链接, 资源分享, 免费资源, 开源软件">
<!-- Author -->
<meta name="author" content="网络地图">
<!-- Robots Meta Tag -->
<meta name="robots" content="index, follow">
<!-- Open Graph Meta Tags (社交分享优化) -->
<meta property="og:title" content="网络地图 - 网站收藏导航, 开源软件下载, 网盘资源分享">
<meta property="og:description" content="网络地图是一个全面的网站导航平台,提供丰富的开源软件和网盘资源,网站收藏导航、开源软件下载、网盘资源分享平台,助您轻松找到所需资源。">
<meta property="og:url" content="https://wldt.qsyshare.com">
<meta property="og:type" content="website">
<meta property="og:image" content="https://wldt.qsyshare.com/logo.png">
<!-- Twitter Card Meta Tags (推特分享优化) -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="网络地图 - 网站收藏导航, 开源软件下载, 网盘资源分享">
<meta name="twitter:description" content="在网络地图上快速找到你需要的资源:网站收藏、开源软件和网盘资源。">
<meta name="twitter:image" content="https://wldt.qsyshare.com/image/logo.png">
<meta name="baidu_union_verify" content="17c93da78ae18f8b3b6ea2d961de228b">
<!-- Canonical URL -->
<link rel="canonical" href="https://wldt.qsyshare.com">
<link rel="icon" href="./images/logo.ico" type="image/x-icon">
<!-- Cloudflare Web Analytics -->
<script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "4c0a6a67417444aa9f8f8b507aad5f96"}'></script>
<!-- End Cloudflare Web Analytics -->
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-VW62L5RT2K"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-VW62L5RT2K');
</script>
<title>网络地图 - 网站收藏导航, 开源软件下载, 网盘资源分享</title>
<style>
/* 隐藏上下滚动条 */
html, body {
overflow-x: hidden; /* 隐藏水平滚动条 */
overflow-y: auto; /* 隐藏垂直滚动条 */
height: 100%; /* 确保高度占满页面 */
margin: 0; /* 去掉默认的页面边距 */
padding: 0;
height: 100%;
width: 100%;
}
/* 针对 WebKit 浏览器的滚动条样式 */
html::-webkit-scrollbar {
display: none; /* 隐藏滚动条 */
}
/* 针对 Firefox 浏览器的滚动条样式 */
html {
scrollbar-width: none; /* 隐藏滚动条 */
}
/* 针对 IE 和 Edge 浏览器的滚动条样式 */
html, body {
-ms-overflow-style: none; /* 隐藏滚动条 */
}
body {
margin: 0;
padding-bottom: 40px; /* 确保内容不会被表格覆盖 */
overflow-x: hidden; /* 禁用横向滚动 */
overflow: auto;
scrollbar-width: none; /* 针对 Firefox 浏览器 */
white-space: nowrap;
}
body::-webkit-scrollbar {
display: none; /* 针对 Webkit 浏览器(Chrome, Safari)隐藏滚动条 */
}
/* 导航栏样式 */
#cool-navbar {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
height: 40px; /* 固定高度,确保一致的视觉效果 */
background: linear-gradient(90deg, #89f7fe, #66a6ff, #d4fc79, #96e6a1, #fbc2eb, #a18cd1);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 添加阴影效果 */
z-index: 1000;
display: flex;
justify-content: center; /* 居中对齐 */
align-items: center; /* 垂直居中对齐 */
overflow-x: auto; /* 允许左右滑动 */
overflow-y: hidden;
white-space: nowrap; /* 保持内容在一行 */
}
/* 针对 WebKit 浏览器隐藏滚动条 */
#cool-navbar::-webkit-scrollbar {
display: none;
}
#cool-navbar ul {
list-style-type: none;
margin: 0;
padding: 0;
display: flex; /* 使用 flex 布局 */
justify-content: flex-start; /* 左对齐,防止内容过多时被隐藏 */
align-items: center; /* 内容垂直居中 */
}
#cool-navbar li {
display: flex;
align-items: center;
padding: 10px 15px; /* 缩小左右间距 */
font-size: 16px;
color: white;
font-weight: bold;
text-transform: uppercase;
cursor: pointer;
transition: all 0.3s ease; /* 添加过渡效果 */
border-radius: 5px;
}
/* logo 图片的样式 */
.navbar-logo {
height: 40px;
cursor: pointer;
transition: transform 0.3s ease;
}
/* 鼠标悬停时的效果 */
#cool-navbar li:hover {
background-color: rgba(255, 255, 255, 0.2); /* 轻微透明的白色背景 */
transform: scale(1.1); /* 放大效果 */
}
.navbar-logo:hover {
transform: rotate(360deg); /* 旋转效果 */
}
/* 手机版 logo 大小调整 */
@media screen and (max-width: 768px) {
.navbar-logo {
height: 30px; /* 调整 logo 高度以适应手机 */
}
#cool-navbar li {
font-size: 14px; /* 调整导航项字体大小 */
padding: 8px 10px; /* 缩小导航项的间距 */
}
}
/* */
/* iframe 的样式 */
#content {
display: flex;
justify-content: center; /* 居中 iframe */
align-items: center; /* 垂直居中 iframe */
height: 100vh; /* 占据整个屏幕的高度 */
width: 100vw; /* 占据整个屏幕的宽度 */
overflow: hidden; /* 隐藏 content 容器的任何溢出 */
}
#iframe {
width: 100%;
height: 100%; /* 让 iframe 占据父容器的全部空间 */
border: none;
box-sizing: border-box; /* 保持边框和内容的统一 */
}
/* 使 iframe 内容在手机上自适应 */
@media (max-width: 768px) {
#iframe {
width: 100vw; /* 小屏幕时确保 iframe 横向占满屏幕 */
height: 100vh; /* 纵向占满屏幕 */
}
}
/* 站点公告 */
#site-notice {
position: fixed;
bottom: 60px;
right: 20px;
background-color: sandybrown; /* #007BFFIcon background color */
color: white;
padding: 10px;
border-radius: 50%;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
cursor: pointer;
text-align: center;
font-size: 14px;
font-weight: bold;
transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
#site-notice:hover {
background-color: #0056b3; /* Color when hovering */
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}
#notice-text {
display: none; /* 确保使用块级元素 */
position: fixed; /* 固定位置 */
bottom: 80px; /* 距离底部的距离 */
right: 20px; /* 距离右侧的距离 */
background-color: rgba(255, 255, 255, 0.9); /* 半透明背景 */
color: black;
padding: 15px;
border: 1px solid #ccc;
border-radius: 5px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
max-width: 300px; /* 最大宽度 */
font-size: 14px;
z-index: 1000; /* 确保在其他内容之上 */
overflow-wrap: break-word; /* 自动换行 */
word-wrap: break-word; /* 确保长单词自动换行 */
white-space: normal; /* 允许正常的文本换行 */
}
@media (max-width: 768px) {
#notice-text {
padding: 10px; /* 小屏幕时减少内边距 */
}
}
/* 手机版 */
#mobile-button {
position: fixed;
bottom: 60px;
left: 20px;
background-color: #007BFF; /* 按钮背景颜色 */
color: white;
padding: 10px;
border-radius: 50%;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
cursor: pointer;
text-align: center;
font-size: 14px;
font-weight: bold;
display: none; /* 默认隐藏 */
z-index: 1000;
}
#mobile-button:hover {
background-color: #0056b3; /* Hover时颜色 */
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}
</style>
</head>
<body>
<div id="content">
<!-- 显示对应HTML文件内容的区域 -->
<iframe id="iframe" src="wangluoditu.html"></iframe>
</div>
<!-- 手机版 -->
<div id="mobile-button" onclick="redirectToMobile()">手机版</div>
<!-- 炫酷的导航栏 -->
<nav id="cool-navbar">
<ul>
<li onclick="window.location.href='logocss.html';">
<img src="./images/logo.png" alt="网络地图 Logo" class="navbar-logo">
</li>
<li onclick="loadPage('wangluoditu.html')">网络地图</li>
<li onclick="loadPage('download.html')">开源软件下载</li>
<li onclick="loadPage('wangpan.html')">网盘资源</li>
<li onclick="loadPage('linshi.html')">临时</li>
<li onclick="loadPage('icode/index.html')">icode</li>
<li onclick="loadPage('zanzhu.html')">联络|赞助</li>
<li onclick="loadPage('chengren.html')">[T]</li>
</ul>
</nav>
<!-- 站点公告 -->
<div id="site-notice" onclick="toggleNotice()">站点公告</div>
<div id="notice-text">本网站所提供的信息仅供参考,不构成任何形式的建议。本网站所包含的链接可能指向第三方网站,本网站不对这些网站的内容或其造成的任何损害负责。用户对本网站的使用应遵守法律法规,并承担一切风险,对于因用户行为导致的法律纠纷,本网站不承担任何责任。本网站保留随时修改或更新本免责声明的权利,用户应定期查阅本页面以了解最新版本。<br><br>
<!-- 按钮:隐藏 "site-notice" 和 "notice-text" -->
<button onclick="hideNoticeAndText()">隐藏公告</button>
</div>
<script>
// 页面加载完成后15秒隐藏 "site-notice"
window.onload = function() {
setTimeout(function() {
document.getElementById("site-notice").style.display = "none";
}, 15000); // 15000 毫秒 = 15 秒
};
function loadPage(page) {
document.getElementById('iframe').src = page;
}
function toggleNotice() {
var noticeText = document.getElementById('notice-text');
if (noticeText.style.display === 'none' || noticeText.style.display === '') {
noticeText.style.display = 'block';
} else {
noticeText.style.display = 'none';
}
}
// 隐藏 "site-notice" 和 "notice-text"
function hideNoticeAndText() {
document.getElementById('site-notice').style.display = 'none';
document.getElementById('notice-text').style.display = 'none';
}
</script>
</body>
</html>