{
"pages":[
"pages/home/home",
"pages/user/user",
"pages/logs/logs"
],
"window":{
"backgroundTextStyle":"light",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "Weixin",
"navigationBarTextStyle":"black"
},
"tabBar": {
"list": [{
"pagePath": "pages/home/home",
"text": "首页",
"iconPath": "/common/1.wxss/画画.png",
"selectedIconPath": "/common/1.wxss/看看书写写字.png"
},{
"pagePath": "pages/user/user",
"text": "用户",
"iconPath": "/common/1.wxss/画画.png",
"selectedIconPath": "/common/1.wxss/看看书写写字.png"
}]
},
"style": "v2",
"sitemapLocation": "sitemap.json"
}
上面是appjson
下面是页面json
{
"window": {
"navigationBarTitleText": "lrp"
},
"usingComponents": {}}
标题还是weixin,而不是页面配置中的lrp
页面json有window?你的iconPath和selectedIconPath路径不会报错?
{ "navigationBarTitleText": "lrp" }