tabBar页面设置
// 在pages.json中添加
"tabBar":{
"borderStyle": "white", // 默认背景
"selectedColor": "#000000", // 选中2颜色
"color": "#cccccc", // 默认颜色
"list": [
{ // 页面需要再pages添加后再添加
"pagePath": "pages/tabBar/home1/home1", // 页面路径
"iconPath": "/static/tabBar/home.png", // 默认图标
"selectedIconPath": "/static/tabBar/activeHome.png", // 激活时图标
"text": "首页1" // 按钮文字
}
]
},