diff --git a/public/js/mypjax.js b/public/js/mypjax.js index 8b6711c4..44b76b50 100644 --- a/public/js/mypjax.js +++ b/public/js/mypjax.js @@ -172,8 +172,6 @@ document.addEventListener("pjax:complete", function () { NProgress.done(); // 重载一些js样式调整 pjax_reload() - // 重载友圈函数 - // fcircle_pjax() // 激活返回顶部插件 $(function () { $.scrollUp({ @@ -183,43 +181,17 @@ document.addEventListener("pjax:complete", function () { }); // 重载评论 if(document.querySelector("#Comments")){ - // Waline.init({ - // el: '#waline', - // serverURL: 'https://waline.usj.cc', - // lang: "zh-cn", - // imageUploader: false, - // search: false, - // copyright: false, - // requiredMeta:['nick', 'mail'], - // login:'enable', - // pageSize:10, - // highlighter:true, - // reaction: [ - // '/image/EhqxZ6DFIJojGNa.gif', - // '/image/qmf5As3evWNXwGQ.gif', - // '/image/ueWLPkmYw75x4cs.gif', - // '/image/nsC1OGoBKfa8Hel.gif', - // '/image/VKuBXqR91TPHnyc.gif', - // '/image/2OmAWPeulq4ta8T.gif' - // ], - // }); Artalk.init({ el: '#Comments', // 绑定元素的 Selector - server: 'https://pl.t-t.live/', // 后端地址 + server: 'https://artalk.5b2.cn/', // 后端地址 site: '优世界', // 你的站点名 - flatMode:false + flatMode: true }) } // 重载文章弹幕 if(!isMobile()){ loadBarrager(); } - //当前页面是否为移动端 - if (isMobile()) { - console.log('"当前为移动端"'); - } else { - console.log('"当前为电脑端"'); - } }); diff --git a/public/ly/index.html b/public/ly/index.html index 0930efa2..c187f133 100644 --- a/public/ly/index.html +++ b/public/ly/index.html @@ -79,9 +79,22 @@