GithubHelp home page GithubHelp logo

gitsifu / wxapp-timepicker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rover95/wxapp-timepicker

0.0 1.0 0.0 379 KB

微信小程序自定义日期时间选择器,可限制时间范围,调整时间精度日期或时分秒,自定义选择器样式。weApp-picker | time-picker

JavaScript 100.00%

wxapp-timepicker's Introduction

wxapp-timePicker

微信小程序自定义时间选择器,支持多种自定义功能。

在开发工具中浏览: wechatide://minicode/OGPpLFmW7t2k
复制链接在浏览器中打开

配置项

pickerConfig: {
  endDate: true,                          // 是否需要结束时间,为true时显示开始时间和结束时间两个picker
  column: "second",                       //可选的最小时间范围hour、minute、secend
  dateLimit: true,                        //是否现在时间可选范围,false时可选任意时间;未数字n时,范围是当前时间的最近n天
  limitStartTime: "2015-05-06 12:32:44",  //最小可选时间
  limitEndTime: "2055-05-06 12:32:44"     //最大可选时间 
}

其他限制条件可修改组件中的compareTime函数定义

endDate: true
gif

endDate: false
gif

wxapp-timepicker's People

Contributors

rover95 avatar

Watchers

James Cloos avatar

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.