🎨 修改深渊数据样式

This commit is contained in:
omg-xtao 2022-10-01 14:55:53 +08:00 committed by GitHub
parent 13542ab9f8
commit 30cd89714f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 1 deletions

View File

@ -126,6 +126,6 @@ class Abyss(Plugin, BasePlugin):
return
await message.reply_chat_action(ChatAction.UPLOAD_PHOTO)
png_data = await self.template_service.render('genshin/abyss', "abyss.html", abyss_data,
{"width": 690, "height": 504}, full_page=False)
{"width": 865, "height": 504}, full_page=False)
await message.reply_photo(png_data, filename=f"abyss_{user.id}.png",
allow_sending_without_reply=True)

View File

@ -7,7 +7,10 @@
<link type="text/css" href="../../styles/public.css" rel="stylesheet">
<style>
#container {
width: 865px;
height: 504px;
background: url("./background/lookback-bg.png");
background-size: cover;
}
.character-icon {

View File

@ -6,7 +6,10 @@
<script src="https://cdn.tailwindcss.com"></script>
<style>
#container {
width: 865px;
height: 504px;
background: url("./background/lookback-bg.png");
background-size: cover;
}
.character-icon {