daysMonth = new Array(31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31);然后根据你选择的月 来提取当月中的天数 在循环的创建 在选年的时候 在判断下一 是否是闰年。。更改一个 这个数组的二月