view = new plus.nativeObj.View('test',
{top:'0px',left:'0px',height:'44px',width:'100%'},
[{tag:'img',id:'img',src:'nbg.png',position:{top:'0px',left:'0px',width:'100%',height:'100%'}},
{tag:'rect',id:'rect',color:'#FF0000',position:{top:'0px',left:'0px',width:'100%',height:'1px'}},
{tag:'font',id:'font',text:'原生控件',textStyles:{size:'18px'}}
]);
view.show();
TomVision
- 发布:2019-03-18 14:30
- 更新:2019-03-18 22:54
- 阅读:1848
TomVision (作者)
了解了 谢谢
2019-03-19 15:52