navigation-bar
navigation-bar copied to clipboard
微信小程序自定义导航栏组件,navigation,完美适配全部手机
只设置返回按钮时 title的文字没有居中
该项目star更多,但是文档缺失,npm下载量更少。 另一个项目star较少,但文档全,npm下载量多: https://github.com/lingxiaoyi/miniprograms-navigation-bar#readme
微信官方自定义tabbar例子中, .tab-bar { position: fixed; bottom: 0; left: 0; right: 0; height: 48px; background: #fff; display: flex; padding-bottom: env(safe-area-inset-bottom); //失效 } 当前页面的导航使用NavigationBa组件r时,该页面的底部tabBar的padding会无效 我尝试去掉NavigationBar的Component引用即恢复正常,有人遇到吗?

1. 在ios7.0.3版本,iPhone 6s机型下,getMenuButtonBoundingClientRect有时候会报错,有时候取到的值都为0,所以在你的try catch中加了一条: `try { rect = wx.getMenuButtonBoundingClientRect ? wx.getMenuButtonBoundingClientRect() : null; if (rect === null) { throw 'getMenuButtonBoundingClientRect error'; } //取值为0的情况 if (!rect.width){ throw 'getMenuButtonBoundingClientRect error'; } }`...
在iPhone 6s部分机型下,偶现导航栏渲染不出来或者高度为0的情况,导致下边布局顶上去了。 
Component is not found in path "components/navBar" (using by "pages/index");onAppRoute Error: Component is not found in path "components/navBar" (using by "pages/index") 还有 Components/navBar 目录下面的那个 app.js 怎么处理
返回首页的问题
如果首页是tarbar,则需要使用switchTab。
目前有个业务场景,点击别人分享的小程序进来的情况需要隐藏返回按钮,毕竟点击返回也无法返回上一页。。。 类似这种 