配置:
"statusbar": {
"immersed": true,
"style": "dark"
}
"titleNView": {
"backgroundcolor": "#FFFFFF",
"titletext": "自在装",
"titlecolor": "#333333",
"type": "transparent"
}
标题后期绘制追加
var titleView = self.getTitleNView();
titleView.drawText('贵阳',{top:'10px',left:'10px',width:'30px',height:'18px'},{align:'center'},'province',{type: 'transparent'});
绘制出的“ 贵阳 ”没有随着标题栏渐变显示和透明消失,希望官方尽快支持这一功能。
0 个回复