refactor: 死代码清理 + CDN SRI 加固 + 面包屑组件 + 代码规范文档

- 删除 7 个死模板文件 (products/services/quality/process/projects/customization/rfq)
- 删除 13 个旧图片素材 (jpg/png/webp)
- 新增 CDN SRI 完整性校验 (Bootstrap CSS/JS)
- 新增面包屑导航模板组件
- 新增代码清理方案与代码审查标准文档
- 更新 README.md
This commit is contained in:
2026-07-24 17:48:00 +08:00
parent 8a2890f8b4
commit 43272d25eb
39 changed files with 848 additions and 332 deletions
+14
View File
@@ -19,6 +19,19 @@ $map_nav_url = 'https://api.map.baidu.com/geocoder?address='
. '&output=html&src=webapp';
?>
<main id="primary" class="site-main">
<div class="page-content container">
<?php
get_template_part(
'template-parts/breadcrumb',
null,
array(
'items' => array(
array( 'label' => __( '首页', 'fragrance-trade' ), 'url' => home_url( '/' ) ),
array( 'label' => __( '预约联系', 'fragrance-trade' ), 'url' => null ),
),
)
);
?>
<section class="b2b-section contact-section">
<div class="container">
<div class="section-heading text-center mx-auto mb-5">
@@ -96,5 +109,6 @@ $map_nav_url = 'https://api.map.baidu.com/geocoder?address='
</div>
</div>
</section>
</div>
</main>
<?php get_footer(); ?>