问题遇到的现象和发生背景
求帮助解答疑问!
我的情况是这样的(见下图):
图中展示的是微信开发者工具中app.json中 的截图,为了防止是我自己手写出了bug,我把一起学的同学的程序给放了上去(一摸一样,我是真看不出有bug),图中可见并没有报出红色的错误,黄色的应该也是问题,但是实在是不理解它指的问题根源,下面我把app.json的程序放出来,求看看到底是软件安装时出现的错误,还是我的有bug。
程序:__
{
"pages": [
"pages/index/index",
"pages/type/type",
"pages/payCar/payCar",
"pages/user/user",
"components/searchInput/searchInput",
"pages/search/search"
],
"window": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#9932CC ",
"navigationBarTitleText": "图书馆",
"navigationBarTextStyle": "black",
"navigationStyle": "default"
},
"tabBar": {
"list": [
{
"pagePath": "pages/index/index",
"text": "首页",
"iconPath": "icon/index.png",
"selectedIconPath": "icon/index1.png"
},
{
"pagePath": "pages/type/type",
"text": "分类",
"iconPath": "icon/type.png",
"selectedIconPath": "icon/type1.png"
},
{
"pagePath": "pages/payCar/payCar",
"text": "购物车",
"iconPath": "icon/payCar.png",
"selectedIconPath": "icon/payCar1.png"
},
{
"pagePath": "pages/user/user",
"text": "我的",
"iconPath": "icon/user.png",
"selectedIconPath": "icon/user1.png"
}
]
},
"style": "v2",
"sitemapLocation": "sitemap.json"
}
对了,图片我是放在page文件夹下的icon文件里面的,截图如下:
(众所周知,导航栏的显示基本就是由app.json决定的,我已经查了10多遍了,基本是力竭了,所以真的是都快烦秃了,帮个忙吧)