-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
95 lines (94 loc) · 4.15 KB
/
index.html
File metadata and controls
95 lines (94 loc) · 4.15 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
<!doctype html>
<html lang="zh">
<head>
<meta charset="utf-8">
<title>主界面 - yangyang3917的网页</title>
<!-- 引入外部 CSS 文件 -->
<link rel="stylesheet" href="css/notifications.css">
<link rel="stylesheet" href="css/jianbianwenben.css">
<link rel="stylesheet" href="css/background.css">
<link rel="stylesheet" href="css/menu.css">
<style>
.dropdown {
position: absolute;
top: 20px;
right: 20px;
/* 确保在最上层z-index: 1000; */
}
</style>
</head>
<body>
<span onclick="notification_ClickTitle()" class="jianbianwenben" style="--color-start: #6200ff; --color-end: #0099ff; --font-size: 45px; --font-weight: bold;">欢迎来到yangyang3917的网页</span>
<!---<div class="dropdown">
<button onclick="menu()" class="dropbtn" style="font-size:30px">语言/language</button>
<div id="myDropdown" class="dropdown-content">
<a href="https://yangyang3917.github.io/en/">English/英语</a>
<a onclick="notification_NowIsChinese()">简体中文/simplified chinese</a>
</div>--->
</div><p></p>
<span style="color: #ff0000;font-size: 30px">
当前位置:主界面(<a href="index.html">index.html</a>)
</span>
<hr style="width: 100%; border: none; border-top: 2px dashed white; margin: 20px auto;"/>
<p>
<a href="somelink.html" style="color: #f885c1;font-size:25px">一些链接(点击打开)</a>
</p>
<p>
<a href="zhenghuo.html" style="color: #000000;font-size:25px">整活区(点击打开)</a>
</p>
<p>
<a href="docs.html" style="color: #00ff2f;font-size:25px">文档(点击打开)</a>
</p>
<p>
<a href="github_release.html" target="_blank" style="color: #c300ff;font-size:25px">Github release下载链接获取工具(点击打开)</a>
</p>
<hr style="width: 100%; border: none; border-top: 2px dashed white; margin: 20px auto;"/>
<p style="color: #4dffff;font-size:25px">我的项目</p>
<p>
<a href="auxiliary-mods-list.html" style="color: #a620ff;font-size:25px">Minecraft辅助性模组列表(点击打开)</a>
</p>
<p>
<a href="minecraft-seed-site.html" style="color: #0376fb;font-size:25px">Minecraft种子站(点击打开)</a>
</p>
<hr style="width: 100%; border: none; border-top: 2px dashed white; margin: 20px auto;"/>
<p>
<a href="https://github.com/yangyang3917/yangyang3917.github.io" target="_blank" style="color: #ffff01;font-size:25px">查看源码(点击打开)</a>
</p>
<p>
<a href="https://gh.dpik.top/https://github.com/yangyang3917/yangyang3917.github.io/archive/refs/heads/master.zip" target="_blank" style="color: #ff0000; font-size:25px">直接下载源码(不用访问GitHub)</a>
</p>
<p style="color: #ffffff; font-size: 15px;">powered by <a href="https://docs.github.com/pages" target="_blank"">GitHub Pages</a></p>
<script type="module">
import NotificationManager from './js/notificationManager.js';
window.notification_ClickTitle = () => {
NotificationManager.getInstance().add(
'info',
'提醒',
'你闲的没事点标题干啥……',
{ // 自定义参数
enterDuration: 300, // 进入动画时间
exitDuration: 300, // 退出动画时间
displayDuration: 2000 // 显示时间
}
);
};
// 页面加载完成后立即触发
//window.addEventListener('DOMContentLoaded', () => {
// NotificationManager.getInstance().add(
// 'success',
// '喜报',
// '通知系统已经做好了,再也不用用系统那难用的弹出式通知了',
// {
// enterDuration: 300,
// exitDuration: 500,
// displayDuration: 3000
// }
// );
// });
</script>
<!-- 引用外部 JS(defer 保证 DOM 加载后执行) -->
<script src="js/background.js" defer></script>
<script src="js/menu.js"></script>
<script type="module" src="js/language.js"></script>
</body>
</html>