var fromurl=window.location.href;setTimeout("count_down()",1000); var time_day=document.getElementById("times_day"); var time_hour=document.getElementById("times_hour"); var time_minute=document.getElementById("times_minute"); var time_second=document.getElementById("second"); var time_end=new Date(zbtime);time_end=time_end.getTime(); var st=''; var lq_st='https://go.leqiu123.live/leqiu123.html?url='; if(url.indexOf("https://go.leqiu123.live/link.html")!=-1)links=url; else if(url.indexOf("player")!=-1)links=lq_st+''+url; else links=st+''+url; function count_down() { var time_now=new Date();time_now=time_now.getTime();var time_distance=time_end-time_now;var time_distance2=time_now-time_end;var int_day,int_hour,int_minute,int_second;if(time_distance>=0) {int_day=Math.floor(time_distance/86400000) time_distance-=int_day*86400000;int_hour=Math.floor(time_distance/3600000) time_distance-=int_hour*3600000;int_minute=Math.floor(time_distance/60000) time_distance-=int_minute*60000;int_second=Math.floor(time_distance/1000) if(int_hour<10) int_hour="0"+int_hour;if(int_minute<10) int_minute="0"+int_minute;if(int_second<10) int_second="0"+int_second;time_day.innerHTML=int_day;time_hour.innerHTML=int_hour;time_minute.innerHTML=int_minute;time_second.innerHTML=int_second;setTimeout("count_down()",1000); } else if(time_distance2<=10800000) { times_container.innerHTML='
<\/a><\/center>'; } else { times_container.innerHTML='
直播可能已经结束,请观看录像,或【继续观看】
'; } } /*直播*/ $(".navv li").on("click", function () { var text = $(this).text(); if (text == "全部") { $("div.list_block").show(); } else if (text == "第1节") { $("div.list_block").hide(); $("div[data-keyword*='第1节']").show(); } else if (text == "篮球直播") { $("div.list_block").hide(); $("div[data-keyword*='2']").show(); } else if (text!=='') { $("div.list_block").hide(); $("div[data-keyword*="+text+"]").show(); } }) $('.navv li').on('click', function () { $(this).addClass('active').siblings('').removeClass('active'); });