From 101f2e082b0f0fa0c794c4e93dc3e0949fe3a8db Mon Sep 17 00:00:00 2001 From: Jeffrey Hsu Date: Mon, 13 Jan 2025 21:51:37 +0800 Subject: [PATCH] eslint style fix --- app.vue | 24 ++- components/alert/Alert.vue | 19 +- components/alert/Notification.vue | 49 ++--- components/card/ArticleCard.vue | 37 ++-- components/card/ArticleDefaultImage.vue | 44 ++++- components/card/ArticleDigestViewer.vue | 63 +++--- components/card/CardTitle.vue | 13 +- components/card/FullScreenIntroCard.vue | 148 ++++++++------ components/card/GitCard.vue | 112 ++++++----- components/card/IntroCard.vue | 53 +++-- components/card/SectionCard.vue | 81 ++++++-- components/footer/Main.vue | 37 +++- components/loader/LoaderView.vue | 47 ++--- components/markdown/Section.vue | 8 +- components/nav/NavBar.vue | 249 +++++++++++++----------- components/nav/NavBarEntryItem.vue | 56 +++--- components/sponer/upyun.vue | 13 +- components/widget/SocialMediaWidget.vue | 12 +- composables/function.ts | 25 ++- composables/network.ts | 25 ++- error.vue | 86 ++++---- eslint.config.mjs | 8 +- middleware/00.loading.global.ts | 4 +- middleware/maintenance.global.ts | 5 +- nuxt.config.ts | 76 ++++---- pages/[...default].vue | 5 +- pages/article.vue | 8 +- pages/article/[cid].vue | 40 ++-- pages/article/index.vue | 6 +- pages/auth.vue | 3 +- pages/diary.vue | 6 +- pages/error/[code].vue | 14 +- pages/error/maintenance.vue | 12 +- pages/index.vue | 210 +++++++++++--------- pages/soft.vue | 6 +- pages/talk.vue | 6 +- plugins/fontawsome.ts | 34 ++-- plugins/markdown-it.ts | 69 +++---- plugins/mitt.ts | 22 +-- plugins/typedjs.ts | 2 +- tailwind.config.ts | 13 +- types/blog.d.ts | 2 +- types/git.d.ts | 16 +- types/index.d.ts | 2 +- types/notification.d.ts | 8 +- 45 files changed, 1014 insertions(+), 764 deletions(-) diff --git a/app.vue b/app.vue index 87786e7..a7a1da7 100644 --- a/app.vue +++ b/app.vue @@ -1,12 +1,13 @@ \ No newline at end of file + diff --git a/components/alert/Alert.vue b/components/alert/Alert.vue index 885dc40..a5822cb 100644 --- a/components/alert/Alert.vue +++ b/components/alert/Alert.vue @@ -10,14 +10,21 @@ defineProps<{
- {{ icon }} + {{ icon }}
-

{{ title }}

-

{{ message }}

+

+ {{ title }} +

+

+ {{ message }} +

返回首页 @@ -27,4 +34,4 @@ defineProps<{ \ No newline at end of file + diff --git a/components/alert/Notification.vue b/components/alert/Notification.vue index e6e0f49..16da720 100644 --- a/components/alert/Notification.vue +++ b/components/alert/Notification.vue @@ -1,42 +1,43 @@