设置tabbar实现多页面
1.app.json里添加tabBar组件
"tabBar": { "color": "#8a8a8a", "selectedColor": "#ffb965", "list": [{ "pagePath": "pages/xiti/xiti", "text": "首页", "iconPath": "images/home-white.png", "selectedIconPath": "images/home-yellow.png" }, { "pagePath": "pages/cepingjieguo/cepingjieguo", "text": "反馈", "iconPath": "images/advice-white.png", "selectedIconPath": "images/advice-yellow .png" }] },
2.将图片导入到images文件夹里