diff --git a/index.html b/index.html index 1cb93d2..dc50163 100644 --- a/index.html +++ b/index.html @@ -12,6 +12,7 @@

徐越的在线学习平台

+

diff --git a/main.js b/main.js index e6b5894..e1d6f06 100644 --- a/main.js +++ b/main.js @@ -3,13 +3,19 @@ import "./style.css" const pins = [ { url: "https://code.xuyue.cc?query=30", - description: "3月11日 调试的示例代码", - pin: true, + description: "示例代码", }, { url: "https://lc.xuyue.cc/public-forms/do0zqi0xlpe", - description: "3月11日 调试的记录单", - pin: true, + description: "数据记录单", + }, + { + url: "https://lc.xuyue.cc/", + description: "账号 stu 密码 123456", + }, + { + url: "https://play.xuyue.cc/", + description: "选择自己的名字做小测试", }, ] @@ -39,11 +45,6 @@ const sites = [ title: "编程书", description: "编程和计算机相关知识汇总", }, - { - url: "https://lc.xuyue.cc", - title: "低代码", - description: "低代码平台", - }, { url: "https://huabu.xuyue.cc", title: "白板", @@ -75,5 +76,9 @@ const pin = (site) => ` ` +if (pins.length) { + document.querySelector(".subtitle").innerHTML = "置顶:3月11日所需要的内容" +} + document.querySelector("#sites").innerHTML = pins.map(pin).join("") + sites.map(item).join("")