tabbar的iconpath只显示一个
发布于 4 年前 作者 gang15 8320 次浏览 来自 问答

无法显示其他的iconpath

8 回复

{

“pages”:[

“pages/index/index”,

“pages/logs/logs”,

“pages/home/home”

],

“window”:{

“backgroundTextStyle”:“light”,

“navigationBarBackgroundColor”: “#jjj”,

“navigationBarTitleText”: “茶语”,

“navigationBarTextStyle”:“black”

},

“tabBar”: {

“color”:“red”,

“selectedColor”: “#f10b2e”,

“list”: [

{

“pagePath”: “pages/index/index”,

“iconPath”: “imges/icon2.png”,

“selectedIconPath”: “imges/icon2s.png”,

“text”: “首页”

},

{

“pagePath”: “pages/logs/logs”,

“iconpath”: “imges/icon1.png”,

“selectedIconPath”: “imges/icon1s.png”,

“text”: “清单”

},

{

“pagePath”: “pages/home/home”,

“iconpath”: “imges/icon3.png”,

“selectedIconPath”: “imges/icon3s.png”,

“text”: “联系”

}

]

},

“networkTimeout”: {

“request”: 10000,

“downloadFile”: 10000

},

“debug”: true

}

没有打错,我的是打少一个imges

这是我的目录

__
__

您的文件夹名称确实叫做 imges 而不是 images 吗?这些文件是否存在呢

这个是我选中的图标iconpath,有颜色就是我选中的。

请您确保您的图片地址无误?

请问可以加你吗?我是小白

应该没有问题的

回到顶部