From c52402ec25ab41b3c136ae3d274e46298b5580a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=9C=E6=81=92?= <2323333339@qq.com> Date: Fri, 7 May 2021 10:26:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/js/joe.global.js | 15 ++- assets/js/joe.global.min.js | 2 +- assets/js/joe.live.js | 174 ++++++++++++++++----------------- assets/js/joe.live.min.js | 2 +- assets/js/joe.post_page.js | 2 +- assets/js/joe.post_page.min.js | 2 +- assets/json/joe.owo.json | 2 +- core/core.php | 4 +- core/function.php | 2 +- core/parse.php | 4 +- core/short.php | 4 - package.json | 2 +- public/article.php | 2 +- public/config.php | 3 +- video.php | 2 +- 15 files changed, 109 insertions(+), 113 deletions(-) diff --git a/assets/js/joe.global.js b/assets/js/joe.global.js index 2638a9c..acf95e5 100644 --- a/assets/js/joe.global.js +++ b/assets/js/joe.global.js @@ -44,7 +44,7 @@ document.addEventListener('DOMContentLoaded', () => { /* 动态背景 */ { if (!Joe.IS_MOBILE && Joe.DYNAMIC_BACKGROUND !== 'off' && Joe.DYNAMIC_BACKGROUND && !Joe.WALLPAPER_BACKGROUND_PC) { - $.getScript(`/usr/themes/Joe/assets/backdrop/${Joe.DYNAMIC_BACKGROUND}`); + $.getScript(window.Joe.THEME_URL + `assets/backdrop/${Joe.DYNAMIC_BACKGROUND}`); } } @@ -500,16 +500,17 @@ document.addEventListener('DOMContentLoaded', () => { { if ($('.joe_owo__contain').length > 0 && $('.joe_owo__target').length > 0) { $.ajax({ - url: '/usr/themes/Joe/assets/json/joe.owo.json', + url: window.Joe.THEME_URL + 'assets/json/joe.owo.json', dataType: 'json', success(res) { let barStr = ''; let scrollStr = ''; for (let key in res) { - barStr += `
${a.introduction}
\n \n${a.introduction}
\n \n