🐛v0.2.3.1,考虑id_bind为2的情况(???),添加可退票提示

This commit is contained in:
2024-08-30 23:08:14 +08:00
parent eccba542ad
commit 945112d4c5
3 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,5 @@
import traceback
from nonebot.typing import T_State
from typing import Optional
from .acgnapis import *
from nonebot_plugin_htmlrender import template_to_pic, html_to_pic

View File

@ -39,8 +39,10 @@
{% endmacro %}
{% if show.is_refund == 0 %}
{{ icon('no') }} 不可退
{% else %}
{{ icon('yes') }} 支持退
{% endif %}
{% if show.id_bind == 1 %}
{% if show.id_bind >= 1 %}
{{ icon('yes') }} 实名制
{% endif %}
{% if show.has_eticket %}