云帆
云帆
  • 发布:2018-12-24 09:13
  • 更新:2019-01-09 12:09
  • 阅读:1370

web2app 底部导航选项卡,真机调试正常,云打包就变成一条空白,无图无字

分类:wap2app

如题,哪位知道怎么回事,谢谢!

2018-12-24 09:13 负责人:无 分享
已邀请:
回梦無痕

回梦無痕 - 暂停服务

请上代码

云帆

云帆 (作者)

client_index.html

<body>  
<script>  
    new TabBar({  
        list: [{  
            url: "https://v.whatever.com/",  
            text: "首页",  
            iconPath: 'https://v.whatever.com/static/icons/home1.png',  
            selectedIconPath: 'https://v.whatever.com/static/icons/home.png'  
        }, {  
            url: "https://v.whatever.com/specials",  
            text: "专辑",  
            iconPath: 'https://v.whatever.com/static/icons/education1.png', //本地图标  
            selectedIconPath: 'https://v.whatever.com/static/icons/education.png'  
        }, {  
            url: "https://v.whatever.com/category",  
            text: "分类",  
            iconPath: 'https://v.whatever.com/static/icons/applications2.png',//网络图标  
            selectedIconPath: 'https://v.whatever.com/static/icons/applications.png'  
        }, {  
            url: "https://v.whatever.com/history",  
            text: "历史",  
            iconPath: 'https://v.whatever.com/static/icons/history1.png',//网络图标  
            selectedIconPath: 'https://v.whatever.com/static/icons/history.png'  
        }, {  
            url: "http://v.whatever.com/database",  
            text: "设置",  
            iconPath: 'https://v.whatever.com/static/icons/settings1.png',//网络图标  
            selectedIconPath: 'https://v.whatever.com/static/icons/settings.png'  
        }]  
    });  
</script>  
    </body>
云帆

云帆 (作者)

site_map.json

{  
    "global": {  
        "webviewParameter": {  
            "titleNView": {  
                "autoBackButton": true,  
                "backgroundColor": "#f7f7f7",//导航栏背景色  
                "titleColor": "#000000",//标题颜色  
                "titleSize": "17px"  
            },  
            "statusbar": {  
                //系统状态栏样式(前景色)  
                "style": "dark"  
            },  
            "appendCss": "",  
            "appendJs": ""  
        },  
        "easyConfig": {}  
    },  
    "pages": [  
        {  
            "webviewId": "__W2A__v.whatever.com",//首页  
            "matchUrls": [  
                {  
                    "href": "https://v.whatever.com"  
                }, {  
                    "href": "https://v.whatever.com/"  
                }  
            ],  
            "webviewParameter": {  
                "titleNView": false,  
                "statusbar": {  
                    //状态条背景色,  
                    //首页不使用原生导航条,颜色值建议和global->webviewParameter->titleNView->backgroundColor颜色值保持一致  
                    //若首页启用了原生导航条,则建议将首页的statusbar配置为false,这样状态条可以和原生导航条背景色保持一致;  
                    "background": "#f7f7f7"  
                },  
                        "tabBar": {  
                    "height": "50px",  
                    "list": [  
                        {  
                    "url": "https://v.whatever.com/"  

                }, {  
                    "url": "https://v.whatever.com/specials"  

                }, {  
                    "url": "https://v.whatever.com/category"  

                }, {  
                    "url": "http://v.whatever.com/history"  

                }, {  
                    "url": "http://v.whatever.com/database"  

                }  
                    ]  
                }  
            }  
        }  
    ]  
}
天使中的魔鬼

天使中的魔鬼 - 这家伙很懒什么都没有留下

哥们 解决了这个问题吗?

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