mirror of
https://github.com/A-Minos/nonebot-plugin-tetris-stats.git
synced 2026-03-05 05:36:54 +08:00
✨ 查询图支持处理没有签名的情况
This commit is contained in:
@@ -92,6 +92,7 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 25px;
|
||||
gap: 10px;
|
||||
|
||||
|
||||
@@ -14,9 +14,14 @@
|
||||
<div class="info-box">
|
||||
<div class="flex-gap"></div>
|
||||
<div class="box-shadow box-rounded-corners user-info-box">
|
||||
<div class="flex-gap"></div>
|
||||
<img class="user-avatar" src="{{user_avatar}}" />
|
||||
<div class="flex-gap"></div>
|
||||
<div class="user-name">{{user_name}}</div>
|
||||
<div class="flex-gap"></div>
|
||||
{% if user_sign is not none %}
|
||||
<div class="user-sign">“{{user_sign}}”</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="flex-gap"></div>
|
||||
<div class="box-shadow box-rounded-corners game-info-box">
|
||||
|
||||
@@ -34,7 +34,7 @@ async def render(
|
||||
*,
|
||||
user_avatar: str,
|
||||
user_name: str,
|
||||
user_sign: str,
|
||||
user_sign: str | None,
|
||||
game_type: Literal['TETR.IO'],
|
||||
ranking: str | float,
|
||||
rd: str | float,
|
||||
|
||||
Reference in New Issue
Block a user