开发者工具tabbar显示有问题
发布于 6 年前 作者 qiangwei 9795 次浏览 来自 官方Issues
export default {
    pages: ['pages/index/index''pages/intros/index'],
    sitemapLocation'sitemap.json',
    window: {
        backgroundTextStyle'light',
        navigationBarBackgroundColor'#fff',
        navigationBarTitleText'WeChat',
        navigationBarTextStyle'black'
    },
    tabBar: {
        list: [
            {
                pagePath'pages/index/index',
                iconPath'assets/note.png'
                // text:'笔记'
            },
            {
                pagePath'pages/intros/index',
                iconPath'assets/user.png'
                // text:'用户'
            }
        ]
    }
}

这是Taro的代码,配置。

2 回复

开发工具只是模拟,请以真机为准,况且,字体大小开发又调不了。

不觉得这是个值得提出并让官方修复的问题

回到顶部