mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-16 04:35:49 +00:00
👽 Update genshin ImgTheater model
This commit is contained in:
parent
b393e5957a
commit
749827ea72
@ -106,8 +106,8 @@ class RoleCombatPlugin(Plugin):
|
||||
# 解析参数
|
||||
floor, total, previous = get_args(" ".join([i for i in args if not i.startswith("@")]))
|
||||
|
||||
if floor > 8 or floor < 0:
|
||||
reply_msg = await message.reply_text("幻想真境剧诗幕数输入错误,请重新输入。支持的参数为: 1-8 或 all")
|
||||
if floor > 10 or floor < 0:
|
||||
reply_msg = await message.reply_text("幻想真境剧诗幕数输入错误,请重新输入。支持的参数为: 1-10 或 all")
|
||||
if filters.ChatType.GROUPS.filter(message):
|
||||
self.add_delete_message_job(reply_msg)
|
||||
self.add_delete_message_job(message)
|
||||
|
@ -86,6 +86,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% if floor.buffs %}
|
||||
<div class="hr"></div>
|
||||
<div class="chamber">
|
||||
<h2>奇妙助益 * {{ floor.buffs | length }}</h2>
|
||||
@ -96,6 +97,25 @@
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if floor.splendour_buff %}
|
||||
<div class="hr"></div>
|
||||
<div class="chamber">
|
||||
<h2>辉彩祝福</h2>
|
||||
<div class="buff">
|
||||
<div class="caption">{{ floor.splendour_buff.summary.desc_html | safe }}</div>
|
||||
</div>
|
||||
<div style="display: flex">
|
||||
{% for buff in floor.splendour_buff.buffs %}
|
||||
<div class="buff">
|
||||
<img class="icon" src="{{ buff.icon }}" alt=""/>
|
||||
<div class="caption">{{ buff.name }}:Lv.{{ buff.level }}</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if floor.choice_cards %}
|
||||
<div class="hr"></div>
|
||||
<div class="chamber">
|
||||
<h2>神秘收获 * {{ floor.choice_cards | length }}</h2>
|
||||
@ -106,6 +126,7 @@
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -142,7 +142,7 @@ body {
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
overflow: hidden;
|
||||
/*overflow: hidden;*/
|
||||
border-radius: 0 0 20px 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@ -371,6 +371,7 @@ body {
|
||||
|
||||
.buff img {
|
||||
width: 100px;
|
||||
height: auto;
|
||||
height: 100px;
|
||||
margin-right: 10px; /* 图片与文本之间的间距 */
|
||||
object-fit: cover;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user