From 5c8e8b817facdf7771c3f51671839fb766df5bb3 Mon Sep 17 00:00:00 2001 From: Aresn Date: Mon, 3 Jun 2024 10:47:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=90=88=E9=9B=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/i/action/Collect.vue | 37 +++++++++++++++++++++++++++++ components/i/library/Create.vue | 42 ++++++++++++++++++++++++++++++--- components/i/library/Edit.vue | 18 ++++++++++++++ components/i/library/Header.vue | 23 ++++++++++++------ pages/library/[id].vue | 1 + 5 files changed, 111 insertions(+), 10 deletions(-) create mode 100644 components/i/action/Collect.vue create mode 100644 components/i/library/Edit.vue diff --git a/components/i/action/Collect.vue b/components/i/action/Collect.vue new file mode 100644 index 0000000..d83e9b8 --- /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 5e091c4..7425b8c 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 c1dd184..1894586 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" />
-- GitLab