小程序
小游戏
企业微信
微信支付
扫描小程序码分享
大家好,请教一个问题。
现在我的tabBar有三个。
然后来回点击这几个tabBar切换页面后,
tabBar就消失了。
而且在手机上预览时,老是icon图标不显示。
显示不全,要么就是图标不显示,要么text不显示。
2 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
是工具稳定版1.02.1904090出现的问题?如果是的话,下载预发布版或者开发版的工具,已在这两个版本解决此问题https://developers.weixin.qq.com/miniprogram/dev/devtools/nightly.html
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
提供一个代码片段,怎么实现的?
"tabBar":{
"backgroundColor":"#f4f4f4",
"color":"#a9b7b7",
"selectedColor":"#11cd6e",
"borderStyle":"white",
"list":[{
"selectedIconPath":"images/index1.png",
"iconPath":"images/index.png",
"pagePath":"pages/index/index",
"text":"首页"
},{
"selectedIconPath":"images/activity1.png",
"inconPath":"images/activity.png",
"pagePath":"pages/activity/index",
"text":"活动"
"selectedIconPath":"images/about1.png",
"inconPath":"images/about.png",
"pagePath":"pages/about/index",
"text":"关于"
}
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
是工具稳定版1.02.1904090出现的问题?如果是的话,下载预发布版或者开发版的工具,已在这两个版本解决此问题https://developers.weixin.qq.com/miniprogram/dev/devtools/nightly.html
提供一个代码片段,怎么实现的?
"tabBar":{
"backgroundColor":"#f4f4f4",
"color":"#a9b7b7",
"selectedColor":"#11cd6e",
"borderStyle":"white",
"list":[{
"selectedIconPath":"images/index1.png",
"iconPath":"images/index.png",
"pagePath":"pages/index/index",
"text":"首页"
},{
"selectedIconPath":"images/activity1.png",
"inconPath":"images/activity.png",
"pagePath":"pages/activity/index",
"text":"活动"
},{
"selectedIconPath":"images/about1.png",
"inconPath":"images/about.png",
"pagePath":"pages/about/index",
"text":"关于"
}