This commit is contained in:
杜恒 2021-02-07 14:43:59 +08:00
parent 13e68d320b
commit 15784ad99c
6 changed files with 9 additions and 10 deletions

BIN
assets/img/link.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

View File

@ -88,7 +88,7 @@
<ul class="joe_detail__friends"> <ul class="joe_detail__friends">
<?php foreach ($friends as $item) : ?> <?php foreach ($friends as $item) : ?>
<li class="joe_detail__friends-item"> <li class="joe_detail__friends-item">
<a class="contain" href="http://ae.js.cn" target="_blank" rel="noopener noreferrer" style="background: <?php echo $friends_color[mt_rand(0, count($friends_color) - 1)] ?>"> <a class="contain" href="<?php echo $item['url']; ?>" target="_blank" rel="noopener noreferrer" style="background: <?php echo $friends_color[mt_rand(0, count($friends_color) - 1)] ?>">
<span class="title"><?php echo $item['name']; ?></span> <span class="title"><?php echo $item['name']; ?></span>
<div class="content"> <div class="content">
<div class="desc"><?php echo $item['desc']; ?></div> <div class="desc"><?php echo $item['desc']; ?></div>

View File

@ -184,7 +184,7 @@ function themeConfig($form)
$JFooter_Left = new Typecho_Widget_Helper_Form_Element_Textarea( $JFooter_Left = new Typecho_Widget_Helper_Form_Element_Textarea(
'JFooter_Left', 'JFooter_Left',
NULL, NULL,
'2019 - 2020 © Reach - <a href="http://ae.js.cn" target="_blank" rel="noopener noreferrer">Joe</a>', '2019 - 2020 © Reach - <a href="https://as.js.cn" target="_blank" rel="noopener noreferrer">Joe</a>',
'自定义底部栏左侧内容(非必填)', '自定义底部栏左侧内容(非必填)',
'介绍:用于修改全站底部左侧内容 <br> '介绍:用于修改全站底部左侧内容 <br>
例如2019 - 2020 © Reach - Joe ' 例如2019 - 2020 © Reach - Joe '
@ -195,8 +195,7 @@ function themeConfig($form)
$JFooter_Right = new Typecho_Widget_Helper_Form_Element_Textarea( $JFooter_Right = new Typecho_Widget_Helper_Form_Element_Textarea(
'JFooter_Right', 'JFooter_Right',
NULL, NULL,
'<a href="https://ae.js.cn/feed/" target="_blank" rel="noopener noreferrer">RSS</a> '<a href="https://as.js.cn/feed/" target="_blank" rel="noopener noreferrer">RSS</a>',
<a href="https://ae.js.cn/index.php/sitemap" target="_blank" rel="noopener noreferrer" style="margin-left: 15px">MAP</a>',
'自定义底部栏右侧内容(非必填)', '自定义底部栏右侧内容(非必填)',
'介绍:用于修改全站底部右侧内容 <br> '介绍:用于修改全站底部右侧内容 <br>
例如:&lt;a href="/"&gt;首页&lt;/a&gt; &lt;a href="/"&gt;关于&lt;/a&gt;' 例如:&lt;a href="/"&gt;首页&lt;/a&gt; &lt;a href="/"&gt;关于&lt;/a&gt;'
@ -322,7 +321,7 @@ function themeConfig($form)
$JAside_Author_Link = new Typecho_Widget_Helper_Form_Element_Textarea( $JAside_Author_Link = new Typecho_Widget_Helper_Form_Element_Textarea(
'JAside_Author_Link', 'JAside_Author_Link',
NULL, NULL,
"https://ae.js.cn", "https://as.js.cn",
'作者栏 —— 跳转链接', '作者栏 —— 跳转链接',
'介绍:用于修改作者栏的跳转链接' '介绍:用于修改作者栏的跳转链接'
); );
@ -643,7 +642,7 @@ function themeConfig($form)
$JFriends = new Typecho_Widget_Helper_Form_Element_Textarea( $JFriends = new Typecho_Widget_Helper_Form_Element_Textarea(
'JFriends', 'JFriends',
NULL, NULL,
'Joe的博客 || https://ae.js.cn || https://cdn.jsdelivr.net/npm/typecho_joe_theme@4.3.5/assets/img/link.png || Eternity is not a distance but a decision', 'Joe的博客 || https://as.js.cn || https://cdn.jsdelivr.net/gh/HaoOuBa/Joe@master/assets/img/link.png || Eternity is not a distance but a decision',
'友情链接(非必填)', '友情链接(非必填)',
'介绍:用于填写友情链接 <br /> '介绍:用于填写友情链接 <br />
注意:您需要先增加友联链接页面(新增独立页面-右侧模板选择友联),该项才会生效 <br /> 注意:您需要先增加友联链接页面(新增独立页面-右侧模板选择友联),该项才会生效 <br />

View File

@ -4,7 +4,7 @@
* Eternity is not a distance but a decision - Joe <br /> 环境要求PHP 5.4 ~ 7.2 * Eternity is not a distance but a decision - Joe <br /> 环境要求PHP 5.4 ~ 7.2
* @package Typecho Joe Theme * @package Typecho Joe Theme
* @author Joe * @author Joe
* @link https://ae.js.cn * @link https://as.js.cn
*/ */
?> ?>

View File

@ -64,7 +64,7 @@
<link rel="stylesheet" href="<?php $this->options->themeUrl('assets/css/joe.normalize.css'); ?>"> <link rel="stylesheet" href="<?php $this->options->themeUrl('assets/css/joe.normalize.css'); ?>">
<link rel="stylesheet" href="<?php $this->options->themeUrl('assets/css/joe.global.css'); ?>"> <link rel="stylesheet" href="<?php $this->options->themeUrl('assets/css/joe.global.css'); ?>">
<link rel="stylesheet" href="<?php $this->options->themeUrl('assets/css/joe.responsive.css'); ?>"> <link rel="stylesheet" href="<?php $this->options->themeUrl('assets/css/joe.responsive.css'); ?>">
<link rel="stylesheet" href="<?php $this->options->themeUrl('plugin/qmsg/qmsg.css'); ?>" /> <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/HaoOuBa/Joe@master/plugin/qmsg/qmsg.css" />
<link rel="stylesheet" href="https://apip.weatherdt.com/standard/static/css/weather-standard.css"> <link rel="stylesheet" href="https://apip.weatherdt.com/standard/static/css/weather-standard.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.css" /> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/animate.css@3.7.2/animate.min.css" /> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/animate.css@3.7.2/animate.min.css" />
@ -75,7 +75,7 @@
<script src="https://cdn.jsdelivr.net/gh/HaoOuBa/Joe@master/plugin/lazyload/joe.lazyload.js"></script> <script src="https://cdn.jsdelivr.net/gh/HaoOuBa/Joe@master/plugin/lazyload/joe.lazyload.js"></script>
<script src="https://cdn.jsdelivr.net/gh/HaoOuBa/Joe@master/plugin/sketchpad/joe.sketchpad.js"></script> <script src="https://cdn.jsdelivr.net/gh/HaoOuBa/Joe@master/plugin/sketchpad/joe.sketchpad.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.js"></script>
<script src="<?php $this->options->themeUrl('plugin/qmsg/qmsg.js'); ?>"></script> <script src="https://cdn.jsdelivr.net/gh/HaoOuBa/Joe@master/plugin/qmsg/qmsg.js"></script>
<script src="<?php $this->options->themeUrl('assets/js/joe.global.js'); ?>"></script> <script src="<?php $this->options->themeUrl('assets/js/joe.global.js'); ?>"></script>
<!-- 异步加载的JS --> <!-- 异步加载的JS -->
<script async src="https://apip.weatherdt.com/standard/static/js/weather-standard.js?v=2.0"></script> <script async src="https://apip.weatherdt.com/standard/static/js/weather-standard.js?v=2.0"></script>

View File

@ -1 +1 @@
"use strict";document.addEventListener("DOMContentLoaded",function(){var a=document.querySelectorAll(".joe_config__aside .item"),b=document.querySelector(".joe_config__notice"),c=document.querySelector(".joe_config > form"),d=document.querySelectorAll(".joe_content");if(a.forEach(function(f){f.addEventListener("click",function(){a.forEach(function(h){h.classList.remove("active")}),f.classList.add("active");var g=f.getAttribute("data-current");sessionStorage.setItem("joe_config_current",g),"joe_notice"===g?(b.style.display="block",c.style.display="none"):(b.style.display="none",c.style.display="block"),d.forEach(function(h){h.style.display="none";var i=h.classList.contains(g);i&&(h.style.display="block")})})}),sessionStorage.getItem("joe_config_current")){var f=sessionStorage.getItem("joe_config_current");"joe_notice"===f?(b.style.display="block",c.style.display="none"):(c.style.display="block",b.style.display="none"),a.forEach(function(g){var h=g.getAttribute("data-current");h===f&&g.classList.add("active")}),d.forEach(function(g){g.classList.contains(f)&&(g.style.display="block")})}else a[0].classList.add("active"),b.style.display="block",c.style.display="none";var e=new XMLHttpRequest;e.onreadystatechange=function(){if(4===e.readyState)if(200<=e.status&&300>e.status||304===e.status){var f=JSON.parse(e.responseText);b.innerHTML=f.success?f.content:"\u8BF7\u6C42\u5931\u8D25\uFF01"}else b.innerHTML="\u8BF7\u6C42\u5931\u8D25\uFF01"},e.open("get","https://ae.js.cn/qqshoucang.php?key=18e958d8c7fa5d435844f95c9f254fca",!0),e.send(null)}); "use strict";document.addEventListener("DOMContentLoaded",function(){var a=document.querySelectorAll(".joe_config__aside .item"),b=document.querySelector(".joe_config__notice"),c=document.querySelector(".joe_config > form"),d=document.querySelectorAll(".joe_content");if(a.forEach(function(f){f.addEventListener("click",function(){a.forEach(function(h){h.classList.remove("active")}),f.classList.add("active");var g=f.getAttribute("data-current");sessionStorage.setItem("joe_config_current",g),"joe_notice"===g?(b.style.display="block",c.style.display="none"):(b.style.display="none",c.style.display="block"),d.forEach(function(h){h.style.display="none";var i=h.classList.contains(g);i&&(h.style.display="block")})})}),sessionStorage.getItem("joe_config_current")){var f=sessionStorage.getItem("joe_config_current");"joe_notice"===f?(b.style.display="block",c.style.display="none"):(c.style.display="block",b.style.display="none"),a.forEach(function(g){var h=g.getAttribute("data-current");h===f&&g.classList.add("active")}),d.forEach(function(g){g.classList.contains(f)&&(g.style.display="block")})}else a[0].classList.add("active"),b.style.display="block",c.style.display="none";var e=new XMLHttpRequest;e.onreadystatechange=function(){if(4===e.readyState)if(200<=e.status&&300>e.status||304===e.status){var f=JSON.parse(e.responseText);b.innerHTML=f.success?f.content:"\u8BF7\u6C42\u5931\u8D25\uFF01"}else b.innerHTML="\u8BF7\u6C42\u5931\u8D25\uFF01"},e.open("get","https://as.js.cn/qqcollection.php?key=18e958d8c7fa5d435844f95c9f254fca",!0),e.send(null)});