tabBar list 问题

小程序 文章 2022-02-16 14:40 445 0 全屏看文

AI助手支持GPT4.0

tabBar list 问题tabBar list problem

tabBar list 问题
框架类型 问题类型 终端类型 微信版本 基础库版本
小程序 Bug 微信iOS客户端 8.0.18 2.22.0

tab 的列表,详见 list 属性说明,最少 2 个、最多 5 个 tab

我们有如下需求,使用自定义tabBar,根据用户角色显示不同的菜单。菜单总数是6个,但是tabBar list最多只能配置5个,请问有什么解决方案吗?

问题是没加到tabBar list 中的那个菜单不能使用switchTab 跳转,影响用户体验

Framework type problem type terminal type wechat version basic library version applet bug wechat IOS client 8.0.18 2.22.0 tab list. See the list attribute description for details. There are at least 2 and at most 5 tabs. We have the following requirements. Use the custom tabbar to display different menus according to the user role. The total number of menus is 6, but the tabbar list can only be configured with 5 at most. Is there any solution? The problem is that the menu not added to the tabbar list cannot use switchtab to jump, which affects the user experience

回答:

社区技术运营专员-horanzhou:

自定义tabBar

光:

自定义tabBar

微喵网络:

没办法

-EOF-

AI助手支持GPT4.0