一开始看了个文章跟着做导航栏
微信小程序自定义tabbar,微信小程序加colorui设置底部tarbar_颖浩的博客-CSDN博客_colorui 固定底部
后来遇到了问题
Couldn't resolve the Component "custom-tab-bar/index" relative to "app.json"
解决方法是在没写
custom-tab-bar
包之前不要写
以及 custom-tab-bar包必须与page包平级,并且内部文件要用index,不然不显示