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

在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": "个人信息"
    }
    
    ]
  

  

posted @ 2016-12-01 11:09  TomCzr  阅读(4215)  评论(0编辑  收藏  举报