mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-acgnshow.git
synced 2024-11-26 17:15:20 +08:00
✍️v0.2.3.2,展览列表显示的价格修改为价格区间而非最低价格
This commit is contained in:
parent
945112d4c5
commit
90b99574c4
@ -168,7 +168,8 @@ def process_shows_data_to_template(shows_data: dict):
|
||||
"location": district_name + venue_name,
|
||||
"sale_flag": sale_flag,
|
||||
"id": project_id,
|
||||
"price": price_low,
|
||||
"price_low": price_low,
|
||||
"price_high": price_high,
|
||||
"start_time": start_time,
|
||||
"end_time": end_time,
|
||||
"wish": wish,
|
||||
|
@ -145,7 +145,7 @@ body {
|
||||
color: gray;
|
||||
position: absolute;
|
||||
bottom: 5px;
|
||||
left: 60px; /* 适当调整以避免与price重叠 */
|
||||
left: 80px; /* 适当调整以避免与price重叠 */
|
||||
}
|
||||
|
||||
.details .start-time {
|
||||
|
@ -29,7 +29,7 @@
|
||||
<div class="placeholder"></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_low }} - {{ show.price_high }}</div>
|
||||
<div class="wish">{{ show.wish }}人想去</div>
|
||||
<div class="start-time">开始时间:{{ show.start_time }}</div>
|
||||
<div class="end-time">结束时间:{{ show.end_time }}</div>
|
||||
@ -50,4 +50,4 @@
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "nonebot-plugin-acgnshow"
|
||||
version = "0.2.3.1"
|
||||
version = "0.2.3.2"
|
||||
description = "Nonebot2插件,从哔哩哔哩会员购获取简易展览数据"
|
||||
readme = "README.md"
|
||||
requires-python = "<4.0,>=3.9"
|
||||
|
Loading…
Reference in New Issue
Block a user