ription==1){

subht='已订阅';

}else{

subht='未订阅';

}

ht+=''+subht+'';

ht+='';

$("#chapter_re_tabletr:last").after(ht);

}

});

if(countparseInt($('#noEgold').ht())){

shoRequest();

}

}

}

});

$("bs_list").css({height:"auto"});

});

$("#subs_expand_all").live("click",function(){

loading();

$("#subs_expand_all").die("click");

book_id=$(this).attr('data-book_id');

uid=$(this).attr('data-uid');

$.ajax({

type:"get",

url:'/ne/ks_user/subscription/getChapterListAll',

data:'book_id='+book_id,

dataType:"json",

success:function(g){

chapter_count=0;

goldsunbsp;=0;

();

if(.de!=0)

{

alert(.);

returnfalse;

}else{

varht='',

data_len=.;

//$.each(,function(i,ite{

$("#chapter_re_tabletr:gt(0)").reve();

$.each(.data,function(i,n){

//$("#chapter_re_table").ht('选择书名章节名字数需要看书币订阅状态');

ht='';

if(_subscription!=1){

ht+='';

goldsunbsp;=goldsuparseInt(_price);

chapter_count++;

}else{

ht+='';

}

ht+=''+n.book_na+'';

subht='';

if(!=''){

subht='第'++'章';

}

ht+=''+subht+_na+'';

ht+=''+ze+'';

ht+=''+_price+'';

subht='';

if(_subscription==1){

subht='已订阅';

}else{

subht='未订阅';

}

ht+=''+subht+'';

ht+='';

$("#chapter_re_tabletr:last").after(ht);

});

$('#chapterSu).ht(chapter_count);

$('#goldsu).ht(goldsu;

$('#sugold').ht(goldsu;

if(parseInt($('#goldsu).ht())>parseInt($('#noEgold').ht())){

shoRequest();

}

$('#subs_expand_all').ht('收起章节列表');

//$('bs_expand').css('color','#CCC');

$('bs_expand').css('color','#CCC');

$("bs_expand").die("click");

$("#subs_expand_all").die("click");

$('#subs_expand_all').live('click',function(){

hiddenChapterAll();



本章未完,点击下一页继续阅读