From b37b9638b21311b15db82103206471091208e5e3 Mon Sep 17 00:00:00 2001 From: chiayin Date: Thu, 18 May 2023 11:52:16 +0800 Subject: [PATCH] Discover: SidebarFilter Timeframes LineChart Option done. --- src/components/Discover/Filter/Timeframes.vue | 182 ++++++++++++------ src/main.js | 2 + 2 files changed, 129 insertions(+), 55 deletions(-) diff --git a/src/components/Discover/Filter/Timeframes.vue b/src/components/Discover/Filter/Timeframes.vue index 332089b..db21f0e 100644 --- a/src/components/Discover/Filter/Timeframes.vue +++ b/src/components/Discover/Filter/Timeframes.vue @@ -1,63 +1,115 @@ + diff --git a/src/main.js b/src/main.js index 3a6d4e9..bc19a15 100644 --- a/src/main.js +++ b/src/main.js @@ -41,6 +41,7 @@ import Timeline from 'primevue/timeline'; import InputSwitch from 'primevue/inputswitch'; import Chart from 'primevue/chart'; import Slider from 'primevue/slider'; +import Calendar from 'primevue/calendar'; const emitter = mitt(); const app = createApp(App); @@ -88,6 +89,7 @@ app.component('Timeline', Timeline); app.component('InputSwitch', InputSwitch); app.component('Chart', Chart); app.component('Slider', Slider); +app.component('Calendar', Calendar); app.component('Draggable', draggable); // 拖曳 app.mount("#app");