问答详情
源自:2-4 配置文件JSON

为什么会报错啊?

{

"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

提问者:寒山本山 2020-05-28 05:12

个回答

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

    代码错误

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

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

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