if(subWebview.rightIcon) {
styles.titleNView.buttons = [{
text: subWebview.rightIcon,
float: 'right',
'titleSize': '14px',
"fontSrc": "_www/iconfont/iconfont.ttf",
onclick: function() {
mui.fire(plus.webview.getWebviewById(data.tabbar.subpages[currIndex - 1].url), 'menu')
}
}]
}
'titleSize'设置的值在安卓下无效!
if(subWebview.rightIcon) {
styles.titleNView.buttons = [{
text: subWebview.rightIcon,
float: 'right',
'titleSize': '20px',
"fontSrc": "_www/iconfont/iconfont.ttf",
onclick: function() {
mui.fire(plus.webview.getWebviewById(data.tabbar.subpages[currIndex - 1].url), 'menu')
}
}]
}
枫桥居APP (作者)
解决了,谢谢
2017-10-17 14:26