Giter Site home page Giter Site logo

Comments (9)

treadpit avatar treadpit commented on April 29, 2024

@yangkun90 是禁止选择已经过去的日期功能么?

from wx_calendar.

yangkun90 avatar yangkun90 commented on April 29, 2024

@treadpit 是的,这个功能手机上测试不对,但是模拟器是正确的

from wx_calendar.

treadpit avatar treadpit commented on April 29, 2024

@yangkun90 不起作用的具体表现是什么呢,能点击?无样式?方便提供下真机的机型,系统么?

from wx_calendar.

yangkun90 avatar yangkun90 commented on April 29, 2024

我有个需求就是根据条件排除满足条件的日期,就是这个日期不可选择,默认为灰色,模拟器上是排除成功,但是真机6s 6 7都是没有效果。

from wx_calendar.

treadpit avatar treadpit commented on April 29, 2024

目前这个禁用过去日期选择功能,是没有做条件限制的,该模板打开这个配置会禁用自今天之前的所有日期选择,这个能加入排除条件的功能是你加的么?

from wx_calendar.

yangkun90 avatar yangkun90 commented on April 29, 2024

对是我根据酒店订房条件判断,比如未来某天这个房子已经别别人预定了,这个时候这个日期不能被选择,所以在过滤的时候我加入的。老大可以试着加入这种过滤机制。

from wx_calendar.

chbaoxu avatar chbaoxu commented on April 29, 2024

iOS系统不支持2017-01-01格式的时间,代码里面的timeStamp获取方式修改为:const timestamp = new Date(${curYear}/${curMonth}/${curDate}).getTime();

分隔符从 - 修改为 / 即可,已经在Android和iOS调通了,希望有所帮助

from wx_calendar.

treadpit avatar treadpit commented on April 29, 2024

@chbaoxu ok, 感谢反馈

from wx_calendar.

treadpit avatar treadpit commented on April 29, 2024

@yangkun90 这个 issue 先关了,如果确实需要禁用的过滤机制,麻烦另开 issue,一个 issue中掺杂其他延伸问题难于管理。

from wx_calendar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.