tabBar导航菜单代码

"tabBar": {     "color": "#999",     "selectedColor": "#ff2d4a",     "backgroundColor": "#fafafa",     "list": [       {         "pagePath": "pages/index/index",         "text": "首页",         "iconPath": "icons/home.png",         "selectedIconPath": "icons/home-o.png"       },        {         "pagePath": "pages/category/index",         "text": "分类",         "iconPath": "icons/category.png",         "selectedIconPath": "icons/category-o.png"       },       {         "pagePath": "pages/cart/index",         "text": "购物车",         "iconPath": "icons/cart.png",         "selectedIconPath": "icons/cart-o.png"       },       {         "pagePath": "pages/auth/index",         "text": "我的",         "iconPath": "icons/my-1.png",         "selectedIconPath": "icons/my-o.png"       }     ]   },
上一篇:Flutter仿今日头条TabBar


下一篇:【微信小程序开发(8)---导航组件 navigator 页面跳转 open-type、 target 、 URl等属性应用】