1***@qq.com
1***@qq.com
  • 发布:2024-08-07 21:02
  • 更新:2024-08-08 14:30
  • 阅读:289

为什么h5环境中tabbar图标不显示

分类:uni-app

在h5环境中tabbar的图片不显示.但APP端是正常的.

    "tabBar": {  
        "color": "#1D2029",  
        "borderStyle": "",  
        "selectedColor": "#F20041",  
        "backgroundColor": "#F8F8F8",  
        "iconfontSrc": "static/img/iconfont.ttf",  
        "list": [  
            {  
                "text": "推荐",  
                "pagePath": "pages/index/index",  
                "iconPath": "static/img/home.png",  
                "selectedIconPath": "static/img/home_fill.png"  
            },  
            {  
                "text": "诊股",  
                "pagePath": "pages/diagnosis/diagnosis",  
                "iconPath": "static/img/integral.png",  
                "selectedIconPath": "static/img/integral_fill.png"  
            },  
            {  
                "text": "买卖",  
                "pagePath": "pages/business/business",  
                "iconPath": "static/img/service.png",  
                "selectedIconPath": "static/img/service_fill.png"  
            },  
            {  
                "text": "我的",  
                "pagePath": "pages/member/member",  
                "iconPath": "static/img/people.png",  
                "selectedIconPath": "static/img/people_fill.png"  

            }  
        ]  
    },
2024-08-07 21:02 负责人:无 分享
已邀请:
BFC

BFC

你好,我这边测试hello uniapp项目正常, 你可以检查一下浏览器控制台的图片网络请求, 如果还是不行,可以提供一下工程demo,我这边验证一下

  • 9***@qq.com

    怎么联系我也遇到这个问题了

    2024-08-14 10:53

要回复问题请先登录注册