为什么会报错啊?

来源:2-4 配置文件JSON

寒山本山

2020-05-28 05:12

{

"pages": [

"pages/base/base",

"pages/cloud/cloud"

],

"window": {

"backgroundColor": "#F6F6F6",

"backgroundTextStyle": "light",

"navigationBarBackgroundColor": "#F00",

"navigationBarTitleText": "我的小程序",

"navigationBarTextStyle": "white"

},

"tabBar": {

"list": [{

"pagePath": "pages/base/base",

"text": "基础",

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

"selectedIconPath": "images/film-activated.png"

},{

"pagePath": "pages/cloud/cloud",

"text": "云",

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

"selectedIconPath": "images/profile-activated.png"

}]

}

}

http://img2.mukewang.com/5eced7aa0001d3c614680126.jpg

写回答 关注

2回答

  • 寒山本山
    2020-05-30 09:41:44

    代码错误

  • 谢成
    2020-05-28 17:35:51

    请仔细检查下图片路径是否正确:

    http://img3.mukewang.com/5ecf85ec0001dad208350733.jpg

轻松入门微信小程序与云开发

深入浅出微信小程序核心基础与云开发,使你掌握小程序开发必备技能。

64581 学习 · 1742 问题

查看课程

相似问题