4***@qq.com
4***@qq.com
  • 发布:2020-01-20 12:47
  • 更新:2020-01-20 12:47
  • 阅读:1213

tabbar在微信小程序模拟器中显示正常,但是真机调试显示错误

分类:uni-app
"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


上图为真机

上图为模拟器

2020-01-20 12:47 负责人:无 分享
已邀请:

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