Giter Club home page Giter Club logo

Comments (8)

huanghaibin-dev avatar huanghaibin-dev commented on August 21, 2024

周视图切换的时候吗?默认选中周一或者周日?

from calendarview.

hsicen avatar hsicen commented on August 21, 2024

就是第一竖排起始为星期一还是星期日
image

from calendarview.

hsicen avatar hsicen commented on August 21, 2024

有没有提供设置农历显示与隐藏的方法呢?

from calendarview.

huanghaibin-dev avatar huanghaibin-dev commented on August 21, 2024

星期日到星期一的排列这个就不提供切换了,这种需求会使整个框架多了一堆if else语句,农历的显示和隐藏这个你按照demo就可以自己实现的啊,你可以把农历换成你想要的任意文本都是可以的,这个框架本身不干扰

from calendarview.

hsicen avatar hsicen commented on August 21, 2024

星期日到星期一的排列这个如果要实现,可以提供一下思路么?具体在框架哪个部分修改呢?谢谢了!

from calendarview.

huanghaibin-dev avatar huanghaibin-dev commented on August 21, 2024

整体的算法都需要改动,日历的核心部分是农历算法和周算法,涉及到两个日期有多少周的话,是需要计算这两个日期的起始偏移和结束偏移的,总之,不建议改动这里

from calendarview.

hsicen avatar hsicen commented on August 21, 2024

框架里的Month类,有个setDiff()方法,表示日期偏移,可以实现么?

from calendarview.

huanghaibin-dev avatar huanghaibin-dev commented on August 21, 2024

真的不可以,如果只是单独考虑月视图,那还好,但是周视图太复杂,并不是任意就能改动的,如果真的需要的话,我看看接下来怎么升级比较好,不破坏现在的可读性

from calendarview.

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.