feat(plugins): 更新天气插件html

This commit is contained in:
baby20162016
2026-03-01 11:25:36 +08:00
parent 311b1985dd
commit 898c9e7a38
2 changed files with 309 additions and 236 deletions

View File

@@ -186,7 +186,7 @@ async def handle_weather(bot, event: MessageEvent, args: List[str]):
try:
# 渲染HTML模板为图片
base64_image = await image_manager.render_template_to_base64(
"weather.html", weather_info, output_name="weather.png", width=1080
"weather.html", weather_info, output_name="weather.png", width=400, height=500
)
if base64_image: