From 7cbdba0beadc662175dc24df398476573faa6d70 Mon Sep 17 00:00:00 2001 From: Asankilp Date: Thu, 11 Jul 2024 15:45:40 +0000 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8v0.1.3.2=EF=BC=8C=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E5=B1=95=E8=A7=88ID?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nonebot_plugin_acgnshow/acgnapis.py | 1 + nonebot_plugin_acgnshow/res/template.html | 8 ++++++++ pyproject.toml | 6 +++++- 3 files changed, 14 insertions(+), 1 deletion(-) 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 = [