diff --git a/modules/web/.eslintrc-auto-import.json b/modules/web/.eslintrc-auto-import.json index fcb0d053c..6ed320415 100644 --- a/modules/web/.eslintrc-auto-import.json +++ b/modules/web/.eslintrc-auto-import.json @@ -4,6 +4,7 @@ "ComponentPublicInstance": true, "ComputedRef": true, "EffectScope": true, + "ElLoading": true, "ElMessage": true, "InjectionKey": true, "PropType": true, diff --git a/modules/web/src/auto-imports.d.ts b/modules/web/src/auto-imports.d.ts index d11a4a101..1755533d3 100644 --- a/modules/web/src/auto-imports.d.ts +++ b/modules/web/src/auto-imports.d.ts @@ -5,6 +5,7 @@ export {} declare global { const EffectScope: typeof import('vue')['EffectScope'] + const ElLoading: typeof import('element-plus/es')['ElLoading'] const ElMessage: typeof import('element-plus/es')['ElMessage'] const acceptHMRUpdate: typeof import('pinia')['acceptHMRUpdate'] const computed: typeof import('vue')['computed'] diff --git a/modules/web/src/components/BookItems.vue b/modules/web/src/components/BookItems.vue index 9b421b5a6..fc2907c62 100644 --- a/modules/web/src/components/BookItems.vue +++ b/modules/web/src/components/BookItems.vue @@ -3,7 +3,7 @@
@@ -22,7 +22,7 @@
{{ book.author }}
-
+
-
+
共{{ book.totalChapterNum }}章
{{ dateFormat(book.lastCheckTime) }}
-
{{ book.intro }}
+
{{ book.intro }}
-
+
已读:{{ book.durChapterTitle }}
最新:{{ book.latestChapterTitle }}
diff --git a/modules/web/src/components/ChapterContent.vue b/modules/web/src/components/ChapterContent.vue index 419e6f515..5ead981f6 100644 --- a/modules/web/src/components/ChapterContent.vue +++ b/modules/web/src/components/ChapterContent.vue @@ -1,9 +1,10 @@