From d9f1fbdb28c31191a6ecb8a43540cffd8acabf43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E8=B5=B5=E5=90=8C=E5=AD=A6?= <94612053+imzql@users.noreply.github.com> Date: Thu, 8 Aug 2024 15:16:42 +0800 Subject: [PATCH] 8.8 --- public/js/mypjax.js | 32 ++---------------------- public/ly/index.html | 15 ++++++++++- public/post/1/index.html | 4 +-- public/post/10/index.html | 4 +-- public/post/1009/index.html | 4 +-- public/post/1023/index.html | 4 +-- public/post/1039/index.html | 4 +-- public/post/1042/index.html | 4 +-- public/post/1043/index.html | 4 +-- public/post/1081/index.html | 4 +-- public/post/1091/index.html | 4 +-- public/post/11/index.html | 4 +-- public/post/1117/index.html | 4 +-- public/post/1142/index.html | 4 +-- public/post/1175/index.html | 4 +-- public/post/12/index.html | 4 +-- public/post/1200/index.html | 4 +-- public/post/1219/index.html | 4 +-- public/post/1223/index.html | 4 +-- public/post/1243/index.html | 4 +-- public/post/1248/index.html | 4 +-- public/post/1269/index.html | 4 +-- public/post/1279/index.html | 4 +-- public/post/1284/index.html | 4 +-- public/post/1287/index.html | 4 +-- public/post/13/index.html | 4 +-- public/post/14/index.html | 4 +-- public/post/15/index.html | 4 +-- public/post/16/index.html | 4 +-- public/post/17/index.html | 4 +-- public/post/18/index.html | 4 +-- public/post/19/index.html | 4 +-- public/post/2/index.html | 4 +-- public/post/20/index.html | 4 +-- public/post/21/index.html | 4 +-- public/post/22/index.html | 4 +-- public/post/23/index.html | 4 +-- public/post/24/index.html | 4 +-- public/post/25/index.html | 4 +-- public/post/26/index.html | 4 +-- public/post/27/index.html | 4 +-- public/post/28/index.html | 4 +-- public/post/29/index.html | 4 +-- public/post/3/index.html | 4 +-- public/post/30/index.html | 4 +-- public/post/31/index.html | 4 +-- public/post/32/index.html | 4 +-- public/post/33/index.html | 4 +-- public/post/34/index.html | 4 +-- public/post/35/index.html | 4 +-- public/post/36/index.html | 4 +-- public/post/37/index.html | 4 +-- public/post/38/index.html | 4 +-- public/post/39/index.html | 4 +-- public/post/4/index.html | 4 +-- public/post/40/index.html | 4 +-- public/post/41/index.html | 4 +-- public/post/42/index.html | 4 +-- public/post/43/index.html | 4 +-- public/post/44/index.html | 4 +-- public/post/45/index.html | 4 +-- public/post/46/index.html | 4 +-- public/post/47/index.html | 4 +-- public/post/48/index.html | 4 +-- public/post/49/index.html | 4 +-- public/post/5/index.html | 4 +-- public/post/50/index.html | 4 +-- public/post/51/index.html | 4 +-- public/post/52/index.html | 4 +-- public/post/53/index.html | 4 +-- public/post/54/index.html | 4 +-- public/post/55/index.html | 4 +-- public/post/56/index.html | 4 +-- public/post/57/index.html | 4 +-- public/post/58/index.html | 4 +-- public/post/59/index.html | 4 +-- public/post/6/index.html | 4 +-- public/post/60/index.html | 4 +-- public/post/61/index.html | 4 +-- public/post/62/index.html | 4 +-- public/post/63/index.html | 4 +-- public/post/64/index.html | 4 +-- public/post/65/index.html | 4 +-- public/post/66/index.html | 4 +-- public/post/67/index.html | 4 +-- public/post/68/index.html | 4 +-- public/post/69/index.html | 4 +-- public/post/7/index.html | 4 +-- public/post/70/index.html | 4 +-- public/post/71/index.html | 4 +-- public/post/72/index.html | 4 +-- public/post/73/index.html | 4 +-- public/post/74/index.html | 4 +-- public/post/75/index.html | 4 +-- public/post/76/index.html | 4 +-- public/post/77/index.html | 4 +-- public/post/78/index.html | 4 +-- public/post/79/index.html | 4 +-- public/post/8/index.html | 4 +-- public/post/80/index.html | 4 +-- public/post/81/index.html | 4 +-- public/post/82/index.html | 4 +-- public/post/83/index.html | 4 +-- public/post/84/index.html | 4 +-- public/post/85/index.html | 4 +-- public/post/86/index.html | 4 +-- public/post/87/index.html | 4 +-- public/post/88/index.html | 4 +-- public/post/89/index.html | 4 +-- public/post/9/index.html | 4 +-- public/post/90/index.html | 4 +-- public/post/91/index.html | 4 +-- public/post/92/index.html | 4 +-- public/post/93/index.html | 4 +-- public/post/94/index.html | 4 +-- public/post/96/index.html | 4 +-- public/post/97/index.html | 4 +-- public/post/986/index.html | 4 +-- public/post/989/index.html | 4 +-- public/post/994/index.html | 4 +-- public/post/ikun/index.html | 4 +-- themes/Ying/layouts/_default/ly.html | 4 +-- themes/Ying/layouts/partials/artalk.html | 4 +-- themes/Ying/static/js/mypjax.js | 32 ++---------------------- 124 files changed, 259 insertions(+), 304 deletions(-) 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 @@