{% extends "_base.html" %} {% from "_macros.html" import avatar %} {#- 内容对照 bf-manager 网页的 Bf6Hero 与 Bf6Overview,排版改成整宽纵向,方便手机看。 -#} {% block style %} .hero { position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--panel); } .hero .art { position: absolute; top: 0; bottom: 0; right: 0; width: 70%; background-size: cover; background-position: 60% 20%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%); opacity: .8; } .hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--panel) 0%, rgba(19,21,23,.9) 38%, rgba(19,21,23,.35) 70%, rgba(19,21,23,.15) 100%), linear-gradient(0deg, var(--panel) 0%, transparent 40%); } .hero-body { position: relative; z-index: 1; padding: 26px 28px 28px; } .who { display: flex; align-items: center; gap: 22px; margin-top: 16px; } .who .main { min-width: 0; } h1 { margin: 0 0 12px; font-family: "Oswald", "SC", "WenQuanYi Zen Hei", sans-serif; font-size: 60px; line-height: 1; font-weight: 600; word-break: break-all; } .core { display: flex; align-items: flex-end; gap: 40px; margin-top: 28px; } .core .t { font-family: "Oswald", sans-serif; font-size: 18px; letter-spacing: .25em; color: var(--fg2); } .core .kd { font-family: "Oswald", sans-serif; font-size: 128px; line-height: .86; font-weight: 700; color: var(--orange); margin-top: 8px; text-shadow: 0 0 40px rgba(255,90,31,.3); } .core .sub { margin-top: 12px; font-size: 17px; color: var(--mute); white-space: nowrap; } .core .sub b { color: var(--fg2); font-weight: 500; } .cells { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 18px; padding-top: 14px; border-top: 1px solid var(--line-strong); } .cells .v { font-family: "Oswald", sans-serif; font-size: 36px; font-weight: 500; line-height: 1.15; font-variant-numeric: tabular-nums; } .cells .v small, .tiles .v small { font-family: "SC", sans-serif; font-size: 17px; font-weight: 400; color: var(--fg2); margin-left: 4px; } .cells .n { font-size: 17px; color: var(--mute); white-space: nowrap; } .tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 22px; } .tiles .v { font-family: "Oswald", sans-serif; font-size: 32px; font-weight: 500; line-height: 1.2; font-variant-numeric: tabular-nums; } .tiles .v em { font-family: "SC", sans-serif; font-style: normal; font-size: 17px; color: var(--mute); margin-left: 8px; } .tiles.bests .v { color: var(--orange-soft); font-weight: 600; } .cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-top: 18px; } .cols > .panel { margin: 0; } .rows { display: grid; gap: 14px; } .row .top { display: flex; align-items: baseline; gap: 10px; font-size: 20px; } .row .top .nm { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .row .top .k { font-family: "Oswald", sans-serif; font-size: 22px; font-variant-numeric: tabular-nums; } .row .top .k small { font-family: "SC", sans-serif; font-size: 17px; color: var(--mute); margin-left: 4px; } .row .bar { margin-top: 6px; } .row .meta { margin-top: 4px; font-size: 17px; color: var(--mute); } .row.best .nm { color: var(--orange-soft); font-weight: 700; } .badge { margin-left: 8px; padding: 0 6px; background: var(--orange); color: #111; font-size: 15px; font-weight: 700; line-height: 22px; vertical-align: 2px; } .gear { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .g { display: flex; gap: 16px; align-items: center; min-width: 0; padding: 12px; background: rgba(255,255,255,.03); } .g .img { width: 170px; height: 84px; flex: none; display: flex; align-items: center; justify-content: center; background: #22262a; } .g .img img { max-width: 100%; max-height: 100%; object-fit: contain; padding: 6px; } .g .body { min-width: 0; flex: 1; } .g .nm { font-size: 21px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .g .cat { font-size: 17px; color: var(--mute); } .g .k { margin-top: 4px; font-family: "Oswald", sans-serif; font-size: 28px; font-weight: 700; color: var(--orange); line-height: 1.1; } .g .k small { font-family: "SC", sans-serif; font-size: 17px; font-weight: 400; color: var(--fg2); margin-left: 6px; } .g .rate { font-size: 17px; color: var(--fg2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .modes { width: 100%; border-collapse: collapse; font-size: 19px; } .modes th { padding: 0 0 8px; font-size: 17px; font-weight: 400; color: var(--mute); text-align: right; white-space: nowrap; } .modes th:first-child, .modes td:first-child { text-align: left; } .modes td { padding: 8px 0; border-top: 1px solid var(--line); text-align: right; color: var(--fg2); white-space: nowrap; } .modes td:first-child { color: var(--fg); max-width: 170px; overflow: hidden; text-overflow: ellipsis; } .modes td + td, .modes th + th { padding-left: 14px; } .maps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .map { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #22262a; } .map img { width: 100%; height: 100%; object-fit: cover; } .map::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.92), rgba(0,0,0,.2) 60%, transparent); } .map .cap { position: absolute; left: 10px; right: 10px; bottom: 6px; z-index: 1; } .map .nm { font-size: 19px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .map .t { font-size: 17px; color: var(--fg2); white-space: nowrap; } {% endblock %} {% block body %}
{% if kit_image %}
{% endif %}
BATTLEFIELD 6 · 作战档案
{{ avatar(avatar_url, 108) }}

{{ name }}

{% if platform %}{{ platform }}{% endif %} {% if kit %}主玩 {{ kit }}{% endif %} {% if top_mode %}最常玩 {{ top_mode }}{% endif %}
K / D
{{ kd }}
真人击杀 {{ human_kills }} / 死亡 {{ deaths }}
{% for c in cells %}
{{ c.label }}
{{ c.value }}{% if c.unit %}{{ c.unit }}{% endif %}
{% if c.note %}
{{ c.note }}
{% endif %}
{% endfor %}
战斗表现
{% for c in combat %}
{{ c.label }}
{{ c.value }}{% if c.unit %}{{ c.unit }}{% endif %}{% if c.note %}{{ c.note }}{% endif %}
{% endfor %}
{% if signature %}
王牌装备占生涯总击杀
{% for g in signature %}
{% if g.image %}{% endif %}
{{ g.name }}
{{ g.category }}
{{ g.kills }}击杀 · {{ g.share }}
{{ g.rate }}
{% endfor %}
{% endif %}
兵种按战斗时长
{% for k in kits %}
{{ k.name }}{% if k.best %}主玩{% endif %} {{ k.hours }}小时
击杀 {{ k.kills }} · KD {{ k.kd }}
{% endfor %}
武器偏好按大类击杀
{% for m in mix %}
{{ m.name }} {{ m.kills }}{{ (m.share * 100)|round(0)|int }}%
{% endfor %}
{% if not mix %}
还没有武器击杀
{% endif %}
生涯之最
{% for c in bests %}
{{ c.label }}
{{ c.value }}{% if c.unit %}{{ c.unit }}{% endif %}
{% endfor %}
{% if modes or maps %}
常玩模式
{% for m in modes %} {% endfor %}
模式场次胜率击杀小时
{{ m.name }}{{ m.matches }}{{ m.win_rate }}{{ m.kills }}{{ m.hours }}
常玩地图按时长
{% for m in maps %}
{% if m.image %}{% endif %}
{{ m.name }}
{{ m.matches }} 场 · 胜率 {{ m.win_rate }}
{% endfor %}
{% endif %} {% if redsec %}
禁区冲突大逃杀 · 单人、双人、四人合计
{% for c in redsec %}
{{ c.label }}
{{ c.value }}{% if c.unit %}{{ c.unit }}{% endif %}{% if c.note %}{{ c.note }}{% endif %}
{% endfor %}
{% endif %} {% endblock %}