使用安卓自定义基座,tabBar图标不显示。文字还正常显示,请问怎么解决啊?
使用标准基座就没问题,ios的自定义基座也没问题。
只有安卓的自定义基座不显示。
"tabBar": {
"color": "#8a8a8a",
"selectedColor": "#288EFF",
"borderStyle": "black",
"backgroundColor": "#ffffff",
"list": [{
"pagePath": "pages/index/index",
"text": "首页",
"iconPath": "static/tabarImg/tabbar_1_normal.png",
"selectedIconPath": "static/tabarImg/tabbar_1_selected.png"
},
{
"pagePath": "pages/defenseCircle/defenseCircle",
"text": "联防圈",
"iconPath": "static/tabarImg/tabbar_2_normal.png",
"selectedIconPath": "static/tabarImg/tabbar_2_selected.png"
},
{
"pagePath": "pages/applicationCenter/applicationCenter",
"text": "应用中心",
"iconPath": "static/tabarImg/tabbar_3_normal.png",
"selectedIconPath": "static/tabarImg/tabbar_3_selected.png"
},
{
"pagePath": "pages/myInfo/myInfo",
"text": "我",
"iconPath": "static/tabarImg/tabbar_4_normal.png",
"selectedIconPath": "static/tabarImg/tabbar_4_selected.png"
}
]
},