Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collection new Features #96

Open
GeoffZhu opened this issue May 12, 2018 · 17 comments
Open

Collection new Features #96

GeoffZhu opened this issue May 12, 2018 · 17 comments

Comments

@GeoffZhu
Copy link
Owner

I'm going to rewrite this component, about a month later. If you have any suggestions, write in below.

@chen583793811
Copy link

填写日期的时候必须是2018/05/15这种格式吗,2018-05-25 11:48:31现在这种格式支持吗

@franciscoamado
Copy link

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

@GeoffZhu
Copy link
Owner Author

@chen583793811 not support yet

@GeoffZhu
Copy link
Owner Author

@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.

@zsio
Copy link

zsio commented May 17, 2018

希望出现两个功能:

  1. 希望加入某一项禁止点击,例如在数据中加入disabled,虽然利用:before or :after遮挡来实现,但还是希望能提供官方支持。

  2. 希望在日期显示中提供额外的文字描述,例如15号下面写已完成,如下图。不过利用利用:before or :after也可以实现。
    image

  3. 希望加入api控制某一天选中,这个是刚需。

@GeoffZhu
Copy link
Owner Author

@zsio

  1. 为什么需要禁止点击那?当天有事件,不可以点击吗?
  2. 会考虑实现
  3. api控制某一天用this.$EventCalendar.toDate可以实现

@chen583793811
Copy link

这个可在加上分页吗
image

@GeoffZhu
Copy link
Owner Author

@chen583793811 Pagination is in plan, but the UI design is difficult for that calendar.

@zsio
Copy link

zsio commented May 24, 2018

禁止点击 是有一些别的需求的
我觉得不能纯做“计划任务”这个功能 完全可以实现“点击日期查看景区预订”这样的功能
因为景区不是每一天都可以预订的 这就出现了某点禁止点击了

如上只是个示例,实际上有很多很多奇怪的需求 我觉得灵活一点更好 不要把功能限制在某一块

@ClownZyk
Copy link

现在的组件是一次要把所有的event拿到才能在有event的日期上做标记,而现实开发中很多时候是点击哪天才会去后台取数据,但是又很需要做到提醒用户哪天有event,所以能不能有个额外的数组参数配置,指定当月哪几天有event

@Teacher-Li
Copy link

this.$EventCalendar.toDate('2016/11/12'),这个方法好像只是实现打开2016年11月的日历表,这和调用this.$EventCalendar.toDate('2016/11/01')得到的结果是一样的,我希望toDate('2016/11/12')这个方法能真正和2016年11月12号有关联,比如在11月12号这一天加上被点击的样式,如果能直接响应这天的事件就更好了。谢谢

@baitkul
Copy link

baitkul commented May 26, 2018

Could you add an option, so it would be possible to hide events panel.

@liuwanj
Copy link

liuwanj commented May 31, 2018

The right panel can be configured as hidden, height can be set

@liuwanj
Copy link

liuwanj commented May 31, 2018

Add tooltip to calendar

@pmochine
Copy link

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

@lovelmh13
Copy link

希望可以有农历、节气、公历节日和农历节日

@phil294
Copy link

phil294 commented Aug 16, 2019

what is the status here @GeoffZhu ? Are you going to rewrite it or is this repository dead? The calendar looks pretty good, why is a rewrite necessary?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests