diff --git a/nonebot_plugin_acgnshow/acgnapis.py b/nonebot_plugin_acgnshow/acgnapis.py index 8485695..435e604 100644 --- a/nonebot_plugin_acgnshow/acgnapis.py +++ b/nonebot_plugin_acgnshow/acgnapis.py @@ -80,6 +80,7 @@ def process_shows_data_to_template(shows_data: dict): "name": name, "location": district_name + venue_name, "sale_flag": sale_flag, + "id": project_id, "price": price_low, "start_time": start_time, "end_time": end_time, diff --git a/nonebot_plugin_acgnshow/res/template.html b/nonebot_plugin_acgnshow/res/template.html index 2ae955f..639fc0e 100644 --- a/nonebot_plugin_acgnshow/res/template.html +++ b/nonebot_plugin_acgnshow/res/template.html @@ -80,6 +80,13 @@ top: 5px; right: 5px; } + .details .id { + color: black; + font-size: 10px; + position: absolute; + top: 20px; + right: 5px; + } .details .price { color: #FB7299; font-size: 10px; @@ -126,6 +133,7 @@
{{ show.sale_flag }}
+
ID:{{ show.id }}
¥{{ show.price }}起
{{ show.wish }}人想去
开始时间:{{ show.start_time }}
diff --git a/pyproject.toml b/pyproject.toml index 7c9e704..d6824a8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "nonebot-plugin-acgnshow" -version = "0.1.3.1" +version = "0.1.3.2" description = "Nonebot2插件,从哔哩哔哩会员购获取简易展览数据" readme = "README.md" requires-python = "<4.0,>=3.9" @@ -18,6 +18,10 @@ dependencies = [ ] license = {text = "MIT"} +[project.urls] +Homepage = "https://github.com/LiteyukiStudio/nonebot-plugin-acgnshow" + + [tool.nonebot] plugins = ["nonebot_plugin_acgnshow"] adapters = [