You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
759 B

  1. --- 大厅底部工具栏配置文件
  2. --- 使用说明:
  3. --- 配置文件必须返回的配置中,必须包含menuItems的字段
  4. --- menuItems格式:{
  5. --- "menu1",
  6. --- "menu2",
  7. --- {"menu3", "menu4"}
  8. --- }
  9. --- menuItems中,若值为字符串,则为单个菜单;若值为表,则为更多下面的菜单
  10. --- 配置的值可查看DefaultBottomBarConfig.lua中的默认定义
  11. ---
  12. --- 注意:暂时未支持两个或两个以上【更多】菜单
  13. local config = {};
  14. local menuItems = {
  15. "kefu",
  16. "activity",
  17. "zhanji",
  18. "share",
  19. {"identity","jubao", "email", "wanfa"},
  20. };
  21. if isReviewVersion() then
  22. menuItems =
  23. {
  24. "wanfa",
  25. "zhanji",
  26. "identity",
  27. "jubao",
  28. };
  29. end
  30. config.menuItems = menuItems;
  31. return config;