diff --git a/CHANGELOG.md b/CHANGELOG.md index 354ba7a6..1bbfcf08 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ Update: 2023-04-03 --- > 本文档 [`Front-matter`](https://github.com/BTMuli/Mucli#FrontMatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于`2023-03-30 15:39:49` -> +> > 更新于 `2023-04-03 00:24:29` # CHANGELOG diff --git a/src/assets/css/post-parser.css b/src/assets/css/post-parser.css index c6c9cbab..3e1afde4 100644 --- a/src/assets/css/post-parser.css +++ b/src/assets/css/post-parser.css @@ -90,7 +90,7 @@ } :deep(.mys-post-link-card-cover) img { - max-width: 320px; + max-width: 400px; width: auto; height: 180px; border-radius: 10px; diff --git a/src/components/t-backTop.vue b/src/components/t-backTop.vue index 12a04ed3..8b92f4bd 100644 --- a/src/components/t-backTop.vue +++ b/src/components/t-backTop.vue @@ -56,19 +56,19 @@ onMounted(() => { width: 60px; height: 60px; border-radius: 50%; - transition: all 0.3s linear; + transition: all 0.3s ease-in-out; } .back-top :hover { border-radius: 50%; cursor: pointer; transform: scale(0.9); - transition: all 0.3s linear; + transition: all 0.3s ease-in-out; box-shadow: 0 0 10px 5px #546d8b; } .back-top img { - transition: all 0.3s linear; + transition: all 0.3s ease-in-out; width: 60px; height: 60px; } diff --git a/src/pages/Home.vue b/src/pages/Home.vue index 40e2d90b..95a50faf 100644 --- a/src/pages/Home.vue +++ b/src/pages/Home.vue @@ -31,10 +31,10 @@ const loadingSubtitle = ref(""); const components = ref([] as any[]); let itemRefs = ref([] as any[]); -!onMounted(() => { +onMounted(async () => { loadingTitle.value = "正在加载首页"; const showItems = homeStore.getShowValue(); - Promise.allSettled( + await Promise.allSettled( showItems.map(item => { switch (item) { case "限时祈愿": diff --git a/src/vite-env.d.ts b/src/vite-env.d.ts index 21c62431..c18f63be 100644 --- a/src/vite-env.d.ts +++ b/src/vite-env.d.ts @@ -6,8 +6,8 @@ declare module "*.vue" { export default component; } -declare module 'vue-json-viewer' { +declare module "vue-json-viewer" { import type { DefineComponent } from "vue"; const component: DefineComponent<{}, {}, any>; export default component; -} \ No newline at end of file +}