zoukankan      html  css  js  c++  java
  • 小程序 设置tabBar选中颜色和图标

    "tabBar": {
    
      "selectedColor": "#4da9ff", //颜色
    
      "list": [{
    
        "pagePath": "homepage/homepage/homepage",
    
        "text": "首页",
    
        "iconPath": "images/homepage_off.png",
    
        "selectedIconPath": "images/homepage_on.png" //选中图标
    
      },
    
      {
    
        "pagePath": "recruit/recruit/recruit",
    
        "text": "招聘项目",
    
        "iconPath": "images/recruit_off.png",
    
        "selectedIconPath": "images/recruit_on.png"
    
      },
    
      {
    
        "pagePath": "person/person/person",
    
        "text": "个人中心",
    
        "iconPath": "images/person_off.png",
    
        "selectedIconPath": "images/person_on.png"
    
      }]
    
    }
  • 相关阅读:
    我的第一篇博客
    文献笔记5
    文献笔记4
    文献笔记8
    文献笔记6
    文献笔记10
    文献笔记7
    文献笔记1
    文献笔记2
    文献笔记3
  • 原文地址:https://www.cnblogs.com/linjiangxian/p/11457456.html
Copyright © 2011-2022 走看看