"tabBar": {
"color": "#cdcdcd",
"selectedColor": "#39cffc",
"borderStyle": "black",
"backgroundColor": "#ffffff",
"list": [{
"pagePath": "pages/firstPage/firstPage",
"iconPath": "static/icon/index.png",
"selectedIconPath": "static/icon/index.png",
"text": "总账"
}, {
"pagePath": "pages/sum/sum",
"iconPath": "static/icon/2.png",
"selectedIconPath": "static/icon/2.png",
"text": "统计"
},
{
"pagePath": "pages/account/account",
"iconPath": "static/icon/3.png",
"selectedIconPath": "static/icon/3.png",
"text": "账户"
}, {
"pagePath": "pages/firstPage/firstPage",
"iconPath": "static/icon/4.png",
"selectedIconPath": "static/icon/4.png",
"text": "修改信息"
}
]
}
代码很简单,就是这样一个tabbar,在模拟器中显示正常,但是真机显示错误,手机是安卓,小米mix2s
上图为真机
上图为模拟器