/*h5 input时间框显示默认当前时间*/
/*var now = new Date(),
year = now.getFullYear(),
month = ((now.getMonth() + 1)>9)?(now.getMonth() + 1):("0"+(now.getMonth() +
1)),
date = translate(now.getDate()),
hour = translate(now.getHours()),
minute = translate(now.getMinutes()),
second = translate(now.getSeconds());
function translate(prop){
if(prop <= 9){
return "0" + prop;
}else {
return prop
}
}
var dateString = year+"-"+month+"-"+date+"T"+hour+":"+minute;
$('#startTime').val(dateString);

$('#endTime').val(dateString);*/
















有问题的话可以来本人个人博客留言:http://www.funtechstudy.com/