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")
}
}