refactor: 重构底部导航高亮逻辑,新增跨平台兼容与工具脚本

1. 抽离底部导航归属逻辑为纯函数resolveEntryTab,优化分包页面高亮规则,对齐iOS HIG规范
2. 新增页面Tab通配符映射,简化PAGE_TAB_MAP维护
3. 修复鸿蒙平台webview返回按钮适配问题
4. 新增pages.json校验与导航标题自动注入脚本
5. 优化启动页动画性能,提升合成渲染效率
6. 修复diy-picture组件v-for缺少key的警告
7. 清理鸿蒙平台多余的分包构建配置
8. 更新统计数据与store注释说明
This commit is contained in:
2026-07-16 11:47:29 +08:00
parent 165edc38ee
commit 55a9ed5946
15 changed files with 2011 additions and 171 deletions

View File

@@ -191,6 +191,11 @@
rgba($accent, 0) 75%);
box-shadow: 0 0 200rpx rgba($accent, 0.15);
animation: aura-breathe 3.6s ease-in-out infinite;
// 提升为独立合成层:200rpx 的 box-shadow 与 radial-gradient 只光栅化一次,
// 之后 aura-breathe 的 scale/opacity 全由 GPU 合成,不再逐帧重绘。视觉不变。
will-change: transform, opacity;
transform: translateZ(0);
backface-visibility: hidden;
}
.splash-screen__core {
@@ -202,6 +207,8 @@
justify-content: center;
z-index: 2;
animation: core-pulse 2.4s ease-in-out infinite;
will-change: transform;
backface-visibility: hidden;
}
.splash-screen__core-halo {
@@ -213,6 +220,8 @@
rgba($accent, 0.5) 0%,
rgba($accent, 0) 60%);
animation: halo-expand 2.4s ease-in-out infinite;
will-change: transform, opacity;
backface-visibility: hidden;
}
.splash-screen__core-body {
@@ -239,6 +248,10 @@
border-radius: 50%;
pointer-events: none;
transform-origin: center;
// 提升为合成层:内部 particle 的 box-shadow 随图层一起绘制一次,
// orbit-rotate 旋转时 GPU 直接变换整张位图,不重绘阴影。视觉不变。
will-change: transform;
backface-visibility: hidden;
&--1 {
width: 160rpx;