纯css对laydate 时间选择器优化,小时选择器,时分选择器
纯css对laydate 时间选择器优化,小时选择器,时分选择器
因为项目需要,开始时间只能选择整点的需求,后查官网发现时间选择器没提供小时选择器。 所以有了这个优化
them参数为设置自定义主题,会自动生成一个类名,加空格生成多个类名,纯css对选择器进行优化
laydate.render({
elem: '#test',
theme: 'theme-date only-hours',
type: 'datetime',
btns: ['clear', 'confirm'],
fo
原创
2021-04-02 11:23:56 ·
488 阅读 ·
0 评论