js中的时间对比 参数格式(yyyy-MM--dd) var a = new Date("时间参数"); var b = new Date("时间参数"); if(a.getTime()<=b.getTim ...