Hzy0913 / mpvue-calendar

📅 A calendar component for vue3.0. Support gesture sliding, range selection, according to the week switch...
http://preview.binlive.cn/mpvue-calendar#/
MIT License
515 stars 103 forks source link

月份切换建议添加swipe左右滑动 #18

Open chenyo2691 opened 5 years ago

chenyo2691 commented 5 years ago

月份切换建议添加swipe左右滑动

Binaryify commented 5 years ago

+1

iworkcloud commented 5 years ago

建议加上下滑动的,去掉上面那个切换月份的箭头。类似下图: image

Hzy0913 commented 5 years ago

@iworkcloud @2.2.0版本增加支持该模式,monthRange参数会根据传入的开始年月到结束年月,显示多个在范围内的月份,如['2019-2', '2020-3']会显示从2019年2月-2020年3月的13个月份日期。

pengqiangGGG commented 5 years ago

传入monthRange参数后 在单选模式下,会出现在每个月份的第一行点击任意日期都可以被选中传入 image

lain1936 commented 4 years ago

@iworkcloud @2.2.0版本增加支持该模式,monthRange参数会根据传入的开始年月到结束年月,显示多个在范围内的月份,如['2019-2', '2020-3']会显示从2019年2月-2020年3月的13个月份日期。

能否加入picker这种模式,最好是可以农历反向获取级联范围。 上下滑动选择

Hzy0913 commented 3 years ago

mpvue-calendar@3.0.0 版本已支持移动端手势滑动👋👋