diff --git a/library_system/src/components/BookCard.vue b/library_system/src/components/BookCard.vue index 449a935..9fc4319 100644 --- a/library_system/src/components/BookCard.vue +++ b/library_system/src/components/BookCard.vue @@ -5,15 +5,15 @@

{{ book.title }}

-
+
{{ book.content }} ¥{{ book.money }}/天
-
- - {{ book.number > 0 ? '可借' : '已借完' }} +
+ + {{ book.state }} - 库存: {{ book.number }}本 + 阅读量: {{ book.number }}次
@@ -24,6 +24,10 @@ defineProps({ book: { type: Object, required: true + }, + showMeta: { + type: Boolean, + default: true } }) diff --git a/library_system/src/views/Admin/AllBorrowRecords.vue b/library_system/src/views/Admin/AllBorrowRecords.vue index 1d2249f..c3c8b15 100644 --- a/library_system/src/views/Admin/AllBorrowRecords.vue +++ b/library_system/src/views/Admin/AllBorrowRecords.vue @@ -26,7 +26,7 @@
- +