第39章再次同住(二)(1 / 1)

(),

")},goToAnchor:fun(){return-1!

==thischaptersdexOf(thiscurChapter)?

(_scrollTo(("c"+thiscurChapter)offset()),!

0):!1},getLastChapter:fun(e){returnstet("read_"+e)},setLastChapter:fun(e){storeset("read_"+e,thiscurChapter),e!

=resourseId&&storeset("read_"+resourseId,thiscurChapter)},juToLastChapter:fun(){vare=thisgetLastChapter(bookId);e&&(thiscurChapter=e,thischapters=[],thischapterNas={},thisreadht(""),thisPage(!

0))},setBookHistory:fun(){thisbookHistorycurChapter=thiscurChapter,storeset("history_"+bookId,JSONstrgify(thisbookHistory))},Page:fun(e){if(disabledClick||thisisDisableAsyurn--readcurChapter,readsetBookHistory(),!

1;disabledClick=!0,e||thisisError||_scrollTo(("c"+(thiscurChapter-1))offset()),thisreadpae=!

0;vart=this;ajax({url:tgetApiUrl(),dataType:"json",sess:fun(e){disabledClick=!

1,treadpae=!1;vara=("[data-js=loadg]");if(0==ede){tchaptersph(tcurChapter),treadattr("rel",tgetApiUrl(tcurChapter+1)),isEpub||(tchapterNas[tcurChapter]=ebodychapterNa||"");varo="";if(alength?

abefore(tgetAnchor()+eht+ebodypageButton+o):treadappend(tgetAnchor()+eht+ebodypageButton+o),(1==ebodypageType||3==ebodypageType)&&(tisDisableAsync=!

0),5==ebodypageType)returngoUrl(ebodygoUrl),!

0;tisError&&(tisError=!

1,tperloadNu2,_scrollTo(("c"+tcurChapter)offset())),tisDisableAsync&&!

_isEty(ebodypageButton)&&readdisableAsync(),isEpub&&jsClear(),tperloadNu0&&--tperloadNutisNeedFill()&&tautoFill&&tautoFill()}else1==ede?

(--readcurChapter,dowscrollTo(0,0),dowlocationhref=ebodygoUrl):111999==ede?

(--readcurChapter,dowlocationhref=ebodyurl):(--readcurChapter,zyalert(eg));readsetBookHistory()},error:fun(){--readcurChapter,tisError=!

0,zyalert("网络繁忙,请稍后重试"),disabledClick=!

1,treadpae=!1}})},isNeedFill:fun(){return("body")offset()height+13该章节为付费章节,当前浏览器版本不支持付费阅读,请打开华为阅读继续阅读