✍️v0.2.3.2,展览列表显示的价格修改为价格区间而非最低价格

This commit is contained in:
Asankilp 2024-09-17 19:20:46 +08:00
parent 945112d4c5
commit 90b99574c4
4 changed files with 6 additions and 5 deletions

View File

@ -168,7 +168,8 @@ def process_shows_data_to_template(shows_data: dict):
"location": district_name + venue_name, "location": district_name + venue_name,
"sale_flag": sale_flag, "sale_flag": sale_flag,
"id": project_id, "id": project_id,
"price": price_low, "price_low": price_low,
"price_high": price_high,
"start_time": start_time, "start_time": start_time,
"end_time": end_time, "end_time": end_time,
"wish": wish, "wish": wish,

View File

@ -145,7 +145,7 @@ body {
color: gray; color: gray;
position: absolute; position: absolute;
bottom: 5px; bottom: 5px;
left: 60px; /* 适当调整以避免与price重叠 */ left: 80px; /* 适当调整以避免与price重叠 */
} }
.details .start-time { .details .start-time {

View File

@ -29,7 +29,7 @@
<div class="placeholder"></div> <div class="placeholder"></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="id">ID:{{ show.id }}</div>
<div class="price">¥{{ show.price }}起</div> <div class="price">¥{{ show.price_low }} - {{ show.price_high }}</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>
<div class="end-time">结束时间:{{ show.end_time }}</div> <div class="end-time">结束时间:{{ show.end_time }}</div>
@ -50,4 +50,4 @@
</div> </div>
</body> </body>
</html> </html>

View File

@ -1,6 +1,6 @@
[project] [project]
name = "nonebot-plugin-acgnshow" name = "nonebot-plugin-acgnshow"
version = "0.2.3.1" version = "0.2.3.2"
description = "Nonebot2插件从哔哩哔哩会员购获取简易展览数据" description = "Nonebot2插件从哔哩哔哩会员购获取简易展览数据"
readme = "README.md" readme = "README.md"
requires-python = "<4.0,>=3.9" requires-python = "<4.0,>=3.9"