如题,哪位知道怎么回事,谢谢!
- 发布:2018-12-24 09:13
- 更新:2019-01-09 12:09
- 阅读:1370
云帆 (作者)
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"
}
]
}
}
}
]
}
天使中的魔鬼
请问下,这个问题最后怎么解决的?
2019-01-10 16:55