From 7803016119bd923f4fd5016fe18fb4946e5f0336 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=95=E5=B1=82=E7=94=A8=E6=88=B7?= Date: Fri, 8 Jul 2022 09:42:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A9=E6=B0=94=20Fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 6 +++--- js/main.js | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index a26f0dc..afeefe4 100644 --- a/index.html +++ b/index.html @@ -189,9 +189,9 @@
天气  加载失败  - *°C  - - *级 + + 次数 + 超限
diff --git a/js/main.js b/js/main.js index 0782451..1adf448 100644 --- a/js/main.js +++ b/js/main.js @@ -174,9 +174,9 @@ function getWeather() { .then(response => response.json()) .then(weather => { $('#wea_text').html(weather.now.text) - $('#tem_text').html(weather.now.temp) + $('#tem_text').html(weather.now.temp+"°C ") $('#win_text').html(weather.now.windDir) - $('#win_speed').html(weather.now.windScale) + $('#win_speed').html(weather.now.windScale+"级") }) }) })