diff --git a/components/i/action/Collect.vue b/components/i/action/Collect.vue new file mode 100644 index 0000000000000000000000000000000000000000..d83e9b84e54a526926ef1ecd1c11dda4957ed42a --- /dev/null +++ b/components/i/action/Collect.vue @@ -0,0 +1,37 @@ + + diff --git a/components/i/library/Create.vue b/components/i/library/Create.vue index 5e091c4be9aff643657e6d5951a437c310b90288..7425b8c3ba63b58d113317e86092336166cf91f7 100644 --- a/components/i/library/Create.vue +++ b/components/i/library/Create.vue @@ -1,9 +1,14 @@ -
- +
+
+ +
+
+ +
{{ description }}
@@ -48,6 +53,10 @@ defineProps({ count: { type: Number, default: 0 + }, + collectId: { + type: [String, Number], + default: '' } }) const searchQuery = ref('') diff --git a/pages/library/[id].vue b/pages/library/[id].vue index c1dd18450570d6db048f97b2555d037975200bbd..189458673bf312d71702c9a0abe75bdc7832816a 100644 --- a/pages/library/[id].vue +++ b/pages/library/[id].vue @@ -5,6 +5,7 @@ :collect="currentCollect.name" :description="currentCollect.description" :count="currentCollect.record_count" + :collect-id="currentCollect.id" />