Skip to content

基于chameleon 前端框架,封装跨端的tabbar

Notifications You must be signed in to change notification settings

smwsk/cml-tabbar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cml-tabbar

  • 在线效果

    H5效果在线地址
  • 效果截图

    H5效果 微信小程序效果 支付宝小程序效果 百度小程序效果
    H5效果 微信小程序效果 支付宝小程序效果 百度小程序效果
  • 使用方法

    修改项目中constant目录的index.js文件
    export const tabbarList = [
      {
        "content": "主页",
        "info" : [require("../assets/icon/home/home_normal.png"),require("../assets/icon/home/home_show.png")],
        "componentName" : "home"
      },
      {
        "content": "类别",
        "info" : [require("../assets/icon/type/type_normal.png"),require("../assets/icon/type/type_show.png")],
        "componentName" : "type"
      },
      {
        "content": "个人",
        "info" : [require("../assets/icon/my/my_normal.png"),require("../assets/icon/my/my_show.png")],
        "componentName" : "my"
      }
    ]
    
    content: 代表 tarbar的名称
    info: 代表数组的第一个代表正常情况下的图片地址,第二个代表点击显示的图片地址
    componentName: 代表点击显示的组件名称
    

About

基于chameleon 前端框架,封装跨端的tabbar

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published