From f7a994028648fece76f4ff85333eed0569485664 Mon Sep 17 00:00:00 2001 From: eshengsky Date: Thu, 20 Jun 2019 14:33:20 +0800 Subject: [PATCH] up https --- README.md | 2 +- public/dist/js/category.js | 2 +- public/dist/js/editarticle.js | 2 +- public/dist/js/index.js | 2 +- public/dist/js/newarticle.js | 2 +- public/src/js/category.js | 2 +- public/src/js/editarticle.js | 2 +- public/src/js/index.js | 2 +- public/src/js/newarticle.js | 2 +- sw.js | 16 ++++++++-------- views/admin/comments.pug | 2 +- views/admin/guestbook.pug | 2 +- views/admin/index.pug | 2 +- views/admin/settings.pug | 10 +++++----- views/blog/article.pug | 4 ++-- views/misc/guestbook.pug | 2 +- views/shared/error.pug | 1 + 17 files changed, 29 insertions(+), 28 deletions(-) diff --git a/README.md b/README.md index fd1917a..7ae7bf9 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ * 创新的竖向分页 * 文章详情 * 自动生成目录 - * 支持评论 (基于[畅言](http://changyan.kuaizhan.com/)) + * 支持评论 (基于[畅言](https://changyan.kuaizhan.com/)) * 留言 * 关于 * 后台管理 diff --git a/public/dist/js/category.js b/public/dist/js/category.js index 6520fab..c03dd31 100644 --- a/public/dist/js/category.js +++ b/public/dist/js/category.js @@ -1 +1 @@ -"use strict";var pageCount,home_loading_timeout=2e3,isLoading=!1,timeout=1e3,contentTimeout=1500,begin=new Date,contentBegin=new Date,tooltip_timeout=1500;function requestData(){$.ajax({url:$("#filterForm")[0].action,type:$("#filterForm")[0].method,data:$("#filterForm").serialize(),success:function(t){var e=new Date,a=t.posts;(pageCount=t.pageCount,timeout'+e.text+"")}),$(".post-modal .modal-body").mCustomScrollbar("scrollTo","top",{scrollInertia:0}),$(".post-content div").fadeIn()}function closeModal(){$(".post-modal").css("right","-1200px"),$(".post-cover").fadeOut(),$("body").removeClass("modal-open"),resetModal()}function resetModal(){$(".post-modal .modal-header h4").empty(),$(".post-content div").empty(),$("#label-foot").empty()}function searchPost(){$(".list-wrap ol").html(""),$("[data-toggle='tooltip']").tooltip("hide"),$("#page-nav").html(""),$("#btn-load").remove(),$("#no-more").remove(),begin=new Date,$("#load-list").show(),$("#PageIndex").val(1),requestData()}function addPage(o,t){if($("#load-list").hide(),0'),$.each(t,function(t,e){var a;a="1"==e.Source?'

'+e.Title+'

'+e.CateName+' '+e.PublishDate+'

'+encodeHtml(e.Summary)+'

':'

'+e.Title+'

'+e.CateName+' '+e.PublishDate+'

'+encodeHtml(e.Summary)+'

',$("#page"+o).append(a)}),$("body").append('