更新
This commit is contained in:
parent
d0abe02009
commit
ab84a27d86
@ -160,6 +160,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
|||||||
const style = $('.joe_aside__item.weather').attr('data-style');
|
const style = $('.joe_aside__item.weather').attr('data-style');
|
||||||
const aqiColor = { 1: 'FFFFFF', 2: '4A4A4A', 3: 'FFFFFF' };
|
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 } };
|
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")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
/* 获取主题当前版本号 */
|
/* 获取主题当前版本号 */
|
||||||
function _getVersion()
|
function _getVersion()
|
||||||
{
|
{
|
||||||
return "5.2.1";
|
return "5.2.2";
|
||||||
};
|
};
|
||||||
|
|
||||||
/* 判断是否是手机 */
|
/* 判断是否是手机 */
|
||||||
|
@ -372,7 +372,7 @@ function themeConfig($form)
|
|||||||
$JAside_Author_Nav->setAttribute('class', 'joe_content joe_aside');
|
$JAside_Author_Nav->setAttribute('class', 'joe_content joe_aside');
|
||||||
$form->addInput($JAside_Author_Nav->multiMode());
|
$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',
|
'JAside_Weather_Key',
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
|
@ -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.owo.js?v=686'); ?>"></script>
|
||||||
<script src="<?php $this->options->themeUrl('assets/js/joe.global.js?v=686'); ?>"></script>
|
<script src="<?php $this->options->themeUrl('assets/js/joe.global.js?v=686'); ?>"></script>
|
||||||
<!-- 异步加载的JS -->
|
<!-- 异步加载的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>
|
<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') : ?>
|
<?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>
|
<script async src="https://cdn.jsdelivr.net/gh/HaoOuBa/Joe@master/assets/cursor/<?php $this->options->JCursorEffects() ?>"></script>
|
||||||
|
Loading…
Reference in New Issue
Block a user