nonebot-plugin-acgnshow 0.2__tar.gz → 0.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {nonebot_plugin_acgnshow-0.2 → nonebot_plugin_acgnshow-0.2.2}/PKG-INFO +1 -1
- {nonebot_plugin_acgnshow-0.2 → nonebot_plugin_acgnshow-0.2.2}/nonebot_plugin_acgnshow/acgnapis.py +2 -1
- {nonebot_plugin_acgnshow-0.2 → nonebot_plugin_acgnshow-0.2.2}/nonebot_plugin_acgnshow/res/css/style.css +1 -1
- {nonebot_plugin_acgnshow-0.2 → nonebot_plugin_acgnshow-0.2.2}/nonebot_plugin_acgnshow/res/details.html +20 -8
- {nonebot_plugin_acgnshow-0.2 → nonebot_plugin_acgnshow-0.2.2}/nonebot_plugin_acgnshow/res/template.html +1 -1
- {nonebot_plugin_acgnshow-0.2 → nonebot_plugin_acgnshow-0.2.2}/pyproject.toml +1 -1
- {nonebot_plugin_acgnshow-0.2 → nonebot_plugin_acgnshow-0.2.2}/LICENSE +0 -0
- {nonebot_plugin_acgnshow-0.2 → nonebot_plugin_acgnshow-0.2.2}/README.md +0 -0
- {nonebot_plugin_acgnshow-0.2 → nonebot_plugin_acgnshow-0.2.2}/nonebot_plugin_acgnshow/__init__.py +0 -0
- {nonebot_plugin_acgnshow-0.2 → nonebot_plugin_acgnshow-0.2.2}/nonebot_plugin_acgnshow/acgnshower.py +0 -0
- {nonebot_plugin_acgnshow-0.2 → nonebot_plugin_acgnshow-0.2.2}/nonebot_plugin_acgnshow/config.py +0 -0
- {nonebot_plugin_acgnshow-0.2 → nonebot_plugin_acgnshow-0.2.2}/nonebot_plugin_acgnshow/models.py +0 -0
- {nonebot_plugin_acgnshow-0.2 → nonebot_plugin_acgnshow-0.2.2}/nonebot_plugin_acgnshow/res/SourceHanSans.otf +0 -0
- {nonebot_plugin_acgnshow-0.2 → nonebot_plugin_acgnshow-0.2.2}/nonebot_plugin_acgnshow/res/bgimage/bg1.webp +0 -0
- {nonebot_plugin_acgnshow-0.2 → nonebot_plugin_acgnshow-0.2.2}/nonebot_plugin_acgnshow/res/bgimage/bg2.webp +0 -0
- {nonebot_plugin_acgnshow-0.2 → nonebot_plugin_acgnshow-0.2.2}/nonebot_plugin_acgnshow/res/bgimage/bg3.webp +0 -0
- {nonebot_plugin_acgnshow-0.2 → nonebot_plugin_acgnshow-0.2.2}/nonebot_plugin_acgnshow/res/bgimage/bg4.webp +0 -0
- {nonebot_plugin_acgnshow-0.2 → nonebot_plugin_acgnshow-0.2.2}/nonebot_plugin_acgnshow/res/bgimage/bg5.webp +0 -0
- {nonebot_plugin_acgnshow-0.2 → nonebot_plugin_acgnshow-0.2.2}/nonebot_plugin_acgnshow/res/bgimage/bg6.webp +0 -0
- {nonebot_plugin_acgnshow-0.2 → nonebot_plugin_acgnshow-0.2.2}/nonebot_plugin_acgnshow/res/bgimage/bg7.webp +0 -0
- {nonebot_plugin_acgnshow-0.2 → nonebot_plugin_acgnshow-0.2.2}/nonebot_plugin_acgnshow/res/svg/no.svg +0 -0
- {nonebot_plugin_acgnshow-0.2 → nonebot_plugin_acgnshow-0.2.2}/nonebot_plugin_acgnshow/res/svg/yes.svg +0 -0
- {nonebot_plugin_acgnshow-0.2 → nonebot_plugin_acgnshow-0.2.2}/nonebot_plugin_acgnshow/util.py +0 -0
- {nonebot_plugin_acgnshow-0.2 → nonebot_plugin_acgnshow-0.2.2}/tests/__init__.py +0 -0
{nonebot_plugin_acgnshow-0.2 → nonebot_plugin_acgnshow-0.2.2}/nonebot_plugin_acgnshow/acgnapis.py
RENAMED
|
@@ -101,7 +101,8 @@ def process_show_details_data_to_template(show_details_data: dict):
|
|
|
101
101
|
"price": ticket.get("price", 0),
|
|
102
102
|
"sale_start": convert_timestamp(ticket.get("saleStart", 0)),
|
|
103
103
|
"sale_end": convert_timestamp(ticket.get("saleEnd", 0)),
|
|
104
|
-
"status": ticket.get("sale_flag", {}).get("display_name", "")
|
|
104
|
+
"status": ticket.get("sale_flag", {}).get("display_name", ""),
|
|
105
|
+
"screen_name": ticket.get("screen_name")
|
|
105
106
|
})
|
|
106
107
|
guests_list = data["guests"]
|
|
107
108
|
if guests_list != None:
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8" />
|
|
6
|
-
<title
|
|
6
|
+
<title>Show Details</title>
|
|
7
7
|
<link rel="stylesheet" href="./css/style.css" />
|
|
8
8
|
<style>
|
|
9
9
|
body {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
<body>
|
|
16
16
|
<div class="background"></div>
|
|
17
17
|
<div class="container">
|
|
18
|
-
<div class="header"
|
|
18
|
+
<div class="header">展览详情</div>
|
|
19
19
|
|
|
20
20
|
<!-- Banner 图 -->
|
|
21
21
|
<div class="banner">
|
|
@@ -26,10 +26,13 @@
|
|
|
26
26
|
<div class="detail_content">
|
|
27
27
|
<div class="details">
|
|
28
28
|
<div class="title">{{ show.name }}</div>
|
|
29
|
-
<div class="venue_name">地点:{{ show.venue_name }} {{show.venue_detail}}</div>
|
|
29
|
+
<div class="venue_name">地点:{{ show.venue_name }} {{ show.venue_detail }}</div>
|
|
30
30
|
<div class="start-time">开始时间:{{ show.start_time }}</div>
|
|
31
31
|
<div class="end-time">结束时间:{{ show.end_time }}</div>
|
|
32
32
|
<div class="organizer">主办方:{{ show.organizer }}</div>
|
|
33
|
+
{% if show.guests %}
|
|
34
|
+
<div class="guests">嘉宾:{{ show.guests }}</div>
|
|
35
|
+
{% endif %}
|
|
33
36
|
<div class="status">
|
|
34
37
|
{% macro icon(name) %}
|
|
35
38
|
<img src="./svg/{{ name }}.svg" class="vector_icon" width="8px" height="8px">
|
|
@@ -40,18 +43,27 @@
|
|
|
40
43
|
{% if show.id_bind == 1 %}
|
|
41
44
|
{{ icon('yes') }} 实名制
|
|
42
45
|
{% endif %}
|
|
43
|
-
{% if show.has_eticket
|
|
46
|
+
{% if show.has_eticket %}
|
|
44
47
|
{{ icon('yes') }} 电子票/兑换票
|
|
45
48
|
{% endif %}
|
|
46
49
|
</div>
|
|
47
50
|
<div class="placeholder"></div>
|
|
48
51
|
</div>
|
|
49
52
|
</div>
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
53
|
+
|
|
54
|
+
<!-- 按 screen_name 分组的票务信息 -->
|
|
55
|
+
{% for screen_name, tickets in show.ticket_info | groupby('screen_name') %}
|
|
56
|
+
<div class="screen_name_group">
|
|
57
|
+
<h3>{{ screen_name }}</h3>
|
|
58
|
+
<div class="details">
|
|
59
|
+
{% for ticket in tickets %}
|
|
60
|
+
<div class="ticket_box">
|
|
61
|
+
{{ ticket.description }} {{ ticket.sale_start }} -- {{ ticket.sale_end }} ¥{{ ticket.price / 100 }} ({{ ticket.status }})
|
|
62
|
+
</div>
|
|
63
|
+
{% endfor %}
|
|
64
|
+
</div>
|
|
54
65
|
</div>
|
|
66
|
+
{% endfor %}
|
|
55
67
|
|
|
56
68
|
<!-- 页脚 -->
|
|
57
69
|
<div class="footer">
|
|
File without changes
|
|
File without changes
|
{nonebot_plugin_acgnshow-0.2 → nonebot_plugin_acgnshow-0.2.2}/nonebot_plugin_acgnshow/__init__.py
RENAMED
|
File without changes
|
{nonebot_plugin_acgnshow-0.2 → nonebot_plugin_acgnshow-0.2.2}/nonebot_plugin_acgnshow/acgnshower.py
RENAMED
|
File without changes
|
{nonebot_plugin_acgnshow-0.2 → nonebot_plugin_acgnshow-0.2.2}/nonebot_plugin_acgnshow/config.py
RENAMED
|
File without changes
|
{nonebot_plugin_acgnshow-0.2 → nonebot_plugin_acgnshow-0.2.2}/nonebot_plugin_acgnshow/models.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nonebot_plugin_acgnshow-0.2 → nonebot_plugin_acgnshow-0.2.2}/nonebot_plugin_acgnshow/res/svg/no.svg
RENAMED
|
File without changes
|
|
File without changes
|
{nonebot_plugin_acgnshow-0.2 → nonebot_plugin_acgnshow-0.2.2}/nonebot_plugin_acgnshow/util.py
RENAMED
|
File without changes
|
|
File without changes
|