hookehuyr

feat: 更新底部导航栏,将"乐在重阳"改为"便民地图"

更新导航项标签和默认选中页面,以反映功能变更
<!--
* @Date: 2025-08-27 17:44:10
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-09-22 15:12:13
* @LastEditTime: 2026-02-10 10:18:46
* @FilePath: /map-demo/src/components/BottomNav.vue
* @Description: 文件描述
-->
......@@ -42,7 +42,7 @@ const isMiniProgramWebView = computed(() => {
const navItems = shallowRef([
{ path: '/pages/Dashboard/index', icon: homeIcon, activeIcon: homeIconActive, label: '首页' },
{ path: '/pages/ActivitiesCover/index', icon: activitiesIcon, activeIcon: activitiesIconActive, label: '乐在重阳' },
{ path: '/pages/CheckinMap/index', icon: activitiesIcon, activeIcon: activitiesIconActive, label: '便民地图' },
// { path: '/pages/RewardCategories/index', icon: rewardsIcon, activeIcon: rewardsIconActive, label: '兑换' },
// TAG: 暂时写死以后可能会改变
{ path: '/pages/Rewards/index?id=health&category=health', icon: rewardsIcon, activeIcon: rewardsIconActive, label: '兑换' },
......@@ -53,7 +53,7 @@ const currentPage = computed(() => {
// const pages = Taro.getCurrentPages();
// return pages.length > 0 ? '/' + pages[pages.length - 1].route : '';
// 默认选中活动页面
return '/pages/ActivitiesCover/index';
return '/pages/CheckinMap/index';
});
const isActive = (path) => {
......