Dsanys
Dsanys
  • 发布:2021-05-19 09:31
  • 更新:2021-05-19 09:31
  • 阅读:1544

uniapp 开发小程序 tabbar的iconpath 不显示

分类:uni-app

在H5浏览器上iconptah 和selectedIconPath 都不显示,在小程序开发者工具中只显示selectedIconPath。iconpath不显示请问是什么情况。

"tabBar":{  
        "color": "#8a8a8a",  
        "selectedColor": "#ff0000",  
        "borderStyle": "black",  
        "backgroundColor": "#ffffff",  
        "list":[{  
                "text":"首页",  
                "iconpath":"static/images/homepage.png",  
                "pagePath": "pages/index/index",  
                "selectedIconPath":"static/images/homepage-sel.png"  
            },{  
                "text":"报名",  
                "iconpath":"static/images/sign.png",  
                "pagePath": "pages/sign/index",  
                "selectedIconPath":"static/images/sign-sel.png"  
            }  
            ,{  
                "text":"培训",  
                "iconpath":"static/images/study.png",  
                "pagePath": "pages/study/index",  
                "selectedIconPath":"static/images/study-sel.png"  
            },{  
                "text":"我的",  
                "iconpath":"./static/images/my.png",  
                "pagePath": "pages/member/index/index",  
                "selectedIconPath":"./static/images/my-sel.png"  
            },{  
                "text":"测试",  
                "iconpath":"./static/images/my.png",  
                "pagePath": "pages/index/demo",  
                "selectedIconPath":"./static/images/my-sel.png"  
            }]  
    }//tabbar end
2021-05-19 09:31 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复