问题 ,标题重复
代码如下:
{
"global": {
"webviewParameter": {
"titleNView": {false
"autoBackButton": true,
"backgroundColor": "#f7f7f7",//导航栏背景色
"titleColor": "#f7f7f7",//标题颜色
"titleSize": "17px"
},
"statusbar": {
//系统状态栏样式(前景色)
"style": "dark"
},
"appendCss": "",
"appendJs": ""
},
"easyConfig": {}
},
"pages": [
{
"webviewId": "W2Awww.ddcxh.com",//首页
"matchUrls": [
{
"href": "https://www.ddcxh.com"
}, {
"href": "https://www.ddcxh.com/"
}
],
"webviewParameter": {
"titleNView": false,
"statusbar": {
//状态条背景色,
//首页不使用原生导航条,颜色值建议和global->webviewParameter->titleNView->backgroundColor颜色值保持一致
//若首页启用了原生导航条,则建议将首页的statusbar配置为false,这样状态条可以和原生导航条背景色保持一致;
"background": "#f7f7f7"
}
}
}
]
}
3 个回复
小灬绿谷
{
"global": {
"webviewParameter": {
"titleNView": false,
"statusbar": {
"style": "dark"
},
"appendCss": "",
"appendJs": ""
},
"easyConfig": { }
},
"pages": [
{
"webviewId": "W2Awww.ddcxh.com",
"matchUrls": [
{
"href": "https://www.ddcxh.com"
},
{
"href": "https://www.ddcxh.com/"
}
],
"webviewParameter": {
"titleNView": false,
"statusbar": {
"background": "#f7f7f7"
}
}
},
{
"webviewId": "ty",
"matchUrls": [
{
"hostname": "R:.",
"pathname": "R:."
}
]
}
]
}
逗逗水
可参考文章: 禁用原生标题栏
[已删除]
配置里就可以,实在不懂可以联系我