[已删除]
[已删除]
  • 发布:2019-10-23 16:42
  • 更新:2020-07-20 18:38
  • 阅读:11589

uniapp的tabBar底部导航怎么修改高度呢?

分类:uni-app

uniapp的tabBar底部导航怎么修改高度呢?

2019-10-23 16:42 负责人:无 分享
已邀请:
千幻空

千幻空

tabBar有个属性height,直接设高度值就可以了,默认是50px

  • zsb

    不生效啊},

    "tabBar": {

    "height":"300px",

    "color": "#00A8FF",

    "backgroundColor": "#FFFFFF",

    "selectedColor": "#1B7BCC",

    "borderStyle": "white",

    "list": [{

    "text": "家庭",

    "pagePath": "pages/family/index/index",

    "iconPath": "static/taBbar/tab3.png",

    "selectedIconPath": "static/taBbar/tab6.png"

    },

    {

    "text": "智能",

    "pagePath": "pages/smart/index/index",

    "iconPath": "static/taBbar/tab2.png",

    "selectedIconPath": "static/taBbar/tab5.png"

    },

    2020-06-17 11:21

  • 养猫人Fairy

    +1 我也是遇到这个问题了,height修改不生效

    2020-09-03 16:12

  • l***@163.com

    文档很清楚噢。 H5 跟 app 才支持。https://uniapp.dcloud.net.cn/collocation/pages.html#tabbar

    2023-05-06 11:22

该问题目前已经被锁定, 无法添加新回复