Skip to content

Commit

Permalink
✨v0.1.3.2,显示展览ID
Browse files Browse the repository at this point in the history
  • Loading branch information
Asankilp committed Jul 11, 2024
1 parent 1e089ba commit 7cbdba0
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
1 change: 1 addition & 0 deletions nonebot_plugin_acgnshow/acgnapis.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
8 changes: 8 additions & 0 deletions nonebot_plugin_acgnshow/res/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -126,6 +133,7 @@
</div>
</div>
<div class="sale_flag">{{ show.sale_flag }}</div>
<div class="id">ID:{{ show.id }}</div>
<div class="price">¥{{ show.price }}起</div>
<div class="wish">{{ show.wish }}人想去</div>
<div class="start-time">开始时间:{{ show.start_time }}</div>
Expand Down
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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 = [
Expand Down

0 comments on commit 7cbdba0

Please sign in to comment.