api.openFrame({
name: 'webpage_frame',
url: 'H5页面地址',
bounces: false,
scrollEnabled: true,
rect: {
x: 0,
y: document.querySelector(".mui-bar").offsetHeight,
w: 'auto',
h: 'auto'
},
progress:{ //顶部进度调样式
type:"page",
color:"#f6a820"
}
});
api.addEventListener({
name: 'keyback'
}, function(ret, err){
api.closeWin();
|