/打开网页xinweb/
function xinweb(url, id) {
var styles = {};
var zx=plus.webview.create(url, id, {
scalable: 'true',
bounce: 'vertical',
videoFullscreen: 'landscape-primary',
backButtonAutoControl: 'close',
cachemode: 'cacheElseNetwork',
scrollIndicator: 'none',
popGesture: 'close',
statusbar: {
background: '#ffd000',
statusbarstyle : 'light', /黑dark白light/
},
titleNView: {
backgroundColor: '#ffd000',
titleText: '',
titleColor: '#333',
autoBackButton: true,
backButton: {
badgeText: '返回',
badgeColor: '#333',
badgeBackground: '#ffd000',
float: 'left',
},
progress: {
color: '#dca800',
},
}
}, styles);
zx.show('slide-in-right');
zx.setCssFile('_www/css/zhw-new.css');
zx.appendJsFile('_www/js/mui.min.js');
zx.appendJsFile('_www/js/zhxx.js');
zx.appendJsFile('_www/js/downimg.js');
};
同上,也是这个问题,求解答?可付费解答
2 个回复
[已删除]
解决了吗?
租号秀
/打开网页xinweb/
function xinweb(url, id) {
var styles = {};
var zx=plus.webview.create(url, id, {
scalable: 'true',
bounce: 'vertical',
videoFullscreen: 'landscape-primary',
backButtonAutoControl: 'close',
cachemode: 'cacheElseNetwork',
scrollIndicator: 'none',
popGesture: 'close',
statusbar: {
background: '#ffd000',
statusbarstyle : 'light', /黑dark白light/
},
titleNView: {
backgroundColor: '#ffd000',
titleText: '',
titleColor: '#333',
autoBackButton: true,
backButton: {
badgeText: '返回',
badgeColor: '#333',
badgeBackground: '#ffd000',
float: 'left',
},
progress: {
color: '#dca800',
},
}
}, styles);
zx.show('slide-in-right');
zx.setCssFile('_www/css/zhw-new.css');
zx.appendJsFile('_www/js/mui.min.js');
zx.appendJsFile('_www/js/zhxx.js');
zx.appendJsFile('_www/js/downimg.js');
};
同上,也是这个问题,求解答?可付费解答