refactor: 多页面门店重构 — CPT + 页面模板 + README 更新

- CPT: service(服务项目) + case(案例作品集) + case_type 分类
- 页面: 关于门店/常见问题/预约联系 + archive/single 模板
- 首页精简为 hero+trust+service-teaser+case-teaser+cta
- 主题激活自动迁移 Customizer 产品数据为 service 文章
- 预约表单: nonce+honeypot+rate-limit, URL 参数预填服务
- 联系页: 门店地址/电话/营业时间/百度地图导航
- Customizer 面板改为门店语境(13 板块)
- header CTA 改为预约, helpers 更新为门店口径
- README.md 全面更新为门店多页面架构文档
This commit is contained in:
2026-07-24 15:37:40 +08:00
parent 2a64ce8daa
commit 8a2890f8b4
31 changed files with 1427 additions and 837 deletions
+2 -3
View File
@@ -11,9 +11,8 @@ $case_query = new WP_Query(
<section id="cases" class="b2b-section cases-section">
<div class="container">
<div class="section-heading text-center mx-auto">
<p class="section-eyebrow"><?php esc_html_e( '案例作品', 'fragrance-trade' ); ?></p>
<h2><?php esc_html_e( '看看我们完成的贴膜施工', 'fragrance-trade' ); ?></h2>
<p><?php esc_html_e( '真实车主、真实车型,来自门店一线的施工案例。', 'fragrance-trade' ); ?></p>
<p class="section-eyebrow"><?php esc_html_e( '施工案例', 'fragrance-trade' ); ?></p>
<h2><?php esc_html_e( '为车主完成的贴膜施工', 'fragrance-trade' ); ?></h2>
</div>
<?php if ( $case_query->have_posts() ) : ?>
<div class="case-grid mt-5">
+1 -1
View File
@@ -1,7 +1,7 @@
<?php /** Customization map. @package Fragrance_Trade */ ?>
<section id="customization" class="b2b-section customization-section">
<div class="container">
<div class="row g-5 align-items-start"><div class="col-lg-5"><p class="section-eyebrow"><?php esc_html_e( '定制选项', 'fragrance-trade' ); ?></p><h2><?php echo esc_html( fragrance_trade_get_mod( 'b2b_custom_title' ) ); ?></h2><p class="section-lead"><?php echo esc_html( fragrance_trade_get_mod( 'b2b_custom_text' ) ); ?></p><a href="#rfq" class="btn btn-b2b-primary mt-3"><?php esc_html_e( '提交产品需求', 'fragrance-trade' ); ?></a></div>
<div class="row g-5 align-items-start"><div class="col-lg-5"><p class="section-eyebrow"><?php esc_html_e( '定制选项', 'fragrance-trade' ); ?></p><h2><?php echo esc_html( fragrance_trade_get_mod( 'b2b_custom_title' ) ); ?></h2><p class="section-lead"><?php echo esc_html( fragrance_trade_get_mod( 'b2b_custom_text' ) ); ?></p><a href="#rfq" class="btn btn-b2b-primary mt-3"><?php esc_html_e( '提交预约需求', 'fragrance-trade' ); ?></a></div>
<div class="col-lg-7"><div class="customization-grid"><?php for ( $index = 1; $index <= 8; $index++ ) : ?><div class="customization-item"><span><?php echo esc_html( str_pad( (string) $index, 2, '0', STR_PAD_LEFT ) ); ?></span><h3><?php echo esc_html( fragrance_trade_get_mod( 'b2b_custom_' . $index . '_title' ) ); ?></h3></div><?php endfor; ?></div></div></div>
</div>
</section>
+1 -1
View File
@@ -6,7 +6,7 @@ $factory_fallbacks = array( 'placeholder-factory-01.svg', 'placeholder-factory-0
<div class="container">
<div class="row g-5 align-items-center">
<div class="col-lg-5"><p class="section-eyebrow"><?php echo esc_html( fragrance_trade_get_mod( 'b2b_factory_eyebrow' ) ); ?></p><h2><?php echo esc_html( fragrance_trade_get_mod( 'b2b_factory_title' ) ); ?></h2><p class="section-lead"><?php echo esc_html( fragrance_trade_get_mod( 'b2b_factory_text' ) ); ?></p><ul class="factory-points list-unstyled mt-4"><?php for ( $index = 1; $index <= 4; $index++ ) : ?><li><span aria-hidden="true">✓</span><?php echo esc_html( fragrance_trade_get_mod( 'b2b_factory_point_' . $index ) ); ?></li><?php endfor; ?></ul></div>
<div class="col-lg-7"><div class="factory-gallery"><?php for ( $index = 1; $index <= 4; $index++ ) : ?><figure><img src="<?php echo esc_url( fragrance_trade_image_uri( 'b2b_factory_image_' . $index, $factory_fallbacks[ $index - 1 ] ) ); ?>" alt="<?php echo esc_attr( sprintf( __( '工厂实景 %d', 'fragrance-trade' ), $index ) ); ?>" loading="lazy"></figure><?php endfor; ?></div></div>
<div class="col-lg-7"><div class="factory-gallery"><?php for ( $index = 1; $index <= 4; $index++ ) : ?><figure><img src="<?php echo esc_url( fragrance_trade_image_uri( 'b2b_factory_image_' . $index, $factory_fallbacks[ $index - 1 ] ) ); ?>" alt="<?php echo esc_attr( sprintf( __( '门店实景 %d', 'fragrance-trade' ), $index ) ); ?>" loading="lazy"></figure><?php endfor; ?></div></div>
</div>
</div>
</section>
+1 -1
View File
@@ -1,2 +1,2 @@
<?php /** B2B FAQ. @package Fragrance_Trade */ if ( ! fragrance_trade_show_section( 'b2b_show_faq' ) ) { return; } ?>
<section id="faqs" class="b2b-section faq-section"><div class="container"><div class="row g-5"><div class="col-lg-4"><p class="section-eyebrow"><?php esc_html_e( '常见问题', 'fragrance-trade' ); ?></p><h2><?php echo esc_html( fragrance_trade_get_mod( 'b2b_faq_title' ) ); ?></h2><p><?php esc_html_e( '起订量、交期和文件取决于已确认的项目配置。如需具体答复请使用询价表单。', 'fragrance-trade' ); ?></p></div><div class="col-lg-8"><div class="accordion" id="b2b-faq-accordion"><?php for ( $index = 1; $index <= 8; $index++ ) : $first = 1 === $index; ?><div class="accordion-item"><h3 class="accordion-header" id="b2b-faq-heading-<?php echo esc_attr( $index ); ?>"><button class="accordion-button<?php echo $first ? '' : ' collapsed'; ?>" type="button" data-bs-toggle="collapse" data-bs-target="#b2b-faq-panel-<?php echo esc_attr( $index ); ?>" aria-expanded="<?php echo $first ? 'true' : 'false'; ?>" aria-controls="b2b-faq-panel-<?php echo esc_attr( $index ); ?>"><?php echo esc_html( fragrance_trade_get_mod( 'b2b_faq_' . $index . '_question' ) ); ?></button></h3><div id="b2b-faq-panel-<?php echo esc_attr( $index ); ?>" class="accordion-collapse collapse<?php echo $first ? ' show' : ''; ?>" aria-labelledby="b2b-faq-heading-<?php echo esc_attr( $index ); ?>" data-bs-parent="#b2b-faq-accordion"><div class="accordion-body"><?php echo esc_html( fragrance_trade_get_mod( 'b2b_faq_' . $index . '_answer' ) ); ?></div></div></div><?php endfor; ?></div></div></div></div></section>
<section id="faqs" class="b2b-section faq-section"><div class="container"><div class="row g-5"><div class="col-lg-4"><p class="section-eyebrow"><?php esc_html_e( '常见问题', 'fragrance-trade' ); ?></p><h2><?php echo esc_html( fragrance_trade_get_mod( 'b2b_faq_title' ) ); ?></h2><p><?php esc_html_e( '服务内容、价格和工期以到店确认为准。如需具体答复请使用预约表单。', 'fragrance-trade' ); ?></p></div><div class="col-lg-8"><div class="accordion" id="b2b-faq-accordion"><?php for ( $index = 1; $index <= 8; $index++ ) : $first = 1 === $index; ?><div class="accordion-item"><h3 class="accordion-header" id="b2b-faq-heading-<?php echo esc_attr( $index ); ?>"><button class="accordion-button<?php echo $first ? '' : ' collapsed'; ?>" type="button" data-bs-toggle="collapse" data-bs-target="#b2b-faq-panel-<?php echo esc_attr( $index ); ?>" aria-expanded="<?php echo $first ? 'true' : 'false'; ?>" aria-controls="b2b-faq-panel-<?php echo esc_attr( $index ); ?>"><?php echo esc_html( fragrance_trade_get_mod( 'b2b_faq_' . $index . '_question' ) ); ?></button></h3><div id="b2b-faq-panel-<?php echo esc_attr( $index ); ?>" class="accordion-collapse collapse<?php echo $first ? ' show' : ''; ?>" aria-labelledby="b2b-faq-heading-<?php echo esc_attr( $index ); ?>" data-bs-parent="#b2b-faq-accordion"><div class="accordion-body"><?php echo esc_html( fragrance_trade_get_mod( 'b2b_faq_' . $index . '_answer' ) ); ?></div></div></div><?php endfor; ?></div></div></div></div></section>
+9 -9
View File
@@ -1,23 +1,23 @@
<?php
/** B2B factory hero. @package Fragrance_Trade */
/** Hero — minimalist luxury. @package Fragrance_Trade */
$title = fragrance_trade_get_mod( 'b2b_hero_title' );
?>
<section id="intro" class="b2b-hero">
<div class="container">
<div class="row">
<div class="col-xl-10 col-lg-11">
<div class="col-xl-9 col-lg-10">
<p class="section-eyebrow"><?php echo esc_html( fragrance_trade_get_mod( 'b2b_hero_eyebrow' ) ); ?></p>
<h1><?php echo esc_html( $title ); ?></h1>
<p class="b2b-hero-lead"><?php echo esc_html( fragrance_trade_get_mod( 'b2b_hero_text' ) ); ?></p>
<div class="d-flex flex-wrap gap-3 mt-4">
<a class="btn btn-b2b-primary" href="<?php echo esc_url( fragrance_trade_get_mod( 'b2b_hero_primary_url' ) ); ?>"><?php echo esc_html( fragrance_trade_get_mod( 'b2b_hero_primary_label' ) ); ?></a>
<a class="btn btn-b2b-secondary" href="<?php echo esc_url( fragrance_trade_get_mod( 'b2b_hero_secondary_url' ) ); ?>"><?php echo esc_html( fragrance_trade_get_mod( 'b2b_hero_secondary_label' ) ); ?></a>
<a class="btn btn-b2b-primary btn-lg" href="<?php echo esc_url( fragrance_trade_get_mod( 'b2b_hero_primary_url' ) ); ?>"><?php echo esc_html( fragrance_trade_get_mod( 'b2b_hero_primary_label' ) ); ?></a>
<a class="btn btn-b2b-outline btn-lg" href="<?php echo esc_url( fragrance_trade_get_mod( 'b2b_hero_secondary_url' ) ); ?>"><?php echo esc_html( fragrance_trade_get_mod( 'b2b_hero_secondary_label' ) ); ?></a>
</div>
<ul class="hero-proof-list list-unstyled d-flex flex-wrap gap-3 mt-5 mb-0" aria-label="<?php esc_attr_e( '制造服务', 'fragrance-trade' ); ?>">
<li><?php esc_html_e( '膜料研发', 'fragrance-trade' ); ?></li>
<li><?php esc_html_e( '裁切包装', 'fragrance-trade' ); ?></li>
<li><?php esc_html_e( '出口支持', 'fragrance-trade' ); ?></li>
</ul>
<ul class="hero-proof-list" aria-label="<?php esc_attr_e( '施工服务', 'fragrance-trade' ); ?>">
<li><?php esc_html_e( '选膜咨询', 'fragrance-trade' ); ?></li>
<li><?php esc_html_e( '专业施工', 'fragrance-trade' ); ?></li>
<li><?php esc_html_e( '售后保障', 'fragrance-trade' ); ?></li>
</ul>
</div>
</div>
</div>
+2 -2
View File
@@ -12,12 +12,12 @@ $fallbacks = array(
?>
<section id="capabilities" class="b2b-section capabilities-section">
<div class="container">
<div class="section-heading text-center mx-auto"><p class="section-eyebrow"><?php esc_html_e( '工厂产品参考', 'fragrance-trade' ); ?></p><h2><?php echo esc_html( fragrance_trade_get_mod( 'b2b_products_title' ) ); ?></h2><p><?php echo esc_html( fragrance_trade_get_mod( 'b2b_products_text' ) ); ?></p></div>
<div class="section-heading text-center mx-auto"><p class="section-eyebrow"><?php esc_html_e( '门店膜料参考', 'fragrance-trade' ); ?></p><h2><?php echo esc_html( fragrance_trade_get_mod( 'b2b_products_title' ) ); ?></h2><p><?php echo esc_html( fragrance_trade_get_mod( 'b2b_products_text' ) ); ?></p></div>
<div class="capability-grid mt-5">
<?php for ( $index = 1; $index <= count( $fallbacks ); $index++ ) : $title = fragrance_trade_get_mod( 'b2b_product_' . $index . '_title' ); ?>
<article class="capability-card">
<div class="capability-image"><img src="<?php echo esc_url( fragrance_trade_image_uri( 'b2b_product_' . $index . '_image', $fallbacks[ $index - 1 ] ) ); ?>" alt="<?php echo esc_attr( $title ); ?>" class="img-fluid" width="960" height="960" loading="lazy" decoding="async"></div>
<div class="capability-body"><p class="capability-label"><?php esc_html_e( '定制生产参考', 'fragrance-trade' ); ?></p><h3><?php echo esc_html( $title ); ?></h3><p><?php echo esc_html( fragrance_trade_get_mod( 'b2b_product_' . $index . '_text' ) ); ?></p><p class="capability-specs"><?php echo esc_html( fragrance_trade_get_mod( 'b2b_product_' . $index . '_specs' ) ); ?></p><a href="#rfq" class="btn btn-b2b-outline" data-rfq-product="<?php echo esc_attr( $title ); ?>"><?php esc_html_e( '咨询类似项目', 'fragrance-trade' ); ?></a></div>
<div class="capability-body"><p class="capability-label"><?php esc_html_e( '施工效果参考', 'fragrance-trade' ); ?></p><h3><?php echo esc_html( $title ); ?></h3><p><?php echo esc_html( fragrance_trade_get_mod( 'b2b_product_' . $index . '_text' ) ); ?></p><p class="capability-specs"><?php echo esc_html( fragrance_trade_get_mod( 'b2b_product_' . $index . '_specs' ) ); ?></p><a href="#rfq" class="btn btn-b2b-outline" data-rfq-product="<?php echo esc_attr( $title ); ?>"><?php esc_html_e( '咨询这项服务', 'fragrance-trade' ); ?></a></div>
</article>
<?php endfor; ?>
</div>
+1 -1
View File
@@ -1,5 +1,5 @@
<?php /** Typical buyer project scenarios. @package Fragrance_Trade */ if ( ! fragrance_trade_show_section( 'b2b_show_projects' ) ) { return; } ?>
<section id="projects" class="b2b-section projects-section">
<div class="container"><div class="section-heading text-center mx-auto"><p class="section-eyebrow"><?php esc_html_e( '项目案例', 'fragrance-trade' ); ?></p><h2><?php echo esc_html( fragrance_trade_get_mod( 'b2b_projects_title' ) ); ?></h2><p><?php echo esc_html( fragrance_trade_get_mod( 'b2b_projects_text' ) ); ?></p></div>
<div class="project-grid mt-5"><?php for ( $index = 1; $index <= 3; $index++ ) : ?><article class="project-card"><p class="project-meta"><?php echo esc_html( fragrance_trade_get_mod( 'b2b_project_' . $index . '_meta' ) ); ?></p><h3><?php echo esc_html( fragrance_trade_get_mod( 'b2b_project_' . $index . '_title' ) ); ?></h3><p><?php echo esc_html( fragrance_trade_get_mod( 'b2b_project_' . $index . '_text' ) ); ?></p><a href="#rfq" class="text-link"><?php esc_html_e( '咨询类似项目', 'fragrance-trade' ); ?> <span aria-hidden="true">→</span></a></article><?php endfor; ?></div></div>
<div class="project-grid mt-5"><?php for ( $index = 1; $index <= 3; $index++ ) : ?><article class="project-card"><p class="project-meta"><?php echo esc_html( fragrance_trade_get_mod( 'b2b_project_' . $index . '_meta' ) ); ?></p><h3><?php echo esc_html( fragrance_trade_get_mod( 'b2b_project_' . $index . '_title' ) ); ?></h3><p><?php echo esc_html( fragrance_trade_get_mod( 'b2b_project_' . $index . '_text' ) ); ?></p><a href="#rfq" class="text-link"><?php esc_html_e( '咨询类似服务', 'fragrance-trade' ); ?> <span aria-hidden="true">→</span></a></article><?php endfor; ?></div></div>
</section>
+5 -5
View File
@@ -12,7 +12,7 @@ $notice_message = fragrance_trade_notice_message( $notice );
<p class="section-lead"><?php echo esc_html( fragrance_trade_get_mod( 'b2b_rfq_text' ) ); ?></p>
<div class="rfq-direct">
<h3><?php esc_html_e( '希望直接联系?', 'fragrance-trade' ); ?></h3>
<a href="<?php echo esc_url( fragrance_trade_get_inquiry_url() ); ?>"><?php esc_html_e( '通过邮件或 WhatsApp 联系我们的项目团队', 'fragrance-trade' ); ?></a>
<a href="<?php echo esc_url( fragrance_trade_get_inquiry_url() ); ?>"><?php esc_html_e( '通过邮件或 WhatsApp 联系我们', 'fragrance-trade' ); ?></a>
</div>
</div>
<div class="col-lg-8">
@@ -25,14 +25,14 @@ $notice_message = fragrance_trade_notice_message( $notice );
<?php wp_nonce_field( 'fragrance_rfq', 'fragrance_rfq_nonce' ); ?>
<div class="row g-3">
<div class="col-sm-6"><label for="rfq-name"><?php esc_html_e( '姓名 *', 'fragrance-trade' ); ?></label><input id="rfq-name" class="form-control" type="text" name="name" required maxlength="100" autocomplete="name"></div>
<div class="col-sm-6"><label for="rfq-email"><?php esc_html_e( '企业邮箱 *', 'fragrance-trade' ); ?></label><input id="rfq-email" class="form-control" type="email" name="email" required maxlength="190" autocomplete="email"></div>
<div class="col-sm-6"><label for="rfq-company"><?php esc_html_e( '公司名称', 'fragrance-trade' ); ?></label><input id="rfq-company" class="form-control" type="text" name="company" maxlength="150" autocomplete="organization"></div>
<div class="col-sm-6"><label for="rfq-email"><?php esc_html_e( '邮箱 *', 'fragrance-trade' ); ?></label><input id="rfq-email" class="form-control" type="email" name="email" required maxlength="190" autocomplete="email"></div>
<div class="col-sm-6"><label for="rfq-company"><?php esc_html_e( '车型 / 车牌(选填)', 'fragrance-trade' ); ?></label><input id="rfq-company" class="form-control" type="text" name="company" maxlength="150" autocomplete="organization"></div>
<div class="col-sm-6"><label for="rfq-whatsapp"><?php esc_html_e( 'WhatsApp 或电话', 'fragrance-trade' ); ?></label><input id="rfq-whatsapp" class="form-control" type="text" name="whatsapp" maxlength="100" autocomplete="tel"></div>
<div class="col-12"><label for="rfq-product-type"><?php esc_html_e( '需求产品或服务 *', 'fragrance-trade' ); ?></label><input id="rfq-product-type" class="form-control" type="text" name="product_type" required maxlength="150" data-rfq-product-field></div>
<div class="col-12"><label for="rfq-product-type"><?php esc_html_e( '想做的项目 / 膜种 *', 'fragrance-trade' ); ?></label><input id="rfq-product-type" class="form-control" type="text" name="product_type" required maxlength="150" data-rfq-product-field></div>
<div class="col-12"><label for="rfq-message"><?php esc_html_e( '简要需求描述 *', 'fragrance-trade' ); ?></label><textarea id="rfq-message" class="form-control" name="message" rows="4" required maxlength="2000" placeholder="<?php esc_attr_e( '请描述您的需求。', 'fragrance-trade' ); ?>"></textarea></div>
</div>
<div class="fragrance-honeypot" aria-hidden="true"><label for="rfq-website">Website</label><input id="rfq-website" type="text" name="fragrance_website" tabindex="-1" autocomplete="off"></div>
<p class="rfq-privacy-note"><?php esc_html_e( '我们仅会使用这些信息回复您的询价。', 'fragrance-trade' ); ?></p>
<p class="rfq-privacy-note"><?php esc_html_e( '我们仅会使用这些信息回复您的预约。', 'fragrance-trade' ); ?></p>
<button type="submit" class="btn btn-b2b-primary"><?php echo esc_html( fragrance_trade_get_mod( 'b2b_rfq_button_label' ) ); ?></button>
</form>
</div>
+2 -3
View File
@@ -11,12 +11,11 @@ if ( ! $service_query->have_posts() ) {
return;
}
?>
<section id="services" class="b2b-section services-section">
<section id="services" class="b2b-section services-section" style="padding-bottom: 5rem;">
<div class="container">
<div class="section-heading text-center mx-auto">
<p class="section-eyebrow"><?php esc_html_e( '我们的服务', 'fragrance-trade' ); ?></p>
<p class="section-eyebrow"><?php esc_html_e( '服务项目', 'fragrance-trade' ); ?></p>
<h2><?php esc_html_e( '为您的爱车提供的贴膜服务', 'fragrance-trade' ); ?></h2>
<p><?php esc_html_e( '从隐形车衣到改色与隔热,专业施工,按需定制。', 'fragrance-trade' ); ?></p>
</div>
<div class="capability-grid mt-5">
<?php
+1 -1
View File
@@ -2,7 +2,7 @@
<section id="services" class="b2b-section services-section">
<div class="container">
<div class="section-heading row align-items-end g-4">
<div class="col-lg-7"><p class="section-eyebrow"><?php esc_html_e( '合作模式', 'fragrance-trade' ); ?></p><h2><?php echo esc_html( fragrance_trade_get_mod( 'b2b_services_title' ) ); ?></h2></div>
<div class="col-lg-7"><p class="section-eyebrow"><?php esc_html_e( '服务项目', 'fragrance-trade' ); ?></p><h2><?php echo esc_html( fragrance_trade_get_mod( 'b2b_services_title' ) ); ?></h2></div>
<div class="col-lg-5"><p><?php echo esc_html( fragrance_trade_get_mod( 'b2b_services_text' ) ); ?></p></div>
</div>
<div class="row g-4 mt-4">
+2 -2
View File
@@ -1,10 +1,10 @@
<?php /** Factory trust strip. @package Fragrance_Trade */ ?>
<?php /** Trust metrics — minimalist. @package Fragrance_Trade */ ?>
<section class="trust-strip" aria-labelledby="trust-strip-title">
<div class="container">
<h2 id="trust-strip-title" class="visually-hidden"><?php echo esc_html( fragrance_trade_get_mod( 'b2b_trust_title' ) ); ?></h2>
<div class="row g-0">
<?php for ( $index = 1; $index <= 4; $index++ ) : ?>
<div class="col-6 col-lg-3 trust-metric">
<div class="col-6 col-md-3 trust-metric">
<strong><?php echo esc_html( fragrance_trade_get_mod( 'b2b_metric_' . $index . '_value' ) ); ?></strong>
<span><?php echo esc_html( fragrance_trade_get_mod( 'b2b_metric_' . $index . '_label' ) ); ?></span>
</div>
+1 -1
View File
@@ -5,5 +5,5 @@ $url = esc_url( fragrance_trade_get_mod( 'b2b_video_url', '' ) );
$lightbox = $url && preg_match( '/(youtube(?:-nocookie)?\.com|youtu\.be|vimeo\.com)/i', $url );
?>
<section class="factory-video-section">
<div class="container"><div class="factory-video-card"><img src="<?php echo esc_url( fragrance_trade_image_uri( 'b2b_video_image', 'placeholder-video.svg' ) ); ?>" alt="<?php esc_attr_e( '汽车贴膜生产流程示意图', 'fragrance-trade' ); ?>" width="1600" height="899" loading="lazy" decoding="async"><div class="factory-video-overlay"><p class="section-eyebrow"><?php esc_html_e( '工厂参观', 'fragrance-trade' ); ?></p><h2><?php echo esc_html( fragrance_trade_get_mod( 'b2b_video_title' ) ); ?></h2><p><?php echo esc_html( fragrance_trade_get_mod( 'b2b_video_text' ) ); ?></p><p class="factory-video-disclosure"><?php esc_html_e( '流程示意图 — 如需查看实拍素材请联系我们。', 'fragrance-trade' ); ?></p><?php if ( $url ) : ?><a class="video-play-link<?php echo $lightbox ? ' youtube' : ''; ?>" href="<?php echo esc_url( $url ); ?>" target="_blank" rel="noopener noreferrer"><svg width="26" height="30" aria-hidden="true"><use href="#play"></use></svg><span><?php esc_html_e( '观看工厂视频', 'fragrance-trade' ); ?></span></a><?php else : ?><a class="btn btn-b2b-light" href="#rfq"><?php esc_html_e( '获取实拍工厂素材', 'fragrance-trade' ); ?></a><?php endif; ?></div></div></div>
<div class="container"><div class="factory-video-card"><img src="<?php echo esc_url( fragrance_trade_image_uri( 'b2b_video_image', 'placeholder-video.svg' ) ); ?>" alt="<?php esc_attr_e( '汽车贴膜施工流程示意图', 'fragrance-trade' ); ?>" width="1600" height="899" loading="lazy" decoding="async"><div class="factory-video-overlay"><p class="section-eyebrow"><?php esc_html_e( '门店参观', 'fragrance-trade' ); ?></p><h2><?php echo esc_html( fragrance_trade_get_mod( 'b2b_video_title' ) ); ?></h2><p><?php echo esc_html( fragrance_trade_get_mod( 'b2b_video_text' ) ); ?></p><p class="factory-video-disclosure"><?php esc_html_e( '流程示意图 — 如需查看实拍素材请联系我们。', 'fragrance-trade' ); ?></p><?php if ( $url ) : ?><a class="video-play-link<?php echo $lightbox ? ' youtube' : ''; ?>" href="<?php echo esc_url( $url ); ?>" target="_blank" rel="noopener noreferrer"><svg width="26" height="30" aria-hidden="true"><use href="#play"></use></svg><span><?php esc_html_e( '观看门店视频', 'fragrance-trade' ); ?></span></a><?php else : ?><a class="btn btn-b2b-light" href="<?php echo esc_url( home_url( '/contact/' ) ); ?>"><?php esc_html_e( '获取实拍门店素材', 'fragrance-trade' ); ?></a><?php endif; ?></div></div></div>
</section>