Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
map-demo
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
2026-02-10 10:19:04 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5f6d66f0127a94b9d9a552b0c6a459ff81079dd8
5f6d66f0
1 parent
0eb7c183
feat: 更新底部导航栏,将"乐在重阳"改为"便民地图"
更新导航项标签和默认选中页面,以反映功能变更
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
src/components/BottomNav.vue
src/components/BottomNav.vue
View file @
5f6d66f
<!--
* @Date: 2025-08-27 17:44:10
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 202
5-09-22 15:12:13
* @LastEditTime: 202
6-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) => {
...
...
Please
register
or
login
to post a comment