Collection new Features
Opened this issue · 17 comments
I'm going to rewrite this component, about a month later. If you have any suggestions, write in below.
填写日期的时候必须是2018/05/15这种格式吗,2018-05-25 11:48:31现在这种格式支持吗
I there! I don't find a way to start the calendar showing the events for the current day.. only appears "All Events".
Would be great to have an option to configure it.
Thanks
@chen583793811 not support yet
@franciscoamado Now you can call
let currentDate = new Date()
this.$EventCalendar.toDate(`${currentDate.getYear()}/${currentDate.getMonth() + 1}/${currentDate.getDay()}`)
Next version,I will give a defaultValue for that.
@chen583793811 Pagination is in plan, but the UI design is difficult for that calendar.
禁止点击 是有一些别的需求的
我觉得不能纯做“计划任务”这个功能 完全可以实现“点击日期查看景区预订”这样的功能
因为景区不是每一天都可以预订的 这就出现了某点禁止点击了
如上只是个示例,实际上有很多很多奇怪的需求 我觉得灵活一点更好 不要把功能限制在某一块
现在的组件是一次要把所有的event拿到才能在有event的日期上做标记,而现实开发中很多时候是点击哪天才会去后台取数据,但是又很需要做到提醒用户哪天有event,所以能不能有个额外的数组参数配置,指定当月哪几天有event
this.$EventCalendar.toDate('2016/11/12'),这个方法好像只是实现打开2016年11月的日历表,这和调用this.$EventCalendar.toDate('2016/11/01')得到的结果是一样的,我希望toDate('2016/11/12')这个方法能真正和2016年11月12号有关联,比如在11月12号这一天加上被点击的样式,如果能直接响应这天的事件就更好了。谢谢
Could you add an option, so it would be possible to hide events panel.
The right panel can be configured as hidden, height can be set
Add tooltip to calendar
And that if you hide the event panel that nothing happens if you click on the event's date on the calendar. Cool would be if you hover above it you see the title of the event
希望可以有农历、节气、公历节日和农历节日