diff --git a/pages.json b/pages.json index dab0a970fb681982065ae05f1757a66dfcbfbb44..a5993bb292d73be5a0bdfb3cd3b26c08f0730e4c 100644 --- a/pages.json +++ b/pages.json @@ -933,12 +933,6 @@ "style": { "navigationBarTitleText": "自定义TabBar" } - }, - { - "path": "pages/template/custom-tab-bar2/custom-tab-bar2", - "style": { - "navigationBarTitleText": "自定义TabBar2" - } } ], "globalStyle": { diff --git a/pages/tabBar/template.uvue b/pages/tabBar/template.uvue index 6f27a4a1600ac59c4e0798ee7f968513cb9d4b88..ddd37f78c4ace3d862799dc628c330076482c2de 100644 --- a/pages/tabBar/template.uvue +++ b/pages/tabBar/template.uvue @@ -172,16 +172,8 @@ export default { url: 'custom-tab-bar', name: '自定义TabBar', open: false, - pages: [ - { - name: '滚动切换图标', - url:'custom-tab-bar' - }, - { - name: '凹口', - url:'custom-tab-bar2' - }, - ] as Page[], + enable: true, + pages: [] as Page[], }, { id: 'calendar', diff --git a/pages/template/custom-tab-bar/custom-tab-bar.uvue b/pages/template/custom-tab-bar/custom-tab-bar.uvue index 3c1b7b6ed1faef132e146e462b01eaf28292e745..86539345a5ba0104ada28e80a876447f6e343997 100644 --- a/pages/template/custom-tab-bar/custom-tab-bar.uvue +++ b/pages/template/custom-tab-bar/custom-tab-bar.uvue @@ -1,15 +1,26 @@