Fix 天气调整
This commit is contained in:
parent
20e8d972e3
commit
ca1b3dc00b
@ -17,7 +17,7 @@
|
||||
|
||||
#cursor.hover {
|
||||
opacity: 0.1;
|
||||
transform: scale(2.5);
|
||||
/* transform: scale(1.2); */
|
||||
}
|
||||
|
||||
#cursor.active {
|
||||
|
@ -186,9 +186,9 @@
|
||||
<span id="city_text">天气</span>
|
||||
<span id="wea_text">加载失败</span>
|
||||
<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
|
||||
<span id="win_text"></span>
|
||||
<span id="win_speed"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user