{
"pages": [ //这个代表的是页面, 第一行内容为小程序的首页
"pages/list/list",//可以通过这里新建界面(在微信开发者工具中有效)
"pages/index/index",
"pages/personal/personal",
"pages/logs/logs"
],
"window": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "Weixin",
"navigationBarTextStyle": "black"
},
"usingComponents": {//这个为引入自定义组件
"van-field": "@vant/weapp/field/index",
"van-cell-group": "@vant/weapp/cell-group/index",
"van-cell": "@vant/weapp/cell/index",
"van-button": "@vant/weapp/button/index"
},
"tabBar": {
"backgroundColor": "#ffffff",
"color": "#999999",
"selectedColor": "#51c4f6",
"list": [ //这个代表小程序底部的选项卡
{
"pagePath": "pages/list/list",//选项卡路径
"text": "列表", //选项卡名称
"iconPath": "/images/0dcc143933.png",//选项卡未选中时展示的图片
"selectedIconPath": "/images/-02.png"//选项卡选中时展示的图片
},
{
"pagePath": "pages/personal/personal",
"text": "我的",
"iconPath": "/images/addressbook-2.png",
"selectedIconPath": "/images/addressbook.png"
}
]
},
"style": "v2",
"sitemapLocation": "sitemap.json",
"lazyCodeLoading": "requiredComponents"
}