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 @   洛飞  阅读(3)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 单线程的Redis速度为什么快?
· 展开说说关于C#中ORM框架的用法!
· Pantheons:用 TypeScript 打造主流大模型对话的一站式集成库
· SQL Server 2025 AI相关能力初探
· 为什么 退出登录 或 修改密码 无法使 token 失效
点击右上角即可分享
微信分享提示