效果圖目前實(shí)現(xiàn)效果圖:實(shí)現(xiàn)代碼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:'出發(fā)時(shí)間',
dateWheels: '|d|',
timeWheels: 'HHii' ,
dateFormat: 'yyyy-mm-dd'
});
如何 mobiscroll 將最近三天日期,改為今天,明天,后天
ITMISS
2018-10-10 13:19:24