diff --git a/pages.config.ts b/pages.config.ts index b8cb24c..6baebc2 100644 --- a/pages.config.ts +++ b/pages.config.ts @@ -18,28 +18,4 @@ export default defineUniPages({ }, }, // 如果不需要tabBar,可以注释掉这个配置,或者直接删除 - tabBar: { - color: '#999999', - selectedColor: '#018d71', - backgroundColor: '#F8F8F8', - borderStyle: 'black', - height: '50px', - fontSize: '10px', - iconWidth: '24px', - spacing: '3px', - list: [ - { - iconPath: 'static/tabbar/home.png', - selectedIconPath: 'static/tabbar/homeHL.png', - pagePath: 'pages/index/index', - text: '首页', - }, - { - iconPath: 'static/tabbar/example.png', - selectedIconPath: 'static/tabbar/exampleHL.png', - pagePath: 'pages/about/about', - text: '关于', - }, - ], - }, }) diff --git a/src/layouts/default.vue b/src/layouts/default.vue index caebf6f..768d875 100644 --- a/src/layouts/default.vue +++ b/src/layouts/default.vue @@ -7,15 +7,8 @@