{% extends "_base.html" %} {#- 资讯:最新一条大图,其余缩略图列表。 -#} {% block style %} .lead { padding: 0; overflow: hidden; } .lead .cover { height: 300px; background: #222 center / cover; } .lead .in { padding: 20px 26px 22px; } .lead h2 { margin: 10px 0 8px; font-size: 32px; line-height: 1.25; } .item { display: flex; gap: 20px; align-items: center; } .item .cover { width: 240px; height: 112px; flex: none; background: #26262c center / cover; } .item h2 { margin: 0 0 6px; font-size: 24px; line-height: 1.3; } .when { font-family: "Oswald", sans-serif; font-size: 17px; color: var(--muted); letter-spacing: .05em; } .sum { font-size: 18px; color: var(--soft); line-height: 1.5; } {% endblock %} {% block body %}

最新资讯

Apex 英雄官方新闻
{% for n in items %} {% if loop.first %}
{% if n.cover %}
{% endif %}
最新 {{ n.date }}

{{ n.title }}

{% if n.summary %}
{{ n.summary }}
{% endif %}
{% else %}
{{ n.date }}

{{ n.title }}

{% if n.summary %}
{{ n.summary }}
{% endif %}
{% endif %} {% endfor %} {% endblock %} {% block source %}资讯来自 EA 官网{% endblock %}