收藏
回答

程序预览时报错提示找不到images路径下的图片

问题模块 框架类型 问题类型 操作系统 工具版本
开发者工具 小程序 Bug Windows V1.02.1907022

这是tabBar部分代码:

"tabBar": {

"color": "#000000",

"selectedColor": "#E54847",

"list": [

{

"pagePath": "pages/movie/movie",

"text": "首页",

"iconPath": "/images/index.png",

"selectedIconPath": "images/index.png"

},

{

"pagePath": "pages/datalog/datalog",

"text": "往来",

"iconPath": "/images/profile3.png",

"selectedIconPath": "images/profile3.png"

},

{

"pagePath": "pages/profile/profile",

"text": "我的",

"iconPath": "/images/profile1.png",

"selectedIconPath": "images/profile1.png"

}

]

},

报错截图:


谢谢各位大佬!!!

回答关注问题邀请回答
收藏

5 个回答

登录 后发表内容