From fce07ce55f8917268794d3f3fca78e8811c372ef Mon Sep 17 00:00:00 2001 From: jeremyjone Date: Sat, 13 May 2023 21:13:47 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E2=9C=A8=E6=B7=BB=E5=8A=A0=E7=A7=BB?= =?UTF-8?q?=E5=8A=A8=E7=9A=84=E5=B1=82=E7=BA=A7=E8=81=94=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- demo/demo.vue | 15 +++- src/components/common/Row.vue | 4 +- src/components/root/RootWrap.vue | 2 +- src/components/slider/index.vue | 42 +++++++---- src/composables/useEvent.ts | 31 +++++++- src/models/data/row.ts | 122 +++++++++++++++++++++---------- src/typings/data.d.ts | 8 ++ src/utils/common.ts | 7 +- 8 files changed, 169 insertions(+), 62 deletions(-) diff --git a/demo/demo.vue b/demo/demo.vue index 82a7656..54420d5 100644 --- a/demo/demo.vue +++ b/demo/demo.vue @@ -11,6 +11,7 @@ :show-today="true" :show-weekend="true" @row-click="onClickRow" + @move-slider="onMoveSlider" > @@ -52,7 +53,13 @@ ellipsis /> - +