diff --git a/nonebot_plugin_acgnshow/acgnapis.py b/nonebot_plugin_acgnshow/acgnapis.py index b1a430d..304c345 100644 --- a/nonebot_plugin_acgnshow/acgnapis.py +++ b/nonebot_plugin_acgnshow/acgnapis.py @@ -168,7 +168,8 @@ def process_shows_data_to_template(shows_data: dict): "location": district_name + venue_name, "sale_flag": sale_flag, "id": project_id, - "price": price_low, + "price_low": price_low, + "price_high": price_high, "start_time": start_time, "end_time": end_time, "wish": wish, diff --git a/nonebot_plugin_acgnshow/res/css/style.css b/nonebot_plugin_acgnshow/res/css/style.css index 73afa25..c004ca9 100644 --- a/nonebot_plugin_acgnshow/res/css/style.css +++ b/nonebot_plugin_acgnshow/res/css/style.css @@ -145,7 +145,7 @@ body { color: gray; position: absolute; bottom: 5px; - left: 60px; /* 适当调整以避免与price重叠 */ + left: 80px; /* 适当调整以避免与price重叠 */ } .details .start-time { diff --git a/nonebot_plugin_acgnshow/res/template.html b/nonebot_plugin_acgnshow/res/template.html index b82e9b1..b332983 100644 --- a/nonebot_plugin_acgnshow/res/template.html +++ b/nonebot_plugin_acgnshow/res/template.html @@ -29,7 +29,7 @@
{{ show.sale_flag }}
ID:{{ show.id }}
-
¥{{ show.price }}起
+
¥{{ show.price_low }} - {{ show.price_high }}
{{ show.wish }}人想去
开始时间:{{ show.start_time }}
结束时间:{{ show.end_time }}
@@ -50,4 +50,4 @@ - \ No newline at end of file + diff --git a/pyproject.toml b/pyproject.toml index eb7a3b3..b585313 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "nonebot-plugin-acgnshow" -version = "0.2.3.1" +version = "0.2.3.2" description = "Nonebot2插件,从哔哩哔哩会员购获取简易展览数据" readme = "README.md" requires-python = "<4.0,>=3.9"