413802375@qq.com
413802375@qq.com
  • 发布:2019-10-23 16:42
  • 更新:2020-07-20 18:38
  • 阅读:1682

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

要回复问题请先登录注册