Comments (9)
@yangkun90 是禁止选择已经过去的日期功能么?
from wx_calendar.
@treadpit 是的,这个功能手机上测试不对,但是模拟器是正确的
from wx_calendar.
@yangkun90 不起作用的具体表现是什么呢,能点击?无样式?方便提供下真机的机型,系统么?
from wx_calendar.
我有个需求就是根据条件排除满足条件的日期,就是这个日期不可选择,默认为灰色,模拟器上是排除成功,但是真机6s 6 7都是没有效果。
from wx_calendar.
目前这个禁用过去日期选择功能,是没有做条件限制的,该模板打开这个配置会禁用自今天之前的所有日期选择,这个能加入排除条件的功能是你加的么?
from wx_calendar.
对是我根据酒店订房条件判断,比如未来某天这个房子已经别别人预定了,这个时候这个日期不能被选择,所以在过滤的时候我加入的。老大可以试着加入这种过滤机制。
from wx_calendar.
iOS系统不支持2017-01-01格式的时间,代码里面的timeStamp获取方式修改为:const timestamp = new Date(${curYear}/${curMonth}/${curDate}
).getTime();
分隔符从 - 修改为 / 即可,已经在Android和iOS调通了,希望有所帮助
from wx_calendar.
@chbaoxu ok, 感谢反馈
from wx_calendar.
@yangkun90 这个 issue
先关了,如果确实需要禁用的过滤机制,麻烦另开 issue
,一个 issue
中掺杂其他延伸问题难于管理。
from wx_calendar.
Related Issues (20)
- taro中引入成功了但是我的点击日期事件没有效果,
- 我在taro中如何写他这个自定义配置,我用的是函数组件
- 设置指定日期样式时,会给子元素也添加上class HOT 1
- onSwipe变化chooseAreaMode:true设置多个月份只返回最后两个月数据
- 引入之后直接报错Cannot read property '0' of undefined HOT 1
- 为什么现在周视图模式不支持jump了
- v2 disableMode不管用 HOT 1
- 使用calendar.chooseDateArea()跨年设置日期范围,再用calendar.getSelectedDates()获取选中的日期,获取到的日期不对 HOT 3
- afterTapDate方法名错误
- 切换月份后再调用周视图和月视图的切换当前月份会更改
- v2版本文档的快速开始,usingComponents的路径是v1的 HOT 1
- v2,单选模式,选中另一个日期时无法自动清空上一个日期的选中状态 HOT 1
- taro里获取实例为null HOT 1
- 日历上面的上个月下个月怎么触发? HOT 1
- chooseAreaMode: true下面获取this.calendar.getSelectedDay(),获取值会重复
- calendar.setSelectedDates渲染后,再去点击会出现中间空的情况
- 这个组件占了127k,源码能不能优化下
- 组件的setDateStyle不生效,源码里面有误
- 月份视图切换周视图BUG
- 希望增加滑动切换月份时的反馈
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wx_calendar.