日期加数字 function addDate(date, days) { var d = new Date(date); d.setDate(d.getDate() + days); var m = d.getMonth() + 1; return d.getFullYear() + '-' + m + '-' + d.getDate(); }