document.addEventListener('plusready', function() {
nw = plus.nativeObj.View({
subNViews: [{
id: 'subnview1',
styles: {
top: '0px',
height: '100px',
backgroundColor: '#FF0000'
},
tags: [{
tag: 'font',
id: 'font',
text: '原生子View控件',
textStyles: {
size: '18px'
}
}]
}]
});
plus.webview.currentWebview().append(nw);
});
1***@qq.com
- 发布:2018-07-05 17:53
- 更新:2018-07-05 17:53
- 阅读:918
0 个回复