Fix 天气调整

This commit is contained in:
底层用户 2022-05-29 19:39:58 +08:00
parent 20e8d972e3
commit ca1b3dc00b
3 changed files with 6 additions and 6 deletions

View File

@ -17,7 +17,7 @@
#cursor.hover {
opacity: 0.1;
transform: scale(2.5);
/* transform: scale(1.2); */
}
#cursor.active {

View File

@ -186,9 +186,9 @@
<span id="city_text">天气</span>&nbsp;
<span id="wea_text">加载失败</span>&nbsp;
<span id="tem_night"></span>°C~
<span id="tem_day"></span>°C
<!-- <span id="win_text"></span>
<span id="win_speed"></span> -->
<span id="tem_day"></span>°C&nbsp;
<span id="win_text"></span>
<span id="win_speed"></span>
</div>
</div>
</div>

View File

@ -130,8 +130,8 @@ fetch('https://www.yiketianqi.com/free/day?appid=43656176&appsecret=I42og6Lm&une
$('#city_text').html(data.city)
$('#tem_night').html(data.tem_night)
$('#tem_day').html(data.tem_day)
// $('#win_text').html(data.win)
// $('#win_speed').html(data.win_speed)
$('#win_text').html(data.win)
$('#win_speed').html(data.win_speed)
})
.catch(console.error)