Nothing replaces hard work.

纸上得来终觉浅,绝知此事要躬行❤

微信小程序: 导航栏样式、tabBar导航栏

在 app.json中:

 "tabBar": {
    "selectedColor": "#1296db",
    "list": [
      {
        "pagePath": "pages/before/before_first",
        "text": "社区",
        "iconPath": "images/icon-talk.png",
        "selectedIconPath": "images/icon-talk-d.png"
      },
      {
        "pagePath": "pages/index/index",
        "text": "SOS",
        "iconPath": "images/icon-alert.png",
        "selectedIconPath": "images/icon-alert-d.png"
      },
      {
        "pagePath": "pages/logs/logs",
        "text": "个人中心",
        "iconPath": "images/icon-person.png",
        "selectedIconPath": "images/icon-person-d.png"
      }
    ]
  }

这里写图片描述

阅读更多
个人分类: 微信小程序
上一篇数字(???)
下一篇tabbar实现
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭