
作用:分页面
1、想好中文名字、英文名字
2、未点击的图片,建议尺寸为 81px 81px
3、点击的图片,建议尺寸为 81px 81px
4、pages下新建一个page
上面加上英文逗号分隔
app.js
{"pages": ["pages/index/index", //最先显示的页排第一],"tabBar": {"selectedColor": "#1296db","list": [{"pagePath": "pages/index/index","text": "首页","iconPath": "images/ico-home.png","selectedIconPath": "images/ico-home-d.png"},{"pagePath": "pages/setting/setting","text": "设置","iconPath": "images/ico-setting.png","selectedIconPath": "images/ico-setting-d.png"},{"pagePath": "pages/help/help","text": "帮助","iconPath": "images/ico-help.png","selectedIconPath": "images/ico-help-d.png"}]}}