feat 配置tabBar
This commit is contained in:
@@ -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',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user