taro3.0中如何使用custom-tab-bar??
-
使用getCurrentInstance().page.getTabBar().setData()无法设置点击选择高亮的导航图标
-
@copyright__myh 同求,老哥有解决方案了吗
-
@copyright__myh 看官方文档,配置tabbar,然后在https://developers.weixin.qq.com/miniprogram/dev/framework/ability/custom-tabbar.html 页面底部示例代码部分,预览之后可获得一份custom-tab-bar代码,拷贝你的项目,然后在config/index.js里设置copy custom-tab-bar文件夹到dist根目录就好了
-
@qiyan147 我这边 react+dva+taro-ui 的 AtTabBar ,把 AtTabBar 的 current 值存在 model 里,就可以了。
-
解决了?
-
@wdXQgZmKDZEjvi 页面是跳转过去 和原生效果不一致