增加新项目

This commit is contained in:
2025-03-16 23:01:07 +08:00
parent 3f86afc191
commit 353b15385f
49 changed files with 4407 additions and 2 deletions

View File

@@ -0,0 +1,22 @@
// 每一个页面都应该有一个init方法
// 用来做初始化
const init = async () => {
header(
"",
"热门",
)
footer()
getHotList()
}
const getHotList = async () => {
data = await hotList(
{ page: 1 }
);
item(".random ul", data.list);
}
init()