Skip to content

Commit aa8c55f

Browse files
committed
feat: 更改了关于内容
1 parent 10b21d5 commit aa8c55f

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

templates/index.html

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,17 +62,22 @@
6262
<div slot="text">
6363
<h4>WelearnBrainBurst</h4>
6464
<p>
65-
WelearnBrainBurst 是一个 WELearn 助手,旨在帮助用户轻松地使用 WELearn,同时提供一些**额外**的实用功能。
65+
WelearnBrainBurst 是一个 WELearn 助手,旨在帮助用户轻松地使用 WELearn,同时提供一些<b>额外</b>的实用功能。
66+
</p>
67+
<h4>为什么叫 WelearnBrainBurst</h4>
68+
<p>
69+
在做这个程序的时候,就在想名字要取什么,然后想到了以前看过的番《加速世界》,里面加入 Burst Link 的口令就是 Brain
70+
Burst,就拿过来用了(话说还有人记得加速世界嘛)
6671
</p>
6772
<h4>免责声明</h4>
6873
<p>
6974
本项目仅供学习交流使用,不得用于任何商业用途,否则后果自负。
7075
</p>
7176
<s-divider></s-divider>
77+
<p><a href="https://github.com/GDUTMeow/WelearnBrainBurst">https://github.com/GDUTMeow/WelearnBrainBurst</a></p>
7278
<p>
73-
© 2024
74-
<a href="https://github.com/GamerNoTitle">GamerNoTitle</a>. All
75-
rights reserved.
79+
© <span id="copyrightYear"></span>
80+
<a href="https://github.com/GamerNoTitle">GamerNoTitle</a>. 只授权个人使用,禁止进行商业用途。
7681
</p>
7782
</div>
7883
<s-button type="text" slot="action"> 关闭 </s-button>
@@ -639,6 +644,13 @@ <h4 id="progress-text"></h4>
639644
// 初始化
640645
document.addEventListener('DOMContentLoaded', () => {
641646
displayCookieAndLastModified();
647+
const currentYear = new Date().getFullYear();
648+
const baseYear = 2024;
649+
const yearSpan = document.getElementById('copyrightYear');
650+
651+
yearSpan.textContent = currentYear > baseYear
652+
? `${baseYear}-${currentYear}`
653+
: `${baseYear}`;
642654
if (checkLogon()) {
643655
loadCourses();
644656
};

0 commit comments

Comments
 (0)