°´¼üÅÌÉÏ·½Ïò¼ü ¡û »ò ¡ú ¿É¿ìËÙÉÏÏ·ҳ£¬°´¼üÅÌÉ쵀 Enter ¼ü¿É»Øµ½±¾ÊéĿ¼ҳ£¬°´¼üÅÌÉÏ·½Ïò¼ü ¡ü ¿É»Øµ½±¾Ò³¶¥²¿£¡
¡ª¡ª¡ª¡ªÎ´ÔĶÁÍꣿ¼ÓÈëÊéÇ©ÒѱãÏ´μÌÐøÔĶÁ£¡
¡¡¡¡¡¡¡¡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£¨msg£©£û
¡¡¡¡¡¡¡¡chapter_count¡¡=¡¡0£»
¡¡¡¡¡¡¡¡goldsum¡¡=¡¡0£»
¡¡¡¡¡¡¡¡£¨£©£»
¡¡¡¡¡¡¡¡if£¨¡£de¡¡£¡=¡¡0£©
¡¡¡¡¡¡¡¡£û
¡¡¡¡¡¡¡¡alert£¨¡££©£»
¡¡¡¡¡¡¡¡return¡¡false£»
¡¡¡¡¡¡¡¡£ýelse£û
¡¡¡¡¡¡¡¡var¡¡html¡¡=¡¡''£»
¡¡¡¡¡¡¡¡data_len¡¡=¡¡¡££»
¡¡¡¡¡¡¡¡//¡¡¡£each£¨£»¡¡function£¨i£»item£©£û
¡¡¡¡¡¡¡¡£¨¡¨#chapter_more_table¡¡tr£ºgt£¨0£©¡¨£©¡£remove£¨£©£»
¡¡¡¡¡¡¡¡¡£each£¨¡£data¡¡£»function£¨i£»¡¡n£©£û
¡¡¡¡¡¡¡¡//£¨¡¨#chapter_more_table¡¨£©¡£html£¨'¡¡¡¡Ñ¡ÔñÊéÃûÕ½ÚÃû×ÖÊýÐèÒª¿´Êé±Ò¶©ÔÄ״̬'£©¡¡£»
¡¡¡¡¡¡¡¡html¡¡=¡¡'¡¡'¡¡£»
¡¡¡¡¡¡¡¡if£¨_subscription£¡=1£©£û
¡¡¡¡¡¡¡¡html¡¡£«='¡¡'¡¡£»
¡¡¡¡¡¡¡¡goldsum¡¡=¡¡goldsum£«parseInt£¨_price£©£»
¡¡¡¡¡¡¡¡chapter_count£«£«¡¡£»
¡¡¡¡¡¡¡¡£ýelse£û
¡¡¡¡¡¡¡¡html¡¡£«='¡¡'£»
¡¡¡¡¡¡¡¡£ý
¡¡¡¡¡¡¡¡html¡¡£«='¡¡'£«n¡£book_name£«''¡¡£»
¡¡¡¡¡¡¡¡subhtml¡¡=''¡¡£»
¡¡¡¡¡¡¡¡if£¨£¡=''£©£û
¡¡¡¡¡¡¡¡subhtml=¡¡'µÚ'£«£«'Õ¡¡'£»
¡¡¡¡¡¡¡¡£ý
¡¡¡¡¡¡¡¡html¡¡£«='¡¡'£«subhtml£«_name£«''¡¡£»
¡¡¡¡¡¡¡¡html¡¡£«='¡¡'£«ze£«''¡¡£»
¡¡¡¡¡¡¡¡html¡¡£«=''£«_price£«''¡¡£»
¡¡¡¡¡¡¡¡subhtml¡¡=''¡¡£»
¡¡¡¡¡¡¡¡if£¨_subscription==1£©£û
¡¡¡¡¡¡¡¡subhtml=¡¡'ÒѶ©ÔÄ'£»
¡¡¡¡¡¡¡¡£ýelse£û
¡¡¡¡¡¡¡¡subhtml=¡¡'δ¶©ÔÄ'£»
¡¡¡¡¡¡¡¡£ý
¡¡¡¡¡¡¡¡html¡¡£«=''£«subhtml£«''¡¡£»
¡¡¡¡¡¡¡¡html¡¡£«=''¡¡£»
¡¡¡¡¡¡¡¡£¨¡¨#chapter_more_table¡¡tr£ºlast¡¨£©¡£after£¨html£©£»
¡¡¡¡¡¡¡¡£ý£©£»
¡¡¡¡¡¡¡¡£¨'#chapterSum'£©¡£html£¨chapter_count£©¡¡£»
¡¡¡¡¡¡¡¡£¨'#goldsum'£©¡£html£¨goldsum£©¡¡£»
¡¡¡¡¡¡¡¡£¨'#sumEgold'£©¡£html£¨goldsum£©¡¡£»
¡¡¡¡¡¡¡¡if£¨parseInt£¨£¨'#goldsum'£©¡£html£¨£©£©¡·parseInt£¨£¨'#noEgold'£©¡£html£¨£©£©£©£û
¡¡¡¡¡¡¡¡shoRequest£¨£©£»
¡¡¡¡¡¡¡¡£ý
¡¡¡¡¡¡¡¡£¨'#subs_expand_all'£©¡£html£¨'ÊÕÆðÕ½ÚÁбí'£©¡¡£»
¡¡¡¡¡¡¡¡//£¨'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£¨£©¡¡£»
¡¡¡¡¡¡¡¡£ý£©¡¡£»
¡¡¡¡¡¡¡¡//£¨'#subs_expand_all'£©¡£css£¨'color'£»'#CCC'£©£»
¡¡¡¡¡¡¡¡//È¥µôÕ¹¿ª¸ü¶àÕ½ڵÄÌáʾ
¡¡¡¡¡¡¡¡page=9999£»
¡¡¡¡¡¡¡¡£ý
¡¡¡¡¡¡¡¡£ý
¡¡¡¡¡¡¡¡£ý£©£»
¡¡¡¡¡¡¡¡£¨¡¨bs_list¡¨£©¡£css£¨£ûheight£º¡¨auto¡¨£ý£©¡¡£»
¡¡¡¡¡¡¡¡£ý£©£»
¡¡¡¡¡¡¡¡£ý£©
¡¡¡¡¡¡¡¡//Òþ²ØÕ½Ú
¡¡¡¡¡¡¡¡function¡¡hiddenChapterAll£¨£©£û
¡¡¡¡¡¡¡¡loading£¨£©£»
¡¡¡¡¡¡¡¡setTimeout£¨'hiddenChapterAllTimeOut£¨£©'¡¡£»¡¡1000£©¡¡£»
¡¡¡¡¡¡¡¡//hiddenChapterAllTimeOut£¨£©¡¡£»
¡¡¡¡¡¡¡¡£ý
¡¡¡¡¡¡¡¡function¡¡hiddenChapterAllTimeOut£¨£©£û
¡¡¡¡¡¡¡¡£¨¡¨#chapter_more_table¡¡tr£ºgt£¨4£©¡¨£©¡£hide£¨£©¡¡£»
¡¡¡¡¡¡¡¡£¨¡¨#chapter_more_table¡¡tr£ºgt£¨4£©¡¡£ºcheckbox¡¨£©¡£attr£¨'checked'£»false£©¡¡£»
¡¡¡¡¡¡¡¡/*
¡¡¡¡¡¡¡¡£¨¡¨#chapter_more_table¡¡tr£ºgt£¨0£©¡¨£©¡£each£¨function£¨i£»¡¡n£©£û
¡¡¡¡¡¡¡¡if£¨i¡·3£©£û
¡¡¡¡¡¡¡¡£¨this£©¡£hide£¨£©£»
¡¡¡¡¡¡¡¡£ý
¡¡¡¡¡¡¡¡£ý£©£»
¡¡¡¡¡¡¡¡*/
¡¡¡¡¡¡¡¡goldsum¡¡=¡¡0¡¡£»
¡¡¡¡¡¡¡¡chapter_count¡¡=¡¡0¡¡£»
¡¡¡¡¡¡¡¡£¨¡¨#chapter_more_table¡¡tr£ºvisible¡¨£©¡£each£¨function£¨i£»¡¡n£©£û
¡¡¡¡¡¡¡¡if£¨£¨this£©¡£children£¨£©¡£children£¨¡¨£ºcheckbox¡¨£©¡£attr£¨'disabled'£©==false&&£¨this£©¡£children£¨£©¡£children£¨¡¨£ºcheckbox¡¨£©¡£attr£¨'checked'£©&&i£¡=0£©£û
¡¡¡¡¡¡¡¡goldsum¡¡=¡¡goldsum£«parseInt£¨£¨this£©¡£children£¨'td£ºeq£¨4£©'£©¡£children£¨£©¡£html£¨£©£©£»
¡¡¡¡¡¡¡¡chapter_count£«£«¡¡£»
¡¡¡¡¡¡¡¡£ý
¡¡¡¡¡¡¡¡£ý£©£»
¡¡¡¡¡¡¡¡£¨'#chapterSum'£©¡£html£¨chapter_count£©¡¡£»
¡¡¡¡¡¡¡¡£¨'#goldsum'£©¡£html£¨goldsum£©¡¡£»
¡¡¡¡¡¡¡¡£¨'#sumEgold'£©¡£html£¨goldsum£©¡¡£»
¡¡¡¡¡¡¡¡£¨¡¨#subs_expand_all¡¨£©¡£die£¨¡¨click¡¨£©£»
¡¡¡¡¡¡¡¡£¨'#subs_expand_all'£©¡£html£¨'Õ¹¿ªÈ«²¿Õ½Ú'£©¡¡£»
¡¡¡¡¡¡¡¡£¨'#subs_expand_all'£©¡£live£¨'click'£»function£¨£©£û
¡¡¡¡¡¡¡¡shoChapterAll£¨£©¡¡£»
¡¡¡¡¡¡¡¡£ý£©¡¡£»
¡¡¡¡¡¡¡¡£¨¡¨bs_expand¡¨£©¡£die£¨¡¨click¡¨£©£»
¡¡¡¡¡¡¡¡£¨'bs_expand'£©¡£css£¨'color'£»'#0099FF'£©£»
¡¡¡¡¡¡¡¡£¨'bs_expand'£©¡£live£¨'click'£»function£¨£©£û
¡¡¡¡¡¡¡¡shoChapterMore£¨£©¡¡£»
¡¡¡¡¡¡¡¡£ý£©¡¡£»
¡¡¡¡¡¡¡¡if£¨parseInt£¨£¨'#goldsum'£©¡£html£¨£©£©3£©£û
¡¡¡¡¡¡¡¡if£¨k¡·clickMpre£©£û
¡¡¡¡¡¡¡¡clickMpre¡¡=¡¡9¡¡£»
¡¡¡¡¡¡¡¡count_num£«£«¡¡£»
¡¡¡¡¡¡¡¡return¡¡false£»
¡¡¡¡¡¡¡¡£ý
¡¡¡¡¡¡¡¡if£¨£¨this£©¡£is£¨¡¨£ºhidden¡¨£©£©£û
¡¡¡¡¡¡¡¡£¨this£©¡£sho£¨£©£»
¡¡¡¡¡¡¡¡k£«£«¡¡£»
¡¡¡¡¡¡¡¡£ý
¡¡¡¡¡¡¡¡£ý
¡¡¡¡¡¡¡¡if£¨£¨this£©¡£children£¨£©¡£children£¨¡¨£ºcheckbox¡¨£©¡£attr£¨'disabled'£©==false£©£û
¡¡¡¡¡¡¡¡goldsum¡¡=¡¡goldsum£«parseInt£¨£¨this£©¡£children£¨'td£ºeq£¨4£©'£©¡£children£¨£©¡£html£¨£©£©£»
¡¡¡¡¡¡¡¡£¨this£©¡£children£¨£©¡£children£¨¡¨£ºcheckbox¡¨£©¡£attr£¨'checked'£»true£©¡¡£»
¡¡¡¡¡¡¡¡chapter_count£«£«£»
¡¡¡¡¡¡¡¡£ý
¡¡¡¡¡¡¡¡£ý£©£»
¡¡¡¡¡¡¡¡£¨'#chapterSum'£©¡£html£¨chapter_count£©¡¡£»
¡¡¡¡¡¡¡¡£¨'#goldsum'£©¡£html£¨goldsum£©¡¡£»
¡¡¡¡¡¡¡¡£¨'#sumEgold'£©¡£html£¨goldsum£©¡¡£»
¡¡¡¡¡¡¡¡if£¨parseInt£¨£¨'#goldsum'£©¡£html£¨£©£©¡·parseInt£¨£¨'#noEgold'£©¡£html£¨£©£©£©£û
¡¡¡¡¡¡¡¡shoRequest£¨£©£»
¡¡¡¡¡¡¡¡£ý
¡¡¡¡¡¡¡¡if£¨£¨count_num==1&&k¡·6£©£ü£ü£¨count_num¡·1&&k3£©£û
¡¡¡¡¡¡¡¡£¨this£©¡£hide£¨£©£»
¡¡¡¡¡¡¡¡£ý
¡¡¡¡¡¡¡¡£ý£©£»
¡¡¡¡¡¡¡¡*/
¡¡¡¡¡¡¡¡£ý
¡¡¡¡¡¡¡¡//ÏÔʾÕ½Ú
¡¡¡¡¡¡¡¡function¡¡shoChapterAll£¨£©£û
¡¡¡¡¡¡¡¡loading£¨£©£»
¡¡¡¡¡¡¡¡setTimeout£¨'shoChapterAllTimeOut£¨£©'¡¡£»¡¡1000£©¡¡£»
¡¡¡¡¡¡¡¡£ý
¡¡¡¡¡¡¡¡function¡¡shoChapterAllTimeOut£¨£©£û
¡¡¡¡¡¡¡¡£¨¡¨#chapter_more_table¡¡tr£ºgt£¨4£©¡¨£©¡£sho£¨£©¡¡£»
¡¡¡¡¡¡¡¡chapter_count¡¡=¡¡parseInt£¨£¨'#chapterSum'£©¡£html£¨£©£©¡¡£»
¡¡¡¡¡¡¡¡goldsum¡¡=¡¡parseInt£¨£¨'#goldsum'£©¡£html£¨£©£©¡¡£»
¡¡¡¡¡¡¡¡£¨¡¨#chapter_more_table¡¡tr£ºvisible¡¨£©¡£each£¨function£¨i£»¡¡n£©£û
¡¡¡¡¡¡¡¡if£¨£¨this£©¡£children£¨£©¡£children£¨¡¨£ºcheckbox¡¨£©¡£attr£¨'disabled'£©==false&&£¨this£©¡£children£¨£©¡£children£¨¡¨£ºcheckbox¡¨£©¡£attr£¨'checked'£©==false£©£û
¡¡¡¡¡¡¡¡£¨this£©¡£children£¨£©¡£children£¨¡¨£ºcheckbox¡¨£©¡£attr£¨'checked'£»true£©¡¡£»
¡¡¡¡¡¡¡¡goldsum¡¡=¡¡goldsum£«parseInt£¨£¨this£©¡£children£¨'td£ºeq£¨4£©'£©¡£children£¨£©¡£html£¨£©£©£»
¡¡¡¡¡¡¡¡chapter_count£«£«¡¡£»
¡¡¡¡¡¡¡¡£ý
¡¡¡¡¡¡¡¡£ý£©£»
¡¡¡¡¡¡¡¡/*
¡¡¡¡¡¡¡¡£¨¡¨#chapter_more_table¡¡tr£ºgt£¨0£©¡¨£©¡£each£¨function£¨i£»¡¡n£©£û
¡¡¡¡¡¡¡¡if£¨i¡·3£©£û
¡¡¡¡¡¡¡¡£¨this£©¡£sho£¨£©£»
¡¡¡¡¡¡¡¡£ý
¡¡¡¡¡¡¡¡£ý£©£»
¡¡¡¡¡¡¡¡*/
¡¡¡¡¡¡¡¡£¨'#chapterSum'£©¡£html£¨chapter_count£©¡¡£»
¡¡¡¡¡¡¡¡£¨'#goldsum'£©¡£html£¨goldsum£©¡¡£»
¡¡¡¡¡¡¡¡£¨'#sumEgold'£©¡£html£¨goldsum£©¡¡£»
¡¡¡¡¡¡¡¡£¨¡¨#subs_expand_all¡¨£©¡£die£¨¡¨click¡¨£©£»
¡¡¡¡¡¡¡¡£¨'#subs_expand_all'£©¡£html£¨'ÊÕÆðÕ½ÚÁбí'£©¡¡£»
¡¡¡¡¡¡¡¡£¨'#subs_expand_all'£©¡£live£¨'click'£»function£¨£©£û
¡¡¡¡¡¡¡¡hiddenChapterAll£¨£©¡¡£»
¡¡¡¡¡¡¡¡£ý£©¡¡£»
¡¡¡¡¡¡¡¡£¨'bs_expand'£©¡£css£¨'color'£»'#CCC'£©£»
¡¡¡¡¡¡¡¡£¨¡¨bs_expand¡¨£©¡£die£¨¡¨click¡¨£©£»
¡¡¡¡¡¡¡¡if£¨parseInt£¨£¨'#goldsum'£©¡£html£¨£©£©¡·parseInt£¨£¨'#noEgold'£©¡£html£¨£©£©£©£û
¡¡¡¡¡¡¡¡shoRequest£¨£©£»
¡¡¡¡¡¡¡¡£ý
¡¡¡¡¡¡¡¡£¨£©£»
¡¡¡¡¡¡¡¡£ý
¡¡¡¡¡¡¡¡function¡¡loading£¨£©£û
¡¡¡¡¡¡¡¡var¡¡msg¡¡=¡¡''£»
¡¡¡¡¡¡¡¡msg¡¡£«=¡¡''£»
¡¡¡¡¡¡¡¡msg£«=¡¡'ÇëÉԵȡ£¡£¡£'£»
¡¡¡¡¡¡¡¡msg£«=¡¡'¡¡'£»
¡¡¡¡¡¡¡¡msg£«=¡¡'¡¡ÇëÉԵȡ£¡£¡£¡£¡£¡£'£»
¡¡¡¡¡¡¡¡msg£«=¡¡''£»
¡¡¡¡¡¡¡¡msg£«=¡¡''£»
¡¡¡¡¡¡¡¡msg£«=¡¡''£»
¡¡¡¡¡¡¡¡firmInfo£¨£ûbtn£º''£»icoCls£º''£»msgCls£º'confirm'£»message£ºmsg£»titleBar£ºfalse£»useSlide£ºtrue£»autoClose£ºfalse£»idth£º340£»height£º160£ý£©£»
¡¡¡¡¡¡¡¡£ý
¡¡¡¡¡¡¡¡µ½µ×ÊÇ˸ɳöÕâôȱµÂµÄÊÂÇ飬ÕâÉî¸ü°ëÒ¹µÄ¾ÓÈ»Çþ¯ÖÓ£¬ÄǸö¶«Î÷ÊÇËæ±ã¿ÉÒÔÇõÄÂ𣿲»ÊÇÖ»ÓÐɽÁê±ÀµÄʱºò²Å¿ÉÒÔÂð£¿
¡¡¡¡¡¡¡¡¿öÇÒ£¬Õâ×Åʵ²»¹ÖËûÃÇ£¬ÕâЩÌì±ÝÏÂҲûÓÐÉÏÔ糯£¬¶øÏòÀ´ÇÚÃãÓмӵĵÛÍõ²»ÉÏÔ糯£¬ËûÃÇÕâЩ³¼×Ó×ÔÈ»ÊÇÒª±íʾ¹Ø»³Ö®ÒâÁË¡£
¡¡¡¡¡¡¡¡¶øÒ²Ç¡ÇÉÁË£¬¹ËÀÏ̫ҽ²»ÊÇ»¹ÔÚ¹¬ÖÐÂ