[ ]注释
uni官网 https://uniapp.dcloud.io/ tabBar里面的下面代码 代码示例 是:页数
页面切换图标官网 https://www.iconfont.cn/
"tabBar": {
"color": "#7A7E83", [tab 上的文字默认颜色]
"selectedColor": "#3cc51f", [tab 上的文字选中时的颜色]
"borderStyle": "black", [tabbar 上边框的颜色]
"backgroundColor": "#ffffff", [窗口的背景色]
"list": [{
"pagePath": "pages/component/index", [要引入的页面地址]
"iconPath": "static/image/icon_component.png", [没点击的图标]
"selectedIconPath": "static/image/icon_component_HL.png", [点击过后的图标]
"text": "组件" [换成页面名字]
}, {
"pagePath": "pages/API/index", [要引入的页面地址]
"iconPath": "static/image/icon_API.png", [没点击的图标]
"selectedIconPath": "static/image/icon_API_HL.png", [点击过后的图标]
"text": "接口" [换成页面名字]
}]
}
uni官网 https://uniapp.dcloud.io/component/README 组件 里面轮播啥都有