⼩程序设置tabBar选中颜⾊和图标{
"pages":[
"pages/index/index",
"pages/logs/logs"
],
"window":{
"backgroundTextStyle":"light",
"navigationBarBackgroundColor": "#000",
"navigationBarTitleText": "⾸页",
"navigationBarTextStyle":"white"//只能black和white
},
"tabBar": {
"list": [
{
"pagePath": "pages/index/index",//跳转路径
"selectedIconPath": "img/home2.png",//选中时候展⽰icon
"iconPath": "img/home1.png",//默认展⽰icon
"text": "⾸页"
},
{
"pagePath": "pages/logs/logs",
"selectedIconPath": "img/part2.png",
"iconPath": "img/part1.png",
"text": "分类"
},
{
selectediconpath什么意思"pagePath": "pages/logs/logs",
"selectedIconPath": "img/mine2.png",
"iconPath": "img/mine1.png", "text": "我的"
}
]
},
"style": "v2",
"sitemapLocation": "sitemap.json" }
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论