zoukankan      html  css  js  c++  java
  • tabbar 设置样式

    app.json配置文件中,使用时需要把注释删除,配置文件不支持备注

    tabbar:{

      color:'#fff',//字体颜色  需要时HexColor,设置成red 无法识别,下方颜色设置同理

      selectedColor:"#000",

      borderStyle:'black',//仅支持black/light

      backgroundColor:'#333'//设置背景颜色

      position:'bottom',//可选值 bottom、top

      list:{

      pagePath:'',//页面路径,必须在 pages 中先定义

      iconPath:'',//图片路径,icon 大小限制为40kb,建议尺寸为 81px * 81px,当 postion 为 top 时,此参数无效

      text:'',//tab上的文字

      selectedIconPath:''//选中状态图片路径,icon 大小限制为40kb,建议尺寸为 81px * 81px,当 postion 为 top 时,此参数无效

      }

    }

  • 相关阅读:
    optparse--强大的命令行参数处理包
    B/S和C/S架构的区别
    Document
    Document
    Document
    Document
    Document
    Document
    Document
    Document
  • 原文地址:https://www.cnblogs.com/xiaofenguo/p/9956777.html
Copyright © 2011-2022 走看看