鹅是老五
  • 首页
  • 小说
  • 书架
已加书架'); $("#addToShelf").addClass("disabled"); } $(window).scroll(function() { $(this).scrollTop() > 100 ? $("#back-to-top").fadeIn() : $("#back-to-top").fadeOut() }), $("#back-to-top").on("click", function(b) { return b.preventDefault(), $("html, body").animate({ scrollTop: 0 }, 100), !1 }); }); $('#scrolltobt').click(function() { $('html,body').animate({ scrollTop: $("#zjbottom").offset().top }, 200) }); function displaybyOrder(e){ if($(e).text()=="升序↑"){$(e).text("降序↓")}else{$(e).text("升序↑")} $("#play_0"+" li").each(function(e){$(this).prependTo($(this).parent())}); } function addsccase(){ var article_id = "42633"; var articlename = "我,包租婆,坐拥一座城"; var isOnShelf = lastread.getItem(42633); if (!isOnShelf) { lastread.set(article_id,articlename,window.location.href,'https://www.eshilaowu.com/e/data/images/notimg.gif'); $("#addToShelf").html(' 已加书架'); $("#addToShelf").addClass("disabled"); isOnShelf = true; showToast({text:'成功加入临时书架',bottom:'65%',zindex:2,speed:500,time:2000}); } else { showToast({text:'加入临时书架失败,请重试',bottom:'65%',zindex:2,speed:500,time:2000}); } }