作者 654550265

BUG修改

... ... @@ -391,6 +391,7 @@
acvList.push(parseInt(list[i].getAttribute("data-index")));
}
var degin = acvList[0];
var data_day = $(".day_bg i").attr("data-day").replace(/(\d{4})(\d{2})(\d{2})/, "$1-$2-$3");
for (var j = 0; j < acvList.length; j++) {
if (acvList[j] != degin) {
boo = true;
... ... @@ -404,7 +405,7 @@
url: "{:url('yuyue_coach_do')}",
type: "post",
data: {
day: data_day.replace(/(\d{4})(\d{2})(\d{2})/, "$1-$2-$3"),
day: data_day,
week: week,
begin: parseInt(list[0].getElementsByTagName('b')[0].innerHTML.split("-")[0]),
end: parseInt(list[list.length - 1].getElementsByTagName('b')[0].innerHTML.split('-')[1]),
... ...