From 90b99574c4fa40ae02dcc3b12e8088fa6626f728 Mon Sep 17 00:00:00 2001 From: Asankilp Date: Tue, 17 Sep 2024 19:20:46 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=8D=EF=B8=8Fv0.2.3.2=EF=BC=8C=E5=B1=95?= =?UTF-8?q?=E8=A7=88=E5=88=97=E8=A1=A8=E6=98=BE=E7=A4=BA=E7=9A=84=E4=BB=B7?= =?UTF-8?q?=E6=A0=BC=E4=BF=AE=E6=94=B9=E4=B8=BA=E4=BB=B7=E6=A0=BC=E5=8C=BA?= =?UTF-8?q?=E9=97=B4=E8=80=8C=E9=9D=9E=E6=9C=80=E4=BD=8E=E4=BB=B7=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nonebot_plugin_acgnshow/acgnapis.py | 3 ++- nonebot_plugin_acgnshow/res/css/style.css | 2 +- nonebot_plugin_acgnshow/res/template.html | 4 ++-- pyproject.toml | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) 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"