diff --git a/web/src/components/TodoStrip.vue b/web/src/components/TodoStrip.vue new file mode 100644 index 0000000..7fa7917 --- /dev/null +++ b/web/src/components/TodoStrip.vue @@ -0,0 +1,315 @@ + + + + + diff --git a/web/src/views/Home.vue b/web/src/views/Home.vue index 5e5a569..358ad13 100644 --- a/web/src/views/Home.vue +++ b/web/src/views/Home.vue @@ -8,9 +8,6 @@
-
- -
@@ -19,9 +16,7 @@
- - - + @@ -36,7 +31,7 @@ import moment from 'moment'; import { Icon } from '@iconify/vue2'; import tableOfContents from '@iconify/icons-mdi/table-of-contents'; import DiaryEditor from "@/components/DiaryEditor"; -import Todo from '@/components/Todo.vue'; +import TodoStrip from '@/components/TodoStrip.vue'; import MDView from '@/components/MDView.vue'; import OnlineStatusIndicator from '@/components/OnlineStatusIndicator.vue'; import DateNavigation from '@/components/DateNavigation.vue'; @@ -44,7 +39,6 @@ import { getDiaryIds } from '@/services/diary'; const now = ref(moment()); const date = ref(moment().format('YYYYMMDD')) -const dialogVisible = ref(false) const dialogVisibleMd = ref(false) const diaryIds = ref(new Set()); @@ -68,13 +62,6 @@ const time = computed(() => { return now.value.format(timeFormat); }); -function openModal() { - dialogVisible.value = true -} -function closeModal() { - dialogVisible.value = false -} - function openModalMd() { dialogVisibleMd.value = true }