问答详情
源自:2-4 配置文件JSON

老师,我的底部导航栏怎么不出来呢/苦恼


"tarBar": {

"list": [{

"pagePath": "pages/base/base",

"text" :"基础",

"iconPath":

"images/base.png",

"selectedIconPath":

"images/base-actived.png"

},{

"pagePath": "pages/cloud/cloud",

"text": "云开发",

"iconPath":

"images/cloud.png",

"selectedIconPath":

"images/cloud-actived.png"

}]

}

}


提问者:慕移动5348716 2019-09-16 15:42

个回答

  • 慕移动5348716
    2019-09-17 20:12:04

    谢老师



  • 谢成
    2019-09-16 16:52:51

    应该是tabBar,不是tarBar:

    http://img4.mukewang.com/5d7f4d120001c8fa07240832.jpg

  • 怡依依
    2019-09-16 16:52:08

    tarBar应该是tabBar