收藏
回答

tabBar在ios中的显示问题(含截图)

问题模块 框架类型 问题类型 操作系统 工具版本
开发者工具 小程序 Bug macOS v1.02.1901230


在tabBar中,当有4个图标时,在android中正常,但在ios中出现换行,背景变成黑色


"tabBar":{

"color":"#000",

"selectedColor":"#38c258",

"backgroundColor":"",

"borderStyle":"black",

"list":[

{

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

"text":"购票",

"iconPath":"pages/img/gp.png",

"selectedIconPath":"pages/img/gp1.png"

},

{

"pagePath": "pages/common/index",

"text": "乘车",

"iconPath": "pages/img/bs.png",

"selectedIconPath": "pages/img/bs1.png"

},

{

"pagePath": "pages/mine/index",

"text": "我的",

"iconPath": "pages/img/me.png",

"selectedIconPath": "pages/img/me1.png"

},

{

"pagePath": "pages/message/index",

"text": "消息",

"iconPath": "pages/img/message.png",

"selectedIconPath": "pages/img/message1.png"

}

]

}


最后一次编辑于  02-18  (未经腾讯允许,不得转载)
邀请回答
复制链接收藏投诉关注问题回答

1 个回答

  • 清风胤
    清风胤
    02-18

    backgroundColor  设置个值看看

    02-18
    赞同 1
    回复