mirror of
https://github.com/PaiGramTeam/MibooGram.git
synced 2024-11-24 09:15:24 +00:00
👽 Update zzz stat and note models
This commit is contained in:
parent
22ee6cbf57
commit
6dcc187892
@ -57,11 +57,12 @@ class DailyNotePlugin(Plugin):
|
||||
"card_sign_status": daily_info.card_sign == ZZZNoteCardSignState.DONE,
|
||||
"bounty_commission": daily_info.bounty_commission,
|
||||
"survey_points": daily_info.survey_points,
|
||||
"weekly_task": daily_info.weekly_task,
|
||||
}
|
||||
render_result = await self.template_service.render(
|
||||
"zzz/daily_note/daily_note.jinja2",
|
||||
render_data,
|
||||
{"width": 600, "height": 480},
|
||||
{"width": 600, "height": 520},
|
||||
full_page=False,
|
||||
ttl=8 * 60,
|
||||
)
|
||||
|
@ -75,9 +75,11 @@ class PlayerStatsPlugins(Plugin):
|
||||
"stats_labels": [
|
||||
("活跃天数", "active_days"),
|
||||
("获取角色数", "avatar_num"),
|
||||
("达成成就数", "achievement_count"),
|
||||
("式舆防卫战防线", "cur_period_zone_layer_count"),
|
||||
("获得邦布数", "buddy_num"),
|
||||
("式舆防卫战防线", "cur_period_zone_layer_count"),
|
||||
("拟真鏖战试炼", "climbing_tower_layer"),
|
||||
("断层之谜", "next_hundred_layer"),
|
||||
("达成成就数", "achievement_count"),
|
||||
("绳网声望", "world_level_name"),
|
||||
],
|
||||
"cat_notes_list": user_info.cat_notes_list,
|
||||
|
@ -75,6 +75,15 @@
|
||||
</span>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if weekly_task %}
|
||||
<div class="item">
|
||||
<img class="icon" src="./items/Investigation-Point.png" alt="" />
|
||||
<div class="name">丽都周纪</div>
|
||||
<span class="detail {% if weekly_task.cur_point != weekly_task.max_point %}red{% endif %}">
|
||||
{{ weekly_task.cur_point }}/{{ weekly_task.max_point }}
|
||||
</span>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
Loading…
Reference in New Issue
Block a user