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

关于日期显示 #43

Open
J-Superman opened this issue Jan 5, 2021 · 8 comments
Open

关于日期显示 #43

J-Superman opened this issue Jan 5, 2021 · 8 comments

Comments

@J-Superman
Copy link

不属于本月的日期可以做不显示处理吗?

@TangSY
Copy link
Owner

TangSY commented Jan 5, 2021

可以,使用dayslot插槽即可实现

@TangSY
Copy link
Owner

TangSY commented Jan 5, 2021

使用 extendAttr 中的 isCurrentMonthDay 字段可以判断是否为本月日期,然后对其隐藏即可

@J-Superman
Copy link
Author

这样的话就会有空白行,而且空白区域还可以点击

@TangSY
Copy link
Owner

TangSY commented Jan 5, 2021

好,我处理一下

@TangSY
Copy link
Owner

TangSY commented Jan 6, 2021

已添加 isShowNotCurrentMonthDay 属性, 用于控制是否展示不属于本月的日期,组件更新到 1.2.31 版本即可使用。具体使用方法可查看文档!

@J-Superman
Copy link
Author

爆赞,但是更新了之后
遗留了一个问题--日历还是会显示多一行空白
引发了另一个问题--切换成周显示后,切换上一月和本月滑动日期无法连续会缺少日期。

@TangSY
Copy link
Owner

TangSY commented Jan 7, 2021

1、【日历还是会显示多一行空白】--如果不多一行空白,会导致日历的高度不统一,因为有些月份还是会占用 7 行的;

2、【切换成周显示后,切换上一月和本月滑动日期无法连续会缺少日期】--这个我看下怎么处理一下。

@starlet0822
Copy link

切换月周视图的箭头在ios设备 无法正常显示?

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

3 participants