1***@qq.com
1***@qq.com
  • 发布:2018-07-05 17:53
  • 更新:2018-07-05 17:53
  • 阅读:918

如何在当前页面显示

分类:HBuilder

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);
});

2018-07-05 17:53 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复