微信小程序 关于底部导航设置

在app.json 中添加

 "tabBar": {
"color":"#ffffff",
"borderStyle":"white",
"selectedColor":"#d81e06",
"backgroundColor":"#245685",
"list": [{
"pagePath": "pages/index/index", //跳转链接
"text": "首页", //显示名字
"iconPath":"/images/gprs_1.png", //默认图片
"selectedIconPath":"/images/gprs_2.png" //选中图片 }, {
"pagePath": "pages/logs/logs",
"text": "地图"
}, {
"pagePath": "pages/user_info/user_info",
"text": "个人信息"
} ]
  

  

上一篇:c# ListBox控件


下一篇:用Vue实现一个全选指令