feat 配置tabBar

This commit is contained in:
Ironsp
2026-08-31 10:54:56 +08:00
parent 77753f513e
commit 20783bbfc1
10 changed files with 62 additions and 14 deletions

View File

@@ -19,22 +19,22 @@ export default defineUniPages({
selectedColor: '@tabSelectedColor',
list: [
{
pagePath: 'pages/index',
pagePath: 'pages/home/index',
text: '首页',
iconPath: 'static/vite.png',
selectedIconPath: 'static/vite.png',
iconPath: 'static/home.png',
selectedIconPath: 'static/home1.png',
},
{
pagePath: 'pages/hi',
text: '我的',
iconPath: 'static/vite.png',
selectedIconPath: 'static/vite.png',
pagePath: 'pages/work/index',
text: '工作',
iconPath: 'static/work.png',
selectedIconPath: 'static/work1.png',
},
{
pagePath: 'pages/hi',
text: 'about',
iconPath: 'static/vite.png',
selectedIconPath: 'static/vite.png',
pagePath: 'pages/report/index',
text: '报告',
iconPath: 'static/report.png',
selectedIconPath: 'static/report1.png',
},
],
},