//时间比较
function checkEndTime(date){
var today=new Date();
var end=new Date(date.replace("-", "/").replace("-", "/"));
console.log(date);
console.log(today);
console.log(end);
if(end<today){ //是否过期
return true;
}
return false;
}