Skip to content

Commit

Permalink
Update sou02.js
Browse files Browse the repository at this point in the history
  • Loading branch information
5iux committed Aug 5, 2019
1 parent fd33e87 commit b8fdf29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sou02.js
Expand Up @@ -71,7 +71,7 @@ $.ajax({
success: function(res) {
uptime = res.update_time.substring(11);
uptime = uptime.substring(0, uptime.length - 3);
$('.wea_hover').css('background-image', 'url(../..//wea/icon/bg/100d.png)');
$('.wea_hover').css('background-image', 'url(/sou/wea/icon/bg/100d.png)');
$('.mywth').append(res.city + ' <img class="wea" src="https://www.tianqiapi.com/static/skin/yahoo/' + res.data[0].wea_img + '.png"> ' + res.data[0].wea + ' ' + res.data[0].tem1 + '/' + res.data[0].tem2 + ' ' + res.data[0].air_level);
//今日天气
$('.wea_top').append('<span class="city"><b>' + res.city + '</b> ' + res.update_time + '更新</span><span class="img" style="background:url(https://www.tianqiapi.com/static/skin/yahoo/' + res.data[0].wea_img + '.png) no-repeat center/contain;"></span> <span class="tem"><b>' + res.data[0].tem + '</b>' + res.data[0].wea + '</span><span class="air">空气质量:' + res.data[0].air_level + '<br>湿度:' + res.data[0].humidity + '%<br>' + res.data[0].win[0] + ':' + res.data[0].win_speed + '</span><span class="air_tips">' + res.data[0].air_tips + '</span>');
Expand Down

0 comments on commit b8fdf29

Please sign in to comment.