hookehuyr

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

修改多个组件中的奖励页面跳转链接为硬编码值,并添加注释说明这是临时方案
...@@ -37,6 +37,7 @@ const navItems = shallowRef([ ...@@ -37,6 +37,7 @@ const navItems = shallowRef([
37 { path: '/pages/Dashboard/index', icon: homeIcon, activeIcon: homeIconActive, label: '首页' }, 37 { path: '/pages/Dashboard/index', icon: homeIcon, activeIcon: homeIconActive, label: '首页' },
38 { path: '/pages/ActivitiesCover/index', icon: activitiesIcon, activeIcon: activitiesIconActive, label: '活动' }, 38 { path: '/pages/ActivitiesCover/index', icon: activitiesIcon, activeIcon: activitiesIconActive, label: '活动' },
39 // { path: '/pages/RewardCategories/index', icon: rewardsIcon, activeIcon: rewardsIconActive, label: '兑换' }, 39 // { path: '/pages/RewardCategories/index', icon: rewardsIcon, activeIcon: rewardsIconActive, label: '兑换' },
40 + // TAG: 暂时写死以后可能会改变
40 { path: '/pages/Rewards/index?id=health&category=health', icon: rewardsIcon, activeIcon: rewardsIconActive, label: '兑换' }, 41 { path: '/pages/Rewards/index?id=health&category=health', icon: rewardsIcon, activeIcon: rewardsIconActive, label: '兑换' },
41 { path: '/pages/Profile/index', icon: meIcon, activeIcon: meIconActive, label: '我的' }, 42 { path: '/pages/Profile/index', icon: meIcon, activeIcon: meIconActive, label: '我的' },
42 ]); 43 ]);
......
...@@ -427,6 +427,7 @@ const handleGoToRewards = () => { ...@@ -427,6 +427,7 @@ const handleGoToRewards = () => {
427 } 427 }
428 Taro.navigateTo({ 428 Taro.navigateTo({
429 // url: '/pages/RewardCategories/index', 429 // url: '/pages/RewardCategories/index',
430 + // TAG: 暂时写死以后可能会改变
430 url: '/pages/Rewards/index?id=health&category=health', 431 url: '/pages/Rewards/index?id=health&category=health',
431 }) 432 })
432 } 433 }
......
...@@ -114,6 +114,7 @@ const handleGoToRewards = () => { ...@@ -114,6 +114,7 @@ const handleGoToRewards = () => {
114 } 114 }
115 Taro.navigateTo({ 115 Taro.navigateTo({
116 // url: '/pages/RewardCategories/index', 116 // url: '/pages/RewardCategories/index',
117 + // TAG: 暂时写死以后可能会改变
117 url: '/pages/Rewards/index?id=health&category=health', 118 url: '/pages/Rewards/index?id=health&category=health',
118 }) 119 })
119 } 120 }
......