apicloud APP内部打开H5页面

apicloud APP内部打开H5页面

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

你可能感兴趣的:(apicloud)