+
+
+
Read Me
+
{{ currentTime }}
+
此项目用来展示望麓自卑BBS莫相思的日记贴。
如本项目侵犯到您的利益,请联系本人删除,谢谢(#^.^#)。
dugulingping#outlook.com
+
{{ post.author }}
{{ new Date(post.create_time).toLocaleString() }}
@@ -25,6 +33,7 @@ export default {
isLoading.value = true
try {
const response = await axios.get(`https://moxiangsi.srv.ink/api/posts?page=${page.value}&limit=10`)
+ // const response = await axios.get(`http://localhost:8080/api/posts?page=${page.value}&limit=10`)
posts.value.push(...response.data)
page.value++
} catch (error) {
@@ -63,10 +72,12 @@ export default {
return {
posts,
- observer
+ observer,
+ currentTime: new Date().toLocaleString(),
}
}
}
+// export default {
diff --git a/src/style.css b/src/style.css
index bb131d6..19a992d 100644
--- a/src/style.css
+++ b/src/style.css
@@ -4,7 +4,7 @@
font-weight: 400;
color-scheme: light dark;
- color: rgba(255, 255, 255, 0.87);
+ color: #1a1a1a;
background-color: #242424;
font-synthesis: none;
@@ -61,7 +61,6 @@ button:focus-visible {
#app {
max-width: 1280px;
margin: 0 auto;
- padding: 2rem;
text-align: center;
}