Ð×ÐÔ´ó·¢(Fe }
//分集介ç»
var tv_plot = result['tv_plot'] ? result['tv_plot'] : '';
//æŒ‰ç…§ç¬¬å‡ é›†åŽ»è§£æž
var matches = tv_plot.split(/第\d+集/g);
//共多少集
var len = matches.length;
var total_plot_html = ''
var plot_html = '';
if(len > 0){
for(k=0;k第'+tab+'集';
}
for(var key = 0; key ');
if(key == 0) {continue;}
k = key -1 ;
var style = 'display: none;';
if(key == 1){style = 'display: block;';}
plot_html += '';
}
}
if(plot_html != ''){
plot_html = ' '+plot_html;
$('.plot').append(plot_html);
//分集剧情
$('#jtab li').on('click',function(e){
e.preventDefault();
id='jtabCon'+e.srcElement.id;
var num = $('.curr_plot')[0].id;
var none_id = 'jtabCon'+num;
$('.curr_plot')[0].setAttribute('class','');
$('#'+e.srcElement.id)[0].setAttribute('class','curr_plot curr');
$('#'+none_id).css('display','none');
$('#'+id).css('display','block');
//console.log(e.srcElement.id);
});
}
if(type == 'star'){
//电影作å“年表
var year_movie = '';
var year_tv = '';
var html_temp = '';
$.ajax({
dataType:'jsonp',
type:'get',
url:'//interface.sina.cn/ent/ku/works.d.json?keywords='+keywords+'&type=tv',
success:function(movieResult) {
var movieTemp = movieResult['result']['data'];
var html_temp = '';
if (movieTemp) {
for (var j = 0; j < movieTemp.length; j++) {
var data_json = movieTemp[j];
//var id = data_json['_id'];
var title = data_json['title'];
var url = data_json['url'];
var imgold = data_json['pic'];
var img = imgold.replace('http:','');
var oTitle = data_json['oTitle'];
var director = data_json['director'];
var star = data_json['star'];
var type = data_json['type'];
var nation = data_json['nationnality'];
var time = data_json['time'];
var alias = '';
var types = '';
var area = '';
var directors = '';
if (data_json['num'] && data_json['num'] != '' && data_json['num'] != 0) {
var total_len = data_json['num'] + '分钟';
Class.protota `°ÿpô `°ÿpô à_ à_ ments.length!=O.label.length){throw new Error("random()傿•°é”™è¯¯:傿•°æ•°é‡ä¸Žæ ‡ç¾æ•°é‡ä¸ç¬¦!(length:"+arguments.length+")")};var l=0,o;for(o=0;o=I){O.select(o);break}}};SubShowClass.prototype.play=function(spTime){if(typeof(spTime)=="number"){this.spaceTime=spTime};clearInterval(this.autoPlayTimeObj);this.autoPlayTimeObj=setInterval("SubShowClass.childs["+this.ID+"].autoPlayFunc()",this.spaceTime);this.autoPlay=true};SubShowClass.prototype.autoPlayFunc=function(){var i=this;if(i.autoPlay==false||i.mouseIn==true){return};i