|
|
@@ -12,5 +12,26 @@ export default defineAppConfig({
|
|
|
navigationBarTitleText: '小程序Starter',
|
|
|
navigationBarTextStyle: 'white',
|
|
|
navigationStyle: 'custom'
|
|
|
+ },
|
|
|
+ tabBar: {
|
|
|
+ custom: true,
|
|
|
+ color: '#7f7f7f',
|
|
|
+ selectedColor: '#1890ff',
|
|
|
+ backgroundColor: '#ffffff',
|
|
|
+ borderStyle: 'white',
|
|
|
+ list: [
|
|
|
+ {
|
|
|
+ pagePath: 'pages/index/index',
|
|
|
+ text: '首页'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ pagePath: 'pages/explore/index',
|
|
|
+ text: '发现'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ pagePath: 'pages/profile/index',
|
|
|
+ text: '我的'
|
|
|
+ }
|
|
|
+ ]
|
|
|
}
|
|
|
})
|