效果图
目前实现效果图:
实现代码
var now = new Date(),max = new Date(now.getFullYear(), now.getMonth(), now.getDate()+2, 23,50), min=new Date(now.getFullYear(), now.getMonth(), now.getDate(), now.getHours(), now.getMinutes()); $('#demo').mobiscroll().datetime({ theme: 'mobiscroll', display: 'bottom', lang: 'zh', min:min , max: max, headerText:'出发时间', dateWheels: '|d|', timeWheels: 'HHii' , dateFormat: 'yyyy-mm-dd' });
相关分类