app.json 下面导航栏入口,不好带参数
"tabBar" : {
"color" : "#000000",
"backgroundColor" : "#FFFFFF",
"borderStyle" : "#C3C3C3",
"selectedColor" : "#ff8161",
"list" : [
{
"pagePath" : "pages/index/index",
"text" : "首页",
"iconPath" : "images/common/index.png",
"selectedIconPath" : "images/common/index-s.png"
},
{
"pagePath" : "pages/product/product",//~~~这里不好带参数,即使其他页面由navigateTo进入,也不行,不带参数都不行,导航栏目只有从导航里面进去~~~
"text" : "产品",
"iconPath" : "images/common/p.png",
"selectedIconPath" : "images/common/p-s.png"
},
相信坚持的力量,日复一日的习惯.