这是配置:"tabBar": { "borderStyle": "white", "color": "#adadad", "selectedColor": "#000000", "list": [ { "pagePath": "pages/index/dynamic/dynamic", "iconPath": "/img/icon/index.png", "selectedIconPath": "/img/icon/sindex.png" }, { "pagePath": "pages/star/star/star", "iconPath": "/img/icon/star.png", "selectedIconPath": "/img/icon/sstar.png" }, { "pagePath": "pages/work/work/work", "iconPath": "/img/icon/work.png", "selectedIconPath": "/img/icon/swork.png" }, { "pagePath": "pages/msg/msg/msg", "iconPath": "/img/icon/msg.png", "selectedIconPath": "/img/icon/smsg.png" }, { "pagePath": "pages/me/me/me", "iconPath": "/img/icon/me.png", "selectedIconPath": "/img/icon/sme.png" } ] }
【已解决】小程序PC端,tabBar图标不显示线上或开发版本,只要是在手机上是可以正常显示的,唯独在PC端不行,就显示一团红色[图片] AppId:wx125fe174aecf1386 【解决方案】:修改图片大小为81×81px
2021-07-05