var liststr="";var about=function(i,o){if(i%5==0){liststr+='';}else{liststr+='';}
liststr+='';liststr+=''+o.desc+'
';liststr+='';return liststr;}
var about_poster=function(i,o){if(i%5==0){liststr+='';}else{liststr+='';}
liststr+='';liststr+=''+o.desc+'
';liststr+='';return liststr;}
ajax_ew("/movie/about","POST",{"type":'movie','mid':movieId},function(data){var data=data32(data);if(data.status==200){$.each(data.data.list,function(i,o){about(i,o);});}else if(data.status==3002){liststr="";liststr+='
';liststr+='很抱歉,小e没有筛选到相关内容';liststr+='
';}
$(".shortPlayCont").append(liststr);},function(){})
$(".newlistTitle li").click(function(){$(this).addClass("cur").siblings("li").removeClass("cur");liststr="";var datatype=$(this).attr("data-type");ajax_ew("/movie/about","POST",{"type":datatype,'mid':movieId},function(data){var data=data32(data);if(data.status==200){if(datatype=='poster'){$.each(data.data.list,function(i,o){about_poster(i,o);})}else{$.each(data.data.list,function(i,o){about(i,o);})}}else if(data.status==3002){liststr="";liststr+='';liststr+='很抱歉,小e没有筛选到相关内容';liststr+='
';}
$(".shortPlayCont").html("");$(".shortPlayCont").append(liststr);},function(){})});$(function($){$('.live-wx-btn').hover(function(){$(this).find('.live-wx-img').show()},function(){$(this).find('.live-wx-img').hide()});});;$(function($){if($('.banner_box ol li').length&&$('.banner_box ol li').length>1){autoNews(0);}
$('.banner_box>ul>li').each(function(index){$(this).attr('data-index',index+1);});function autoNews(Index){autoSlip(Index);function autoSlip(Index){var height=$('.banner_box>ul>li')[0].getBoundingClientRect().height;$('.banner_box ul').css('top',-Index*height+'px');$('.banner_box ol li').eq(Index).addClass('cur').siblings().removeClass('cur');}
setInterval(function(){Index>($('.banner_box ol li').length-2)?Index=0:Index++;autoSlip(Index);},3000)}
$('.live-wx-btn').hover(function(){$('.live-wx-img').show()},function(){$('.live-wx-img').hide()});if($(".banner_box ul p")){$(".banner_box ul p").each(function(e){if($(this).text().length>37){var s=$(this).text().substring(0,37)+" ...";$(this).text(s);}});}
if($(".banner_box ul span")){$(".banner_box ul span").each(function(e){if($(this).text().length>66){var s=$(this).text().substring(0,66)+" ...";$(this).text(s);}})}});