v0.1.3.2,显示展览ID

This commit is contained in:
Asankilp 2024-07-11 15:45:40 +00:00
parent 1e089baae9
commit 7cbdba0bea
3 changed files with 14 additions and 1 deletions

View File

@ -80,6 +80,7 @@ def process_shows_data_to_template(shows_data: dict):
"name": name, "name": name,
"location": district_name + venue_name, "location": district_name + venue_name,
"sale_flag": sale_flag, "sale_flag": sale_flag,
"id": project_id,
"price": price_low, "price": price_low,
"start_time": start_time, "start_time": start_time,
"end_time": end_time, "end_time": end_time,

View File

@ -80,6 +80,13 @@
top: 5px; top: 5px;
right: 5px; right: 5px;
} }
.details .id {
color: black;
font-size: 10px;
position: absolute;
top: 20px;
right: 5px;
}
.details .price { .details .price {
color: #FB7299; color: #FB7299;
font-size: 10px; font-size: 10px;
@ -126,6 +133,7 @@
</div> </div>
</div> </div>
<div class="sale_flag">{{ show.sale_flag }}</div> <div class="sale_flag">{{ show.sale_flag }}</div>
<div class="id">ID:{{ show.id }}</div>
<div class="price">¥{{ show.price }}起</div> <div class="price">¥{{ show.price }}起</div>
<div class="wish">{{ show.wish }}人想去</div> <div class="wish">{{ show.wish }}人想去</div>
<div class="start-time">开始时间:{{ show.start_time }}</div> <div class="start-time">开始时间:{{ show.start_time }}</div>

View File

@ -1,6 +1,6 @@
[project] [project]
name = "nonebot-plugin-acgnshow" name = "nonebot-plugin-acgnshow"
version = "0.1.3.1" version = "0.1.3.2"
description = "Nonebot2插件从哔哩哔哩会员购获取简易展览数据" description = "Nonebot2插件从哔哩哔哩会员购获取简易展览数据"
readme = "README.md" readme = "README.md"
requires-python = "<4.0,>=3.9" requires-python = "<4.0,>=3.9"
@ -18,6 +18,10 @@ dependencies = [
] ]
license = {text = "MIT"} license = {text = "MIT"}
[project.urls]
Homepage = "https://github.com/LiteyukiStudio/nonebot-plugin-acgnshow"
[tool.nonebot] [tool.nonebot]
plugins = ["nonebot_plugin_acgnshow"] plugins = ["nonebot_plugin_acgnshow"]
adapters = [ adapters = [