二月天 > 古代言情 > 总裁媳妇爱上我 > 第16章卧室(一)

第16章卧室(一)(1 / 1)

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

==this.chapters.indexOf(this.curChapter)?

(_scrollTo($("#c"+this.curChapter).offset().top),!

0):!1},getLastChapter:function(e){returnstore.get("read_"+e)},setLastChapter:function(e){store.set("read_"+e,this.curChapter),e!

=resourseId&&store.set("read_"+resourseId,this.curChapter)},jumpToLastChapter:function(){vare=this.getLastChapter(bookId);e&&(this.curChapter=e,this.chapters=[],this.chapterNames={},this.$read.html(""),this.nextPage(!

0))},setBookHistory:function(){this.bookHistory.curChapter=this.curChapter,store.set("history_"+bookId,JSON.stringify(this.bookHistory))},nextPage:function(e){if(disabledClick||this.isDisableAsync)return--read.curChapter,read.setBookHistory(),!

1;disabledClick=!0,e||this.isNetError||_scrollTo($("#c"+(this.curChapter-1)).offset().top),this.$read.pause=!

0;vart=this;$.ajax({url:t.getApiUrl(),dataType:"json",success:function(e){disabledClick=!

1,t.$read.pause=!1;vara=$("[data-js=loading]");if(0==e.code){t.chapters.push(t.curChapter),t.$read.attr("rel",t.getApiUrl(t.curChapter+1)),isEpub||(t.chapterNames[t.curChapter]=e.body.chapterName||"");varo="";if(a.length?

a.before(t.getAnchor()+e.html+e.body.pageButton+o):t.$read.append(t.getAnchor()+e.html+e.body.pageButton+o),(1==e.body.pageType||3==e.body.pageType)&&(t.isDisableAsync=!

0),5==e.body.pageType)returngoUrl(e.body.goUrl),!

0;t.isNetError&&(t.isNetError=!

1,t.perloadNum=2,_scrollTo($("#c"+t.curChapter).offset().top)),t.isDisableAsync&&!

_isEmpty(e.body.pageButton)&&read.disableAsync(),isEpub&&jsClear(),t.perloadNum>0&&--t.perloadNum,t.isNeedFill()&&t.autoFill&&t.autoFill()}else1==e.code?

(--read.curChapter,window.scrollTo(0,0),window.location.href=e.body.goUrl):111999==e.code?

(--read.curChapter,window.location.href=e.body.url):(--read.curChapter,zy.alert(e.msg));read.setBookHistory()},error:function(){--read.curChapter,t.isNetError=!

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

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

最新小说: 李达康哭祁家坟,关你侯亮平屁事 航海:开局险收白胡子做儿子 禁地探秘:麒麟当道,万鬼退散 龙裔在霍格沃兹 霍格沃茨:谁教你这么改造的 综漫:我强制退魔师,加入聊天群 四合院:开局成为渣男周建军 航海:开局九蛇岛,召唤三姐妹 人在大庆,天下第一曹贼 诸天万界多子多福

网站随时会被屏蔽无法访问,请下载APP继续阅读。APP内容更加精彩,期待你的到来。点击确认开始下载。