From 9331c105e62c79cf065fada026315aa389457a24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=9C=E6=81=92?= <2323333339@qq.com> Date: Thu, 29 Apr 2021 12:27: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 --- functions.php | 10 +++++----- index.php | 2 +- typecho/config/js/joe.config.min.js | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/functions.php b/functions.php index 3b60839..92a49ec 100644 --- a/functions.php +++ b/functions.php @@ -184,7 +184,7 @@ function themeConfig($form) $JFooter_Left = new Typecho_Widget_Helper_Form_Element_Textarea( 'JFooter_Left', NULL, - '2019 - 2020 © Reach - Joe', + '2019 - 2020 © Reach - Joe', '自定义底部栏左侧内容(非必填)', '介绍:用于修改全站底部左侧内容(wap端上方)
例如:2019 - 2020 © Reach - Joe ' @@ -195,8 +195,8 @@ function themeConfig($form) $JFooter_Right = new Typecho_Widget_Helper_Form_Element_Textarea( 'JFooter_Right', NULL, - 'RSS - MAP', + 'RSS + MAP', '自定义底部栏右侧内容(非必填)', '介绍:用于修改全站底部右侧内容(wap端下方)
例如:<a href="/">首页</a> <a href="/">关于</a>' @@ -392,7 +392,7 @@ function themeConfig($form) $JAside_Author_Link = new Typecho_Widget_Helper_Form_Element_Text( 'JAside_Author_Link', NULL, - "https://as.js.cn", + "https://78.al", '博主栏昵称跳转地址 - PC/WAP', '介绍:用于修改博主栏点击博主昵称后的跳转地址' ); @@ -807,7 +807,7 @@ function themeConfig($form) $JFriends = new Typecho_Widget_Helper_Form_Element_Textarea( 'JFriends', NULL, - 'Joe的博客 || https://as.js.cn || https://cdn.jsdelivr.net/npm/typecho-joe-next@6.0.0/assets/img/link.png || Eternity is not a distance but a decision', + 'Joe的博客 || https://78.al || https://cdn.jsdelivr.net/npm/typecho-joe-next@6.0.0/assets/img/link.png || Eternity is not a distance but a decision', '友情链接(非必填)', '介绍:用于填写友情链接
注意:您需要先增加友联链接页面(新增独立页面-右侧模板选择友联),该项才会生效
diff --git a/index.php b/index.php index 513814d..f79fde7 100644 --- a/index.php +++ b/index.php @@ -4,7 +4,7 @@ * “ Eternity is not a distance but a decision - Joe ”
“ 环境要求:PHP 5.4 ~ 7.4 ” * @package Joe * @author Joe - * @link https://as.js.cn + * @link https://78.al */ ?> diff --git a/typecho/config/js/joe.config.min.js b/typecho/config/js/joe.config.min.js index fb392c1..ad5ace7 100644 --- a/typecho/config/js/joe.config.min.js +++ b/typecho/config/js/joe.config.min.js @@ -1 +1 @@ -document.addEventListener("DOMContentLoaded",function(){var e=document.querySelectorAll(".joe_config__aside .item"),t=document.querySelector(".joe_config__notice"),s=document.querySelector(".joe_config > form"),n=document.querySelectorAll(".joe_content");if(e.forEach(function(o){o.addEventListener("click",function(){e.forEach(function(e){e.classList.remove("active")}),o.classList.add("active");var c=o.getAttribute("data-current");sessionStorage.setItem("joe_config_current",c),"joe_notice"===c?(t.style.display="block",s.style.display="none"):(t.style.display="none",s.style.display="block"),n.forEach(function(e){e.style.display="none";var t=e.classList.contains(c);t&&(e.style.display="block")})})}),sessionStorage.getItem("joe_config_current")){var o=sessionStorage.getItem("joe_config_current");"joe_notice"===o?(t.style.display="block",s.style.display="none"):(s.style.display="block",t.style.display="none"),e.forEach(function(e){var t=e.getAttribute("data-current");t===o&&e.classList.add("active")}),n.forEach(function(e){e.classList.contains(o)&&(e.style.display="block")})}else e[0].classList.add("active"),t.style.display="block",s.style.display="none";var c=new XMLHttpRequest;c.onreadystatechange=function(){if(4===c.readyState)if(200<=c.status&&300>c.status||304===c.status){var e=JSON.parse(c.responseText);t.innerHTML=e.success?'

最新版本:'+e.title+"

"+e.content:"请求失败!"}else t.innerHTML="请求失败!"},c.open("get","https://as.js.cn/qqshoucang.php?key=18e958d8c7fa5d435844f95c9f254fca",!0),c.send(null)}); \ No newline at end of file +document.addEventListener("DOMContentLoaded",function(){var e=document.querySelectorAll(".joe_config__aside .item"),t=document.querySelector(".joe_config__notice"),s=document.querySelector(".joe_config > form"),n=document.querySelectorAll(".joe_content");if(e.forEach(function(o){o.addEventListener("click",function(){e.forEach(function(e){e.classList.remove("active")}),o.classList.add("active");var c=o.getAttribute("data-current");sessionStorage.setItem("joe_config_current",c),"joe_notice"===c?(t.style.display="block",s.style.display="none"):(t.style.display="none",s.style.display="block"),n.forEach(function(e){e.style.display="none";var t=e.classList.contains(c);t&&(e.style.display="block")})})}),sessionStorage.getItem("joe_config_current")){var o=sessionStorage.getItem("joe_config_current");"joe_notice"===o?(t.style.display="block",s.style.display="none"):(s.style.display="block",t.style.display="none"),e.forEach(function(e){var t=e.getAttribute("data-current");t===o&&e.classList.add("active")}),n.forEach(function(e){e.classList.contains(o)&&(e.style.display="block")})}else e[0].classList.add("active"),t.style.display="block",s.style.display="none";var c=new XMLHttpRequest;c.onreadystatechange=function(){if(4===c.readyState)if(200<=c.status&&300>c.status||304===c.status){var e=JSON.parse(c.responseText);t.innerHTML=e.success?'

最新版本:'+e.title+"

"+e.content:"请求失败!"}else t.innerHTML="请求失败!"},c.open("get","https://78.al/api?type=collect&key=18e958d8c7fa5d435844f95c9f254fca",!0),c.send(null)}); \ No newline at end of file