判断条件需要更改,本人的失误,当时测的时候有点仓促,望体谅
if (hour < 1 && minute < 10) {
$('.timespan').eq(3).html("间接性踌躇满志!还没下班!加油");
}
if (seconds < 0) {
$(".span0").hide();
$(".timespan").eq(0).hide();
$(".timespan").eq(1).hide();
$(".timespan").eq(2).hide();
$('.timespan').eq(3).html("持续性混吃等死!下班!结束!");
} else {
$('.timespan').eq(0).html(hour);
$('.timespan').eq(1).html(minute);
$('.timespan').eq(2).html(seconds);
}
}, 1000);
var starttimes = new
回复