mirror of
https://dl.bcrjl.com/ghg/HaoOuBa/Joe.git
synced 2026-02-18 01:20:04 +08:00
更新
This commit is contained in:
@@ -160,7 +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")
|
||||
$.getScript('https://apip.weatherdt.com/standard/static/js/weather-standard.js?v=2.0');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -470,19 +470,19 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
</ul>
|
||||
`;
|
||||
}
|
||||
$(".joe_owo__contain").html(`
|
||||
$('.joe_owo__contain').html(`
|
||||
<div class="seat">OωO</div>
|
||||
<div class="box">
|
||||
${scrollStr}
|
||||
<div class="bar">${barStr}</div>
|
||||
</div>
|
||||
`)
|
||||
`);
|
||||
$(document).on('click', function () {
|
||||
$('.joe_owo__contain .box').stop().slideUp('fast');
|
||||
});
|
||||
$('.joe_owo__contain .seat').on('click', function (e) {
|
||||
e.stopPropagation();
|
||||
$(this).siblings('.box').stop().slideToggle('fast')
|
||||
$(this).siblings('.box').stop().slideToggle('fast');
|
||||
});
|
||||
$('.joe_owo__contain .box .bar .item').on('click', function (e) {
|
||||
e.stopPropagation();
|
||||
|
||||
Reference in New Issue
Block a user