Coder Social home page Coder Social logo

p4x666 / custom-calendar-taro Goto Github PK

View Code? Open in Web Editor NEW
25.0 25.0 8.0 1.14 MB

一款基于taro3的自定义日历组件,支持周,月的展示以及自定义渲染

License: MIT License

JavaScript 15.95% TypeScript 39.79% HTML 36.67% CSS 5.83% Less 1.75%

custom-calendar-taro's People

Contributors

p4x666 avatar syx112233 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

custom-calendar-taro's Issues

currentView不起作用

<Calendar
hideArrow
ref={calendarRef}
marks={calendarData.markerList}
selectedDate={calendarData.selectDay}
currentView={calendarData.currentView}
view={calendarData.mode as any}
custDayRender={custDayRender}
custWeekRender={custWeekRender}
onDayClick={(_item, date) => {
}
/>

大佬这里的currentView并不能切换到对应的月视图,selectDate也不能自动跳到对应的包含对应日期的视图,这个是代码有什么问题吗

大小写拼写错误

npm 上的 1.0.10 版本与当前main分支内容不符。

1.0.10 版本中 ./index.ts 文件中的 CustomCalendar 引入路径为 './src/components/Calendar',但实际该文件路径为 ./src/components/calendar,导致 linux 环境中无法正常编译。

烦请统一

11月份bug

swiper模式下,滑动到每年的2月份后再滑回上一年的11月份,11月份会多一个28号日期,每重复上一个步骤都会加多一个28号

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.