tabbar配置

tabbar在app.json中进行配置

  "tabBar": {
    "color": "#000000",
    "selectedColor": "#000000",
    "backgroundColor": "#000000",
    "list": [{
      "pagePath": "pages/index/index",
      "text": "首页",
      "iconPath": "/images/icon_component.png",
      "selectedIconPath": "/images/icon_component_HL.png"
    }, {
      "pagePath": "pages/register/register",
      "text": "我的",
      "iconPath": "/images/icon_API.png",
      "selectedIconPath": "/images/icon_API_HL.png"
    }]
  },

 

posted @ 2025-02-10 10:54  洛飞  阅读(21)  评论(0)    收藏  举报