plus.webview.create( "xxx.html", //打开页面地址 "xxx", //打开页面id值 { //窗口样式 '100%', height: '100%', left: '0px', right: '0px', top: '0px', bottom: '0px', zindex: 0, margin: 'auto', background: '', opacity: 1, mask: 'none', //窗口的遮罩.用于设置Webview窗口的样式, bounce: 'vertical', //窗口遇到边框是否有反弹效果.none:没有反弹效果.vertical:垂直方向有反弹效果.horizontal:水平方向有反弹效果.all:垂直和水平方向都有反弹效果.默认:none. bounceBackground: '', popGesture: 'close', scrollIndicator: 'none', scrollsToTop: true, scalable: false, softinputMode: '', statusbar: { background: '#fff' }, subNViews: [ { id: '', type: '', styles: { backgroundColor: '', bottom: '', dock: '', height: '', '', top: '', left: '', opacity: '', position: '', statusbar: { background: '', } } } ], titleNView: { autoBackButton: '', backgroundColor: '', buttons: [ { color: '', colorPressed: '', float: '', fontWeight: '', fontSize: '', fontSrc: '', onclick: '', text: '' } ], coverage: '', progress: { color: '', height: '', }, splitLine: { color: '', height: '', }, titleColor: '', titleOverflow: '', titleText: '', titleSize: '', type: '' }, transition: { property: 'all', duration: '0', timingfunction: 'ease-in-out', }, transform: { property: 'all', duration: '0', timingfunction: 'ease-in-out', }, position: '', errorPage: 'none', additionalHttpHeaders: {}, animationOptimization: 'auto', cachemode: 'default', backButtonAutoControl: 'close', blockNetworkImage: false, decelerationRate: 0.989, dock: 'top', replacewebapi: { geolocation: "auto" }, hardwareAccelerated: '', kernel: 'UIWebview', plusrequire: 'normal', render: 'onscreen', videoFullscreen: 'auto', } );