一、新建my/my.vue标签页

 

二、pages.json页添加

1、pages

"pages": [ 
        ......
        ,{
            "path" : "pages/my/my",
            "style" : {
                "navigationBarTitleText": "my"
            }
        }
    ],

 

2、tabBar

 

"tabBar": {
        "color": "#7A7E83",
        "selectedColor": "#33A5E0",
        "borderStyle": "black",
        "backgroundColor": "#ffffff",
        "list": [{
            "pagePath": "pages/index/index",
            "iconPath": "static/tabbar/index.png",
            "selectedIconPath": "static/tabbar/index_select.png",
            "text": "主页"
        }, {
            "pagePath": "pages/my/my",
            "iconPath": "static/tabbar/my.png",
            "selectedIconPath": "static/tabbar/my_select.png",
            "text": "我的"
        }]
    }

 

相关文章:

  • 2021-12-07
  • 2021-06-12
  • 2021-09-25
  • 2021-06-22
  • 2021-08-20
  • 2021-08-18
  • 2021-07-21
猜你喜欢
  • 2021-06-15
  • 2021-10-13
  • 2022-02-12
  • 2021-07-31
  • 2021-07-05
  • 2022-02-23
  • 2021-06-19
相关资源
相似解决方案