Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
lls_program
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2025-09-15 11:38:03 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
424b754da3148c2cf519aaeca57d4f12360a73d2
424b754d
1 parent
2e7a639f
fix: 暂时硬编码奖励页面跳转链接
修改多个组件中的奖励页面跳转链接为硬编码值,并添加注释说明这是临时方案
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
0 deletions
src/components/BottomNav.vue
src/components/PointsCollector.vue
src/components/TotalPointsDisplay.vue
src/components/BottomNav.vue
View file @
424b754
...
...
@@ -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: '我的' },
]);
...
...
src/components/PointsCollector.vue
View file @
424b754
...
...
@@ -427,6 +427,7 @@ const handleGoToRewards = () => {
}
Taro.navigateTo({
// url: '/pages/RewardCategories/index',
// TAG: 暂时写死以后可能会改变
url: '/pages/Rewards/index?id=health&category=health',
})
}
...
...
src/components/TotalPointsDisplay.vue
View file @
424b754
...
...
@@ -114,6 +114,7 @@ const handleGoToRewards = () => {
}
Taro.navigateTo({
// url: '/pages/RewardCategories/index',
// TAG: 暂时写死以后可能会改变
url: '/pages/Rewards/index?id=health&category=health',
})
}
...
...
Please
register
or
login
to post a comment