🚑 修正明日方舟游戏信息的模板与图片渲染

This commit is contained in:
GuGuMur
2023-07-27 21:00:12 +08:00
committed by felinae98
parent 374a9d72b0
commit 2a51b24ba9
2 changed files with 7 additions and 1 deletions
+2 -1
View File
@@ -64,11 +64,12 @@ class Arknights(NewMessage):
template_path=template_path,
template_name="index.html",
templates={
"bannerImageUrl": raw_data["bannerImageUrl"],
"announce_title": announce_title,
"content": raw_data["content"],
},
pages={
"viewport": {"width": 500, "height": 6400},
"viewport": {"width": 500, "height": 100},
"base_url": f"file://{template_path}",
},
)