hookehuyr

fix: 暂时硬编码奖励页面跳转链接

修改多个组件中的奖励页面跳转链接为硬编码值,并添加注释说明这是临时方案
......@@ -37,6 +37,7 @@ const navItems = shallowRef([
{ path: '/pages/Dashboard/index', icon: homeIcon, activeIcon: homeIconActive, label: '首页' },
{ path: '/pages/ActivitiesCover/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: '兑换' },
{ path: '/pages/Profile/index', icon: meIcon, activeIcon: meIconActive, label: '我的' },
]);
......
......@@ -427,6 +427,7 @@ const handleGoToRewards = () => {
}
Taro.navigateTo({
// url: '/pages/RewardCategories/index',
// TAG: 暂时写死以后可能会改变
url: '/pages/Rewards/index?id=health&category=health',
})
}
......
......@@ -114,6 +114,7 @@ const handleGoToRewards = () => {
}
Taro.navigateTo({
// url: '/pages/RewardCategories/index',
// TAG: 暂时写死以后可能会改变
url: '/pages/Rewards/index?id=health&category=health',
})
}
......