小程序
小游戏
企业微信
微信支付
扫描小程序码分享
新建项目,新建两个页面,测试tabBar,快速切换,出现此问题
3 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
未复现,给下你的代码片段吧
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
谢邀:
真机上有这问题吗?
这个应该是开发者工具的事吧。
不过真实场景下,应该很少有人这么干吧
"tabBar": {
"color": "#242424",
"selectedColor": "#242424",
"borderStyle": "black",
"list": [
{
"selectedIconPath": "image/tag1s.png",
"iconPath": "image/tag1.png",
"pagePath": "pages/index/index",
"text": "首页"
},
"selectedIconPath": "image/tag2s.png",
"iconPath": "image/tag2.png",
"pagePath": "pages/car/car",
"text": "购物车"
"selectedIconPath": "image/tag3s.png",
"iconPath": "image/tag3.png",
"pagePath": "pages/my/my",
"text": "我的"
}
]
tabbar的配置是这样子的
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
未复现,给下你的代码片段吧
谢邀:
真机上有这问题吗?
这个应该是开发者工具的事吧。
不过真实场景下,应该很少有人这么干吧
"tabBar": {
"color": "#242424",
"selectedColor": "#242424",
"borderStyle": "black",
"list": [
{
"selectedIconPath": "image/tag1s.png",
"iconPath": "image/tag1.png",
"pagePath": "pages/index/index",
"text": "首页"
},
{
"selectedIconPath": "image/tag2s.png",
"iconPath": "image/tag2.png",
"pagePath": "pages/car/car",
"text": "购物车"
},
{
"selectedIconPath": "image/tag3s.png",
"iconPath": "image/tag3.png",
"pagePath": "pages/my/my",
"text": "我的"
}
]
},
tabbar的配置是这样子的