feat(bottomnav): 根据 URL 参数 activityId 动态切换导航项
- 导入 useRoute 获取 URL 查询参数 - 将 navItems 从 shallowRef 改为 computed 实现动态更新 - 有 activityId 参数时显示"便民地图" - 无 activityId 参数时显示"乐在重阳" - 兼容不同活动场景的导航需求 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Showing
1 changed file
with
32 additions
and
11 deletions
-
Please register or login to post a comment