From fb43832911ad95e9eb25cce1b9d5bc99bb8385d6 Mon Sep 17 00:00:00 2001 From: TZGyn Date: Sun, 12 Feb 2023 16:51:27 +0800 Subject: [PATCH] feature: options for each note in notes index --- components/card/Note.vue | 27 ++++++++++++++++++++------- components/card/Options.vue | 13 +++++++++++++ 2 files changed, 33 insertions(+), 7 deletions(-) create mode 100644 components/card/Options.vue diff --git a/components/card/Note.vue b/components/card/Note.vue index 50362e4..55f4acd 100644 --- a/components/card/Note.vue +++ b/components/card/Note.vue @@ -7,12 +7,25 @@
{{ props.title }}
- - - +
+ + + +
+
+
+ +
+
+
+
{ + const noteDetail = (id: string) => { navigateTo(`/notes/${id}`); }; diff --git a/components/card/Options.vue b/components/card/Options.vue new file mode 100644 index 0000000..3cbcd43 --- /dev/null +++ b/components/card/Options.vue @@ -0,0 +1,13 @@ + + +