# wxapp-timePicker **Repository Path**: macker112300/wxapp-timePicker ## Basic Information - **Project Name**: wxapp-timePicker - **Description**: 微信小程序自定义日期时间选择器,可限制时间范围,调整时间精度日期或时分秒,自定义选择器样式。weApp-picker | time-picker - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 4 - **Created**: 2023-03-30 - **Last Updated**: 2023-03-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # wxapp-timePicker 微信小程序自定义时间选择器,支持多种自定义功能。 [在开发工具中浏览:](https://developers.weixin.qq.com/s/N9EdArmQ7a6j) [https://developers.weixin.qq.com/s/N9EdArmQ7a6j](https://developers.weixin.qq.com/s/N9EdArmQ7a6j) 复制链接在浏览器中打开 配置项 ```js pickerConfig: { endDate: true, // 是否需要结束时间,为true时显示开始时间和结束时间两个picker column: "second", //可选的最小时间范围day、hour、minute、secend dateLimit: true, //是否现在时间可选范围,false时可选任意时间;当为数字n时,范围是当前时间的最近n天 initStartTime:'2019-01-01 12:32:44', //picker初始时间,默认当前时间 initEndTime: "2019-12-01 12:32:44", //picker初始结束时间,默认当前时间 limitStartTime: "2015-05-06 12:32:44", //最小可选时间 limitEndTime: "2055-05-06 12:32:44" //最大可选时间 } ``` 其他限制条件可修改组件中的compareTime函数定义 endDate: true ![gif](https://raw.githubusercontent.com/rover95/wxapp-timePicker/master/images/endDate.gif) endDate: false ![gif](https://raw.githubusercontent.com/rover95/wxapp-timePicker/master/images/noEndDate.gif) ## 更多 [动态表单组件](https://github.com/rover95/wxapp-form) ![image](https://user-images.githubusercontent.com/28331870/77737126-4f61ff00-7048-11ea-83df-e10c100e415b.png) [小程序热力图组件](https://github.com/rover95/wxapp-heatmap) ![img](https://raw.githubusercontent.com/rover95/image/master/img/heatmap3.png) [自定义轮播图组件](https://github.com/rover95/wxapp-swiper) ![gif](https://raw.githubusercontent.com/rover95/image/master/gif/swiper2.gif)