2026-10-26 16:32:15 +08:00
|
|
|
|
{# trade-pro service detail — 服务详情精修(Task 11)。
|
|
|
|
|
|
设计参照(本轮无 cms 源对应):上游 industrial/automotive 1.3.0/1.4.0 的
|
|
|
|
|
|
service 页为通用信息页薄形态(hero + 双栏正文 + 封面图);本模板以
|
|
|
|
|
|
sf-tp 设计语言重组为「详情页」口径:sf-tp-page-hero(10c:封面底图 +
|
|
|
|
|
|
面包屑)→ detail 双栏(10g 案例页同构 1.2fr/0.8fr:文案列 = 眉题 + h2 +
|
|
|
|
|
|
正文排版层;侧列 = sticky CTA 卡 + 返回服务列表)。
|
|
|
|
|
|
数据事实(make_context 对 service kind):仅页面条目上下文(title/
|
|
|
|
|
|
summary/body/cover),无服务专属集合;正文 = 单一富文本 body,小节结构
|
|
|
|
|
|
由正文自身 h2 承担(10g/10h 同决策),sf-tp-article-body 排版层双挂
|
|
|
|
|
|
(10d)。body 为空 → 正文区块整段隐藏,双栏退化为居中单列(CTA 卡
|
|
|
|
|
|
保留——真实动作位,非虚构内容)。
|
|
|
|
|
|
面包屑/返回链接指向 /services/(required_sections 恒保证该路由存在;
|
|
|
|
|
|
当前页恰为 /services/ 时自指链接隐藏,面包屑降级为 Home › 标题)。 #}
|
|
|
|
|
|
<section class="sf-tp-page-hero sf-tp-service-hero">
|
|
|
|
|
|
{% if safe_image(page.cover) %}<img class="sf-tp-page-hero-bg" src="{{ safe_image(page.cover) }}" alt="" width="1600" height="900" fetchpriority="high" decoding="async">{% endif %}
|
|
|
|
|
|
<div class="sf-tp-page-hero-overlay" aria-hidden="true"></div>
|
|
|
|
|
|
<div class="wrap">
|
|
|
|
|
|
<nav class="sf-tp-breadcrumb" aria-label="Breadcrumb" data-reveal>
|
|
|
|
|
|
<a href="/">Home</a>{% if route != '/services/' %}<a href="/services/">Services</a>{% endif %}<span class="sf-tp-breadcrumb-current">{{ page.title }}</span>
|
|
|
|
|
|
</nav>
|
|
|
|
|
|
<div class="sf-tp-page-hero-copy" data-reveal style="--reveal-i: 1">
|
|
|
|
|
|
<span class="eyebrow">SERVICE / SUPPORT</span>
|
|
|
|
|
|
<h1>{{ page.title }}</h1>
|
|
|
|
|
|
{% if page.summary %}<p class="sf-tp-page-hero-lead">{{ page.summary }}</p>{% endif %}
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</section>
|
|
|
|
|
|
<section class="section sf-tp-service">
|
|
|
|
|
|
<div class="wrap sf-tp-service-grid{{ '' if content else ' sf-tp-service-grid--solo' }}">
|
|
|
|
|
|
{% if content %}
|
|
|
|
|
|
<div class="sf-tp-service-copy" data-reveal>
|
|
|
|
|
|
<span class="eyebrow">SERVICE DETAIL</span>
|
|
|
|
|
|
<h2>{{ page.title }}</h2>
|
|
|
|
|
|
<div class="sf-tp-service-body sf-tp-article-body" data-reveal style="--reveal-i: 1">{{ body_copy(content, page) }}</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
<aside class="sf-tp-service-aside" data-reveal style="--reveal-i: 1">
|
|
|
|
|
|
<div class="sf-tp-service-cta">
|
|
|
|
|
|
<span class="eyebrow">NEXT STEP</span>
|
|
|
|
|
|
<h3>Request this service</h3>
|
|
|
|
|
|
<p>Send your requirements and the team replies within one business day.</p>
|
|
|
|
|
|
<a class="sf-tp-btn" href="/contact/">Contact us {{ icon('arrow-right') }}</a>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
{% if route != '/services/' %}<a class="sf-tp-service-back" href="/services/">{{ icon('arrow-left', cls='sf-tp-icon--sm') }} All services</a>{% endif %}
|
|
|
|
|
|
</aside>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</section>
|