This commit is contained in:
杜恒 2021-02-19 17:04:34 +08:00
parent d0abe02009
commit ab84a27d86
4 changed files with 3 additions and 3 deletions

View File

@ -160,6 +160,7 @@ document.addEventListener('DOMContentLoaded', () => {
const style = $('.joe_aside__item.weather').attr('data-style');
const aqiColor = { 1: 'FFFFFF', 2: '4A4A4A', 3: 'FFFFFF' };
window.WIDGET = { CONFIG: { layout: 2, width: '220', height: '270', background: style, dataColor: aqiColor[style], language: 'zh', key: key } };
$.getScript("https://apip.weatherdt.com/standard/static/js/weather-standard.js?v=2.0")
}
}

View File

@ -3,7 +3,7 @@
/* 获取主题当前版本号 */
function _getVersion()
{
return "5.2.1";
return "5.2.2";
};
/* 判断是否是手机 */

View File

@ -372,7 +372,7 @@ function themeConfig($form)
$JAside_Author_Nav->setAttribute('class', 'joe_content joe_aside');
$form->addInput($JAside_Author_Nav->multiMode());
$JAside_Weather_Key = new Typecho_Widget_Helper_Form_Element_Textarea(
$JAside_Weather_Key = new Typecho_Widget_Helper_Form_Element_Text(
'JAside_Weather_Key',
NULL,
NULL,

View File

@ -69,7 +69,6 @@
<script src="<?php $this->options->themeUrl('assets/js/joe.owo.js?v=686'); ?>"></script>
<script src="<?php $this->options->themeUrl('assets/js/joe.global.js?v=686'); ?>"></script>
<!-- 异步加载的JS -->
<script async src="https://apip.weatherdt.com/standard/static/js/weather-standard.js?v=2.0"></script>
<script async src="https://cdn.jsdelivr.net/gh/HaoOuBa/Joe@master/plugin/smooth/joe.smooth.js"></script>
<?php if ($this->options->JCursorEffects && $this->options->JCursorEffects !== 'off') : ?>
<script async src="https://cdn.jsdelivr.net/gh/HaoOuBa/Joe@master/assets/cursor/<?php $this->options->JCursorEffects() ?>"></script>