app.json 配置 tabBar 报错
发布于 5 年前 作者 byang 16483 次浏览 来自 问答
  • 当前 Bug 的表现(可附上截图)

代码片段

“tabBar”:{

“list”: [

{

“selectedIconPath”: “img/user/unhome.png”,

“iconPath”: “img/user/home.png”,

“pagePath”: “pages/user/userCenter”,

“text”: “上门服务”

},

{

“selectedIconPath”: “img/user/unshared.png”,

“iconPath”: “img/user/shared.png”,

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

“text”: “共享人力”

},

{

“selectedIconPath”: “img/user/unservice.png”,

“iconPath”: “img/user/service.png”,

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

“text”: “综合服务”

}

]

}

3 回复

截图看下你的app.json文件

官方例子拷过去一点一点加你的东西,看哪里报错哦

回到顶部