新增paint页面,暂时放弃api来fetch数据构建页面,预计可能还有大量问题,暂时打算先整理所有的文件

This commit is contained in:
2026-06-19 20:08:22 +00:00
parent abdf1b4258
commit 45bac5e3c3
11 changed files with 147 additions and 67 deletions

View File

@@ -1,33 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
</body>
</html>
<!-- <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<script>
fetch('https://open-ww3-project.ww3.tw/api/s/get/logs/')
.then(response => response.json())
.then(data => {
const textContent = JSON.stringify(data, null, 2);
str = textContent
arrayStr = JSON.parse(str)
arr = arrayStr.map(obj => obj.content)
document.write(arr)
})
</script>
</body>
</html> -->