From 7d18effcfe377d7a937b4f2346f830e7898c93fa Mon Sep 17 00:00:00 2001 From: wzy-warehouse <18135009705@163.com> Date: Thu, 7 May 2026 21:46:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=99=8D=E9=9B=A8=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/services/rainfall_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/rainfall_service.py b/app/services/rainfall_service.py index b2573c0..0ec4d23 100644 --- a/app/services/rainfall_service.py +++ b/app/services/rainfall_service.py @@ -305,7 +305,7 @@ class InterpolationService: # 国标降雨等级颜色映射 if rainfall < 0.1: return "rgba(200,200,200,0)" # 透明 - 微量降雨(零星小雨) - elif rainfall < 10 if duration == 12 else 9.9: + elif rainfall < 5 if duration == 12 else 9.9: return "rgba(0,0,255,0.4)" # 浅蓝 - 小雨 elif rainfall < 15 if duration == 12 else 25: return "rgba(0,255,255,0.5)" # 青色 - 中雨