diff --git a/modules/web/src/components/BookItems.vue b/modules/web/src/components/BookItems.vue index fc2907c62..5eed0e6dc 100644 --- a/modules/web/src/components/BookItems.vue +++ b/modules/web/src/components/BookItems.vue @@ -22,7 +22,7 @@
{{ book.author }}
-
+
-
+
共{{ book.totalChapterNum }}章
{{ dateFormat(book.lastCheckTime) }}
-
{{ book.intro }}
+
{{ book.intro }}
-
+
已读:{{ book.durChapterTitle }}
最新:{{ book.latestChapterTitle }}
@@ -52,7 +52,7 @@ import { dateFormat } from "../plugins/utils"; const props = defineProps(["books", "isSearch"]); const emit = defineEmits(["bookClick"]); -const handleClick = (book) => emit("bookClick", toRaw(book)); +const handleClick = (book) => emit("bookClick", book); const getCover = (coverUrl) => { return /^data:/.test(coverUrl) ? coverUrl @@ -64,6 +64,7 @@ const getCover = (coverUrl) => { const subJustify = computed(() => props.isSearch ? "space-between" : "flex-start" ); +